summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols_mpls.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-03-29 11:21:36 +0100
committerGitHub <noreply@github.com>2025-03-29 11:21:36 +0100
commit55abc8214574d7098cceba39c347bf98e02d370a (patch)
tree846249af0b24d83b677c77f2bdf4469a9cb2030d /interface-definitions/protocols_mpls.xml.in
parent3306de1c89388825576b51130ede2018c98aedda (diff)
parentc11daec3b06aaeaa0647fa13a3375e422b54735c (diff)
downloadvyos-1x-55abc8214574d7098cceba39c347bf98e02d370a.tar.gz
vyos-1x-55abc8214574d7098cceba39c347bf98e02d370a.zip
Merge pull request #4416 from sever-sever/T7286
T7286: Add CLI option to disable LDP establish packets
Diffstat (limited to 'interface-definitions/protocols_mpls.xml.in')
-rw-r--r--interface-definitions/protocols_mpls.xml.in24
1 files changed, 23 insertions, 1 deletions
diff --git a/interface-definitions/protocols_mpls.xml.in b/interface-definitions/protocols_mpls.xml.in
index 831601fc6..fc1864f38 100644
--- a/interface-definitions/protocols_mpls.xml.in
+++ b/interface-definitions/protocols_mpls.xml.in
@@ -524,7 +524,29 @@
</node>
</children>
</node>
- #include <include/generic-interface-multi.xml.i>
+ <tagNode name="interface">
+ <properties>
+ <help>Interface</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces</script>
+ </completionHelp>
+ <valueHelp>
+ <format>txt</format>
+ <description>Interface name</description>
+ </valueHelp>
+ <constraint>
+ #include <include/constraint/interface-name.xml.i>
+ </constraint>
+ </properties>
+ <children>
+ <leafNode name="disable-establish-hello">
+ <properties>
+ <help>Disable response to hello packet with an additional hello LDP packet</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </tagNode>
</children>
</node>
<node name="parameters">