summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-08-17 12:13:26 +0200
committerGitHub <noreply@github.com>2023-08-17 12:13:26 +0200
commitd4e9652083ce5fc0dda9a2714231cdffe58b33f3 (patch)
treeda2965221346c1c0b820f698764eb3052ab29190 /interface-definitions
parent65ea7cef9fe922581e286bc539c4dc1e223c9d32 (diff)
parent77ef9f800421d65f90f953ca4d75d0f996ed2e3d (diff)
downloadvyos-1x-d4e9652083ce5fc0dda9a2714231cdffe58b33f3.tar.gz
vyos-1x-d4e9652083ce5fc0dda9a2714231cdffe58b33f3.zip
Merge pull request #2152 from fett0/T5466
T5466: L3VPN label allocation mode
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/bgp/afi-label.xml.i13
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/afi-label.xml.i b/interface-definitions/include/bgp/afi-label.xml.i
index 9535d19e8..8d5c33864 100644
--- a/interface-definitions/include/bgp/afi-label.xml.i
+++ b/interface-definitions/include/bgp/afi-label.xml.i
@@ -29,6 +29,19 @@
</constraint>
</properties>
</leafNode>
+ <node name="allocation-mode">
+ <properties>
+ <help>Label allocation mode</help>
+ </properties>
+ <children>
+ <leafNode name="per-nexhop">
+ <properties>
+ <help>Allocate a label per connected next-hop in the VRF</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
</children>
</node>
</children>