openconfig/public

'Current VRRP state' operational information cannot be fetched through the openconfig-if-ip model because it is not modelled.

Opened this issue · 0 comments

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