mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-03 22:33:02 +02:00
ietf-routing: Add limitation on supported routing-protocols
Only OSPFv3 and Static routes is currently allowed in infix.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user