VRRP a first hop redundancy protocol is under openconfig-if-ip model.
/interfaces/interface/subinterfaces/subinterface/oc-ip:ipv4/oc-ip:addresses/oc-ip:address/oc-ip:vrrp/interfaces/interface/subinterfaces/subinterface/oc-ip:ipv6/oc-ip:addresses/oc-ip:address/oc-ip:vrrp
Currently, using openconfig-if-ip model, we will not be able to fetch the current vrrp state of a router.
It can be modeled as an enumeration with possible values {INITIALIZE, BACKUP, MASTER}
The new nodes xpaths can be like:
/interfaces/interface/subinterfaces/subinterface/oc-ip:ipv4/oc-ip:addresses/oc-ip:address/oc-ip:vrrp/oc-ip:vrrp-group/oc-ip:state/oc-ip:vrrp-state
This issue is stale because it has been open 180 days with no activity. If you wish to keep this issue active, please remove the stale label or add a comment, otherwise will be closed in 14 days.
VRRP a first hop redundancy protocol is under openconfig-if-ip model.
/interfaces/interface/subinterfaces/subinterface/oc-ip:ipv4/oc-ip:addresses/oc-ip:address/oc-ip:vrrp
/interfaces/interface/subinterfaces/subinterface/oc-ip:ipv6/oc-ip:addresses/oc-ip:address/oc-ip:vrrp
Routers using VRRP will have a state - [Init, Backup, Master]. Refer https://datatracker.ietf.org/doc/html/rfc5798#section-6.4
Currently, using openconfig-if-ip model, we will not be able to fetch the current vrrp state of a router.
It can be modeled as an enumeration with possible values {INITIALIZE, BACKUP, MASTER}
The new nodes xpaths can be like:
/interfaces/interface/subinterfaces/subinterface/oc-ip:ipv4/oc-ip:addresses/oc-ip:address/oc-ip:vrrp/oc-ip:vrrp-group/oc-ip:state/oc-ip:vrrp-state
/interfaces/interface/subinterfaces/subinterface/oc-ip:ipv4/oc-ip:addresses/oc-ip:address/oc-ip:vrrp/oc-ip:vrrp-group/oc-ip:state/oc-ip:vrrp-state