Skip to content

Commit 9f8027b

Browse files
authored
Merge pull request #18524 from donaldsharp/eigrp_limit_asn_vrf
yang: Limit eigrp to just 1 instance per vrf
2 parents ec1fcc1 + 749dc0c commit 9f8027b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yang/frr-eigrpd.yang

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ module frr-eigrpd {
112112
list instance {
113113
key "asn vrf";
114114
description "EIGRP autonomous system instance";
115-
115+
must "count(../instance[vrf =current()/vrf]) = 1";
116116
leaf asn {
117117
type autonomous-system;
118118
description "Autonomous System Number";

0 commit comments

Comments
 (0)