From f7688027d8e4809f35d5858856e6f3ae8e129cca Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 8 Apr 2020 10:17:24 -0400 Subject: [PATCH] yang: Temp change interface type to string to allow configuration Temporarily change the interface types in rip and ripng to strings to allow us to work, since the yang uplift to 1.0 is proving difficult. Signed-off-by: Donald Sharp sharpd@cumulusnetworks.com> --- yang/frr-ripd.yang | 6 +++--- yang/frr-ripngd.yang | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/yang/frr-ripd.yang b/yang/frr-ripd.yang index 7318eb18d7..12c72b39b5 100644 --- a/yang/frr-ripd.yang +++ b/yang/frr-ripd.yang @@ -118,7 +118,7 @@ module frr-ripd { "Enable RIP on the specified IP network."; } leaf-list interface { - type frr-interface:interface-ref; + type string; description "Enable RIP on the specified interface."; } @@ -179,14 +179,14 @@ module frr-ripd { } leaf-list passive-interface { when "../passive-default = 'false'"; - type frr-interface:interface-ref; + type string; description "A list of interfaces where the sending of RIP packets is disabled."; } leaf-list non-passive-interface { when "../passive-default = 'true'"; - type frr-interface:interface-ref; + type string; description "A list of interfaces where the sending of RIP packets is enabled."; diff --git a/yang/frr-ripngd.yang b/yang/frr-ripngd.yang index 732f32ea50..c58962f5cd 100644 --- a/yang/frr-ripngd.yang +++ b/yang/frr-ripngd.yang @@ -76,7 +76,7 @@ module frr-ripngd { "Enable RIPng on the specified IPv6 network."; } leaf-list interface { - type frr-interface:interface-ref; + type string; description "Enable RIPng on the specified interface."; }