openconfig / public

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

Why allow same VRRP group on multiple IP addresses within an interface? #333

Closed AndreasVoellmy closed 1 month ago

AndreasVoellmy commented 4 years ago

https://github.com/openconfig/public/blob/23c269b2cc6d9d59e4fd5611cd55a9a0c4af3ece/release/models/interfaces/openconfig-if-ip.yang#L1227-L1236

Looking at the schema, it seems that ip-vrrp-top is a collection of vrrp groups, keyed by virtual-router-id, and such a collection can appear underneath each IP address of a sub interface, routed-vlan, etc.

First question: is the IP address under which a VRRP group is located meant to be the virtual IP address for the VRRP group?

Second questions: this schema allows for the same VRRP group (identified by virtual-router-id) to appear under distinct IP addresses of the same interface. This seems surprising. On devices that I have looked at, the vrrp groups are organized directly under the interface, and each vrrp group is assigned a single virtual IP address. So my questions are: is the flexibility of the current model really needed and intended? Are there any devices you can point to that allow this? Or was this a mistake and maybe it would be better to either move the vrrp groups underneath interface (or sub interface etc) or else add some XPATH constraints to the current organization?

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.