summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-mpls.xml.in
diff options
context:
space:
mode:
authorCheeze_It <none@none.com>2020-11-04 12:25:53 -0700
committerCheeze_It <none@none.com>2020-11-04 12:25:53 -0700
commite1174ad59d396d6e96fcbeb7b90bc5a164e3ad5c (patch)
treebec417b789d2e88cb1891f9cdb748979448b1961 /interface-definitions/protocols-mpls.xml.in
parent620271eca13b3535472243f98bca766ed6ec19ed (diff)
downloadvyos-1x-e1174ad59d396d6e96fcbeb7b90bc5a164e3ad5c.tar.gz
vyos-1x-e1174ad59d396d6e96fcbeb7b90bc5a164e3ad5c.zip
mpls-conf: T915: Add TTL security for static LDP neighbors
The commit has to do with the addition of TTL security for LDP neighbors. The code was 90% done by Viascheslav. I modified it a little bit to get it to properly work. We added more parameters to the neighbors dynamic loop. Once this is merged then we should be able to add more for the dynamic neighbor statements. The way that this works is to have either TTL disabled, or to add the amount of hops accepted for the neighbor.
Diffstat (limited to 'interface-definitions/protocols-mpls.xml.in')
-rw-r--r--interface-definitions/protocols-mpls.xml.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/interface-definitions/protocols-mpls.xml.in b/interface-definitions/protocols-mpls.xml.in
index 94ece8d45..38c553489 100644
--- a/interface-definitions/protocols-mpls.xml.in
+++ b/interface-definitions/protocols-mpls.xml.in
@@ -43,6 +43,22 @@
<help>Peer password</help>
</properties>
</leafNode>
+ <leafNode name="ttl-security">
+ <properties>
+ <help>Neighbor TTL security</help>
+ <completionHelp>
+ <list>disable</list>
+ </completionHelp>
+ <valueHelp>
+ <format>&lt;1-254&gt;</format>
+ <description>TTL</description>
+ </valueHelp>
+ <valueHelp>
+ <format>disable</format>
+ <description>Disable neighbor TTL security</description>
+ </valueHelp>
+ </properties>
+ </leafNode>
</children>
</tagNode>
<node name="discovery">