Skip to content

Commit c874343

Browse files
committed
YANG: infix-routing: Fix YANG schema validation
Schema node "type" for parent "/ietf-routing:routing/control-plane-protocols/control-plane-protocol/ietf-ospf:ospf" not found; in expr "derived-from-or-self(../../rt:type"
1 parent c56a9f2 commit c874343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/confd/yang/confd/infix-routing.yang

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ module infix-routing {
791791
*/
792792
augment "/rt:routing/rt:control-plane-protocols/rt:control-plane-protocol/"
793793
+ "ospf:ospf/ospf:local-rib/ospf:route" {
794-
when "derived-from-or-self(../../rt:type, 'infix-routing:ospfv2')" {
794+
when "derived-from-or-self(../../../rt:type, 'infix-routing:ospfv2')" {
795795
description
796796
"This augmentation is only valid for OSPFv2.";
797797
}

0 commit comments

Comments
 (0)