openconfig / public

Repository for publishing OpenConfig models, documentation, and other material for the community.
Apache License 2.0
897 stars 656 forks source link

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

Closed abinmathewabraham closed 1 month ago

abinmathewabraham commented 8 months ago

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

github-actions[bot] commented 2 months ago

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.