summaryrefslogtreecommitdiff
path: root/yang/frr-zebra.yang
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2023-07-09 21:44:03 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2023-08-10 18:13:21 +0200
commit7832bbcc30cd770e2f85b0b96fb0a4f09e29095e (patch)
tree1bb30be0c68d4804a1c951ce6078410e8ecd42b3 /yang/frr-zebra.yang
parent8291e3a3138163b169441dbb321b863cb7b6a345 (diff)
zebra, yang: add an mpls leaf to interface
The yang NB API does not handle the mpls configuration on its leaf. Add an mpls leaf to stick to the mpls configuration. - true or false to mean if config - not defined, means no config. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'yang/frr-zebra.yang')
-rw-r--r--yang/frr-zebra.yang6
1 files changed, 6 insertions, 0 deletions
diff --git a/yang/frr-zebra.yang b/yang/frr-zebra.yang
index 7f4254cd41..3c6e45126a 100644
--- a/yang/frr-zebra.yang
+++ b/yang/frr-zebra.yang
@@ -1982,6 +1982,12 @@ module frr-zebra {
"Interface admin status.";
}
+ leaf mpls {
+ type boolean;
+ description
+ "Interface MPLS status.";
+ }
+
leaf bandwidth {
type uint32 {
range "1..100000";