Requested revision
Standard: | 802.1Qcp-2018 | Clause: | 48.6.2 |
Clause title: | YANG data scheme definition for ieee802-dot1q-bridge YANG module |
Rationale for revision
Indexing with port-number type is error prone and non-intuitive.
Proposed text
Change port-ref definition/leaf found within port-map list to use if:interface-ref (or a leafref type to an interface), instead of the using a port-number-type. Using the ietf-interface name would improve the YANG interface's usability. A 'must' statement should be used to limit the if:interface-ref's range, e.g: typedef bridge-port-ref { type if:interface-ref; must "/if:interfaces/if:interface[if:name=current()]/if:type = 'ianaift:ethernetCsmacd'"; }
Impact on existing networks
YANG upgrade on 'ieee802-dot1q-types.yang' will be required.
Originator
Name: | William Zhao | Email: | william.zhao@siemens.com |
Affiliation: | Siemens | ||
Submitted: | 2018-09-25 |