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>
prefix frr-nexthop;
}
+ import frr-interface {
+ prefix frr-interface;
+ }
+
import ietf-inet-types {
prefix inet;
}
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.";
+ }
+ }
}
}
}