]> git.proxmox.com Git - mirror_frr.git/commit - yang/frr-interface.yang
yang: create interface reference type
authorQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 9 Sep 2019 16:59:09 +0000 (16:59 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 10 Sep 2019 20:29:10 +0000 (20:29 +0000)
commitf22b9250853229c93617ffdad139a4762f5f7348
tree7a16186c64ede82b7abdfa07a1ea9b742cc4f19f
parentc0643af64efd384f2bc864cc496350a00d6e81ae
yang: create interface reference type

Instead of copy-pasting a 16 character string type for use as an
interface reference, create a new typedef that leafref's the name node
of an interface. This way the constraints change with the constraints on
an interface name itself, and it's self documenting.

Incidentally ripd and ripngd forgot the 16 character constraint in their
offset-list configs and IS-IS forgot it entirely, so this also fixes
minor bugs.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
yang/frr-eigrpd.yang
yang/frr-interface.yang
yang/frr-isisd.yang
yang/frr-ripd.yang
yang/frr-ripngd.yang