Skip to content

Commit

Permalink
ietf-routing: Add limitation on supported routing-protocols
Browse files Browse the repository at this point in the history
Only OSPFv3 and Static routes is currently allowed in infix.
  • Loading branch information
mattiaswal committed Jan 18, 2024
1 parent b6d802c commit 3b87a07
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/confd/yang/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,16 @@ module infix-routing {
}
}


deviation "/ietf-r:routing/ietf-r:control-plane-protocols/ietf-r:control-plane-protocol/ietf-r:type" {
deviate add {
must "derived-from-or-self(., 'ospf:ospfv2') or "+
"derived-from-or-self(., 'ietf-r:static')" {
description "Only OSPFv2 and Static routes are supported in Infix.";
}
}
}

augment "/ietf-r:routing/ietf-r:control-plane-protocols/ietf-r:control-plane-protocol/ospf:ospf" {
description "ietf-ospf lack the setting to generate a default route";
container default-route-advertise {
Expand Down

0 comments on commit 3b87a07

Please sign in to comment.