summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols_mpls.xml.in
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2025-03-26 10:06:20 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2025-03-29 08:53:19 +0000
commitc11daec3b06aaeaa0647fa13a3375e422b54735c (patch)
treee6731ce94f4b9baf565f3e70f5780eb31775b0e5 /interface-definitions/protocols_mpls.xml.in
parent4871e5bb5b8c3f1cab12fdc36a02ac99902a9eb1 (diff)
downloadvyos-1x-c11daec3b06aaeaa0647fa13a3375e422b54735c.tar.gz
vyos-1x-c11daec3b06aaeaa0647fa13a3375e422b54735c.zip
T7286: Add CLI option to disable LDP establish packets
If a router has not formed an LDP neighbor adjacency yet, it answers all received LDP Hello packets from non-neighbors with new Hello packets. This leads to flooding LDP packets to all routers for each LDP incoming packet. Add configuration option to disable this behavior ``` set protocols mpls ldp interface eth0 disable-establish-hello ```
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">