mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 22:30:43 +00:00
yang: Extend staticd YANG model to support the SRv6 uA behavior
The SRv6 uA behavior is associated with a L3 adjacency. This commit extends the staticd YANG model by adding two leafs `interface` and `next-hop` under the `static-sids` container. This extension allows us to associate an interface and a nexthop when configuring an SRv6 uA SID. Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
This commit is contained in:
parent
feff426771
commit
99742410bf
@ -12,6 +12,10 @@ module frr-staticd {
|
|||||||
prefix frr-nexthop;
|
prefix frr-nexthop;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
import frr-interface {
|
||||||
|
prefix frr-interface;
|
||||||
|
}
|
||||||
|
|
||||||
import ietf-inet-types {
|
import ietf-inet-types {
|
||||||
prefix inet;
|
prefix inet;
|
||||||
}
|
}
|
||||||
@ -240,6 +244,24 @@ module frr-staticd {
|
|||||||
description
|
description
|
||||||
"The VRF name.";
|
"The VRF name.";
|
||||||
}
|
}
|
||||||
|
list paths {
|
||||||
|
key "path-index";
|
||||||
|
leaf path-index {
|
||||||
|
type uint8;
|
||||||
|
description
|
||||||
|
"Path index";
|
||||||
|
}
|
||||||
|
leaf interface {
|
||||||
|
type frr-interface:interface-ref;
|
||||||
|
description
|
||||||
|
"Interface name.";
|
||||||
|
}
|
||||||
|
leaf next-hop {
|
||||||
|
type inet:ip-address;
|
||||||
|
description
|
||||||
|
"Nexthop IP address.";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user