This commit extends the frr-nexthop YANG model by adding the
encapsulation behavior to the SRv6 nexthop.
This change enables daemons to specify one of the encapsulation
behaviors defined in RFC 8986 when configuring a nexthop.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
prefix frr-vrf;
}
+ import ietf-srv6-types {
+ prefix srv6-types;
+ }
+
organization
"FRRouting";
contact
type inet:ipv6-address;
}
}
+ leaf encap-behavior {
+ type identityref {
+ base srv6-types:srv6-headend-type;
+ }
+ description
+ "The SRv6 Headend Behavior for the encap.";
+ }
}
}
container frr-nexthop-group {
prefix frr-vrf;
}
+ import ietf-srv6-types {
+ prefix srv6-types;
+ }
+
organization
"FRRouting";
contact