diff options
author | Cheeze-It <kris4067195@hotmail.com> | 2020-11-11 13:27:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-11 21:27:51 +0100 |
commit | 2e498164218851f1b958c43a7b903849a80b8304 (patch) | |
tree | 37f065f06e911e2f68d75635c407a52abf1553c5 /interface-definitions | |
parent | 7301659a1303669612c7b4120b17ac50a62dbd24 (diff) | |
download | vyos-1x-2e498164218851f1b958c43a7b903849a80b8304.tar.gz vyos-1x-2e498164218851f1b958c43a7b903849a80b8304.zip |
mpls-conf: T915: Add MPLS misc parameters, add LDP misc parameters
This commit has to do with the addition of miscellaneous MPLS parameters, as well as miscellaneous LDP parameters. Per c-po, for miscellaneous options and whatnot that do not fit anywhere we will put them into a specific "parameters" node.
I also did some global linux configuration changes here. We make changes to kernel options "net.mpls.ip_ttl_propagate" and "net.mpls.default_ttl" which should allow the behavior of VyOS to have the same as routers from the big vendors.
I added two LDP options for cisco interoperation TLV and for a dual stack preference.
Lastly, I went through and changes some of the help/description fields in the definitions page because I just felt they weren't uniform and the words seemed to not properly explain what they were doing. I also did some code clean up (or tried to...) with comments and whatnot.
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/protocols-mpls.xml.in | 80 |
1 files changed, 62 insertions, 18 deletions
diff --git a/interface-definitions/protocols-mpls.xml.in b/interface-definitions/protocols-mpls.xml.in index 259289cc8..4df2be4e7 100644 --- a/interface-definitions/protocols-mpls.xml.in +++ b/interface-definitions/protocols-mpls.xml.in @@ -11,15 +11,15 @@ <children> <node name="ldp"> <properties> - <help>LDP options</help> + <help>Label Distribution Protocol (LDP)</help> </properties> <children> <leafNode name="router-id"> <properties> - <help>x.x.x.x Label Switch Router (LSR) id</help> + <help>Label Distribution Protocol (LDP) router ID</help> <valueHelp> <format>ipv4</format> - <description>LSR ipv4 id</description> + <description>LDP IPv4 ID</description> </valueHelp> <constraint> <validator name="ipv4-address"/> @@ -28,10 +28,10 @@ </leafNode> <tagNode name="neighbor"> <properties> - <help>LDP Id of neighbor</help> + <help>LDP neighbor parameters</help> <valueHelp> <format>ipv4</format> - <description>neighbor IPv4 id</description> + <description>Neighbor IPv4 address</description> </valueHelp> <constraint> <validator name="ipv4-address"/> @@ -40,7 +40,7 @@ <children> <leafNode name="password"> <properties> - <help>Peer password</help> + <help>Neighbor password</help> </properties> </leafNode> <leafNode name="ttl-security"> @@ -61,7 +61,7 @@ </leafNode> <leafNode name="session-holdtime"> <properties> - <help>Session ipv4 holdtime</help> + <help>Session IPv4 hold time</help> <valueHelp> <format>15-65535</format> <description>Time in seconds</description> @@ -84,7 +84,7 @@ <children> <leafNode name="hello-ipv4-holdtime"> <properties> - <help>Hello ipv4 holdtime</help> + <help>Hello IPv4 hold time</help> <valueHelp> <format>1-65535</format> <description>Time in seconds</description> @@ -96,7 +96,7 @@ </leafNode> <leafNode name="hello-ipv4-interval"> <properties> - <help>Hello ipv4 interval</help> + <help>Hello IPv4 interval</help> <valueHelp> <format>1-65535</format> <description>Time in seconds</description> @@ -108,7 +108,7 @@ </leafNode> <leafNode name="hello-ipv6-holdtime"> <properties> - <help>Hello ipv6 holdtime</help> + <help>Hello IPv6 hold time</help> <valueHelp> <format>1-65535</format> <description>Time in seconds</description> @@ -120,7 +120,7 @@ </leafNode> <leafNode name="hello-ipv6-interval"> <properties> - <help>Hello ipv6 interval</help> + <help>Hello IPv6 interval</help> <valueHelp> <format>1-65535</format> <description>Time in seconds</description> @@ -132,7 +132,7 @@ </leafNode> <leafNode name="session-ipv4-holdtime"> <properties> - <help>Session ipv4 holdtime</help> + <help>Session IPv4 hold time</help> <valueHelp> <format>15-65535</format> <description>Time in seconds</description> @@ -144,7 +144,7 @@ </leafNode> <leafNode name="session-ipv6-holdtime"> <properties> - <help>Session ipv6 holdtime</help> + <help>Session IPv6 hold time</help> <valueHelp> <format>15-65535</format> <description>Time in seconds</description> @@ -156,7 +156,7 @@ </leafNode> <leafNode name="transport-ipv4-address"> <properties> - <help>Transport ipv4 address</help> + <help>Transport IPv4 address</help> <valueHelp> <format>ipv4</format> <description>IPv4 bind as transport</description> @@ -168,7 +168,7 @@ </leafNode> <leafNode name="transport-ipv6-address"> <properties> - <help>Transport ipv6 address</help> + <help>Transport IPv6 address</help> <valueHelp> <format>ipv6</format> <description>IPv6 bind as transport</description> @@ -223,7 +223,7 @@ </leafNode> <leafNode name="hello-holdtime"> <properties> - <help>Hello holdtime</help> + <help>Hello hold time</help> <valueHelp> <format>1-65535</format> <description>Time in seconds</description> @@ -273,7 +273,7 @@ </leafNode> <leafNode name="hello-holdtime"> <properties> - <help>Hello holdtime</help> + <help>Hello hold time</help> <valueHelp> <format>1-65535</format> <description>Time in seconds</description> @@ -287,6 +287,25 @@ </node> </children> </node> + <node name="parameters"> + <properties> + <help>Label Distribution Protocol (LDP) miscellaneous parameters</help> + </properties> + <children> + <leafNode name="cisco-interop-tlv"> + <properties> + <help>Enable Cisco non-compliant format capability TLV</help> + <valueless/> + </properties> + </leafNode> + <leafNode name="transport-prefer-ipv4"> + <properties> + <help>Prefer IPv4 for TCP peer transport connection</help> + <valueless/> + </properties> + </leafNode> + </children> + </node> <node name="export"> <properties> <help>Export parameters</help> @@ -322,7 +341,7 @@ </node> <leafNode name="interface"> <properties> - <help>Listen interface for LDP</help> + <help>Enable LDP and neighbor discovery on interface</help> <completionHelp> <script>${vyos_completion_dir}/list_interfaces.py</script> </completionHelp> @@ -331,6 +350,31 @@ </leafNode> </children> </node> + <node name="parameters"> + <properties> + <help>Multiprotocol Label Switching (MPLS) miscellaneous parameters</help> + </properties> + <children> + <leafNode name="no-propagate-ttl"> + <properties> + <help>Disable copy of IP TTL to MPLS TTL</help> + <valueless/> + </properties> + </leafNode> + <leafNode name="maximum-ttl"> + <properties> + <help>Maximum TTL for MPLS packets</help> + <valueHelp> + <format>1-255</format> + <description>Maximum hops allowed</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-255"/> + </constraint> + </properties> + </leafNode> + </children> + </node> </children> </node> </children> |