summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-mpls.xml.in
diff options
context:
space:
mode:
authorCheeze_It <none@none.com>2020-11-08 14:41:09 -0700
committerCheeze_It <none@none.com>2020-11-08 14:41:09 -0700
commit9ab26d3ffa870bdcc0310618ff1050804e694440 (patch)
tree3d99e54db9a9d88144cd280639ba620bc7b97253 /interface-definitions/protocols-mpls.xml.in
parented6e1f556b290231f1683a06ec366dbeb4c0776a (diff)
downloadvyos-1x-9ab26d3ffa870bdcc0310618ff1050804e694440.tar.gz
vyos-1x-9ab26d3ffa870bdcc0310618ff1050804e694440.zip
mpls-conf: T915: Add targeted LDP neighbors with parameters
The commit has to do with the addition of targeted LDP neighbors and parameters being added. FRR allows for this functionality and I just wanted to add it. We have basically 4 options that are added. Enabling targeted LDP functionality, the targeted neighbor, the hello interval of targeted sessions, and the hold time of targeted sessions. Both IPv4 and IPv6 has been coded in.
Diffstat (limited to 'interface-definitions/protocols-mpls.xml.in')
-rw-r--r--interface-definitions/protocols-mpls.xml.in107
1 files changed, 107 insertions, 0 deletions
diff --git a/interface-definitions/protocols-mpls.xml.in b/interface-definitions/protocols-mpls.xml.in
index 0255b1275..259289cc8 100644
--- a/interface-definitions/protocols-mpls.xml.in
+++ b/interface-definitions/protocols-mpls.xml.in
@@ -180,6 +180,113 @@
</leafNode>
</children>
</node>
+ <node name="targeted-neighbor">
+ <properties>
+ <help>Targeted LDP neighbor/session parameters</help>
+ </properties>
+ <children>
+ <node name="ipv4">
+ <properties>
+ <help>Targeted IPv4 neighbor/session parameters</help>
+ </properties>
+ <children>
+ <leafNode name="address">
+ <properties>
+ <help>Neighbor/session address</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>Neighbor/session address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
+ <multi/>
+ </properties>
+ </leafNode>
+ <leafNode name="enable">
+ <properties>
+ <help>Accept and respond to targeted hellos</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="hello-interval">
+ <properties>
+ <help>Hello interval</help>
+ <valueHelp>
+ <format>1-65535</format>
+ <description>Time in seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="hello-holdtime">
+ <properties>
+ <help>Hello holdtime</help>
+ <valueHelp>
+ <format>1-65535</format>
+ <description>Time in seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="ipv6">
+ <properties>
+ <help>Targeted IPv6 neighbor/session parameters</help>
+ </properties>
+ <children>
+ <leafNode name="address">
+ <properties>
+ <help>Neighbor/session address</help>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>Neighbor/session address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv6-address"/>
+ </constraint>
+ <multi/>
+ </properties>
+ </leafNode>
+ <leafNode name="enable">
+ <properties>
+ <help>Accept and respond to targeted hellos</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="hello-interval">
+ <properties>
+ <help>Hello interval</help>
+ <valueHelp>
+ <format>1-65535</format>
+ <description>Time in seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="hello-holdtime">
+ <properties>
+ <help>Hello holdtime</help>
+ <valueHelp>
+ <format>1-65535</format>
+ <description>Time in seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
<node name="export">
<properties>
<help>Export parameters</help>