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:
Carmine Scarpitta 2025-02-13 10:51:28 +01:00
parent feff426771
commit 99742410bf

View File

@ -12,6 +12,10 @@ module frr-staticd {
prefix frr-nexthop;
}
import frr-interface {
prefix frr-interface;
}
import ietf-inet-types {
prefix inet;
}
@ -240,6 +244,24 @@ module frr-staticd {
description
"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.";
}
}
}
}
}