]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: [YANG] Route-map inteface forward ref 6149/head
authorSantosh P K <sapk@vmware.com>
Fri, 3 Apr 2020 19:15:20 +0000 (12:15 -0700)
committerSantosh P K <sapk@vmware.com>
Fri, 3 Apr 2020 19:15:20 +0000 (12:15 -0700)
To satisfy forward reference for interface in route-map.
Libyang 0.16 does not support leafref yet.

Signed-off-by: Santosh P K <sapk@vmware.com>
yang/frr-route-map.yang

index eea29733a359b2f91837d8adadec8063b7b6188c..106593d9d386ec45bfb299a3b32b6a68e02901e5 100644 (file)
@@ -210,7 +210,7 @@ module frr-route-map {
             case interface {
               when "./condition = 'interface'";
               leaf interface {
-                type frr-interface:interface-ref;
+                type string;
               }
             }
             case access-list-num {