summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-nhrp.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-30 23:25:20 +0100
committerChristian Breunig <christian@breunig.cc>2024-01-01 09:25:32 +0100
commitc9eaafd9f808aba8d29be73054e11d37577e539a (patch)
treeaeccfda0a305cf6aca41630900e75bd32961a911 /interface-definitions/protocols-nhrp.xml.in
parent2078253176046ea4d07e69caeb7932ea439b5614 (diff)
downloadvyos-1x-c9eaafd9f808aba8d29be73054e11d37577e539a.tar.gz
vyos-1x-c9eaafd9f808aba8d29be73054e11d37577e539a.zip
T5474: establish common file name pattern for XML conf mode commands
We will use _ as CLI level divider. The XML definition filename and also the Python helper should match the CLI node. Example: set interfaces ethernet -> interfaces_ethernet.xml.in set interfaces bond -> interfaces_bond.xml.in set service dhcp-server -> service_dhcp-server-xml.in (cherry picked from commit 4ef110fd2c501b718344c72d495ad7e16d2bd465)
Diffstat (limited to 'interface-definitions/protocols-nhrp.xml.in')
-rw-r--r--interface-definitions/protocols-nhrp.xml.in138
1 files changed, 0 insertions, 138 deletions
diff --git a/interface-definitions/protocols-nhrp.xml.in b/interface-definitions/protocols-nhrp.xml.in
deleted file mode 100644
index d7663c095..000000000
--- a/interface-definitions/protocols-nhrp.xml.in
+++ /dev/null
@@ -1,138 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<interfaceDefinition>
- <node name="protocols">
- <children>
- <node name="nhrp" owner="${vyos_conf_scripts_dir}/protocols_nhrp.py">
- <properties>
- <help>Next Hop Resolution Protocol (NHRP) parameters</help>
- <priority>680</priority>
- </properties>
- <children>
- <tagNode name="tunnel">
- <properties>
- <help>Tunnel for NHRP</help>
- <constraint>
- <regex>tun[0-9]+</regex>
- </constraint>
- <valueHelp>
- <format>tunN</format>
- <description>NHRP tunnel name</description>
- </valueHelp>
- </properties>
- <children>
- <leafNode name="cisco-authentication">
- <properties>
- <help>Pass phrase for cisco authentication</help>
- <valueHelp>
- <format>txt</format>
- <description>Pass phrase for cisco authentication</description>
- </valueHelp>
- <constraint>
- <regex>[^[:space:]]{1,8}</regex>
- </constraint>
- <constraintErrorMessage>Password should contain up to eight non-whitespace characters</constraintErrorMessage>
- </properties>
- </leafNode>
- <tagNode name="dynamic-map">
- <properties>
- <help>Set an HUB tunnel address</help>
- <valueHelp>
- <format>ipv4net</format>
- <description>Set the IP address and prefix length</description>
- </valueHelp>
- </properties>
- <children>
- <leafNode name="nbma-domain-name">
- <properties>
- <help>Set HUB fqdn (nbma-address - fqdn)</help>
- <valueHelp>
- <format>&lt;fqdn&gt;</format>
- <description>Set the external HUB fqdn</description>
- </valueHelp>
- </properties>
- </leafNode>
- </children>
- </tagNode>
- <leafNode name="holding-time">
- <properties>
- <help>Holding time in seconds</help>
- </properties>
- </leafNode>
- <tagNode name="map">
- <properties>
- <help>Set an HUB tunnel address</help>
- </properties>
- <children>
- <leafNode name="cisco">
- <properties>
- <help>If the statically mapped peer is running Cisco IOS, specify this</help>
- <valueless/>
- </properties>
- </leafNode>
- <leafNode name="nbma-address">
- <properties>
- <help>Set HUB address (nbma-address - external hub address or fqdn)</help>
- </properties>
- </leafNode>
- <leafNode name="register">
- <properties>
- <help>Specifies that Registration Request should be sent to this peer on startup</help>
- <valueless/>
- </properties>
- </leafNode>
- </children>
- </tagNode>
- <leafNode name="multicast">
- <properties>
- <help>Set multicast for NHRP</help>
- <completionHelp>
- <list>dynamic nhs</list>
- </completionHelp>
- <constraint>
- <regex>(dynamic|nhs)</regex>
- </constraint>
- </properties>
- </leafNode>
- <leafNode name="non-caching">
- <properties>
- <help>This can be used to reduce memory consumption on big NBMA subnets</help>
- <valueless/>
- </properties>
- </leafNode>
- <leafNode name="redirect">
- <properties>
- <help>Enable sending of Cisco style NHRP Traffic Indication packets</help>
- <valueless/>
- </properties>
- </leafNode>
- <leafNode name="shortcut-destination">
- <properties>
- <help>This instructs opennhrp to reply with authorative answers on NHRP Resolution Requests destined to addresses in this interface</help>
- <valueless/>
- </properties>
- </leafNode>
- <tagNode name="shortcut-target">
- <properties>
- <help>Defines an off-NBMA network prefix for which the GRE interface will act as a gateway</help>
- </properties>
- <children>
- <leafNode name="holding-time">
- <properties>
- <help>Holding time in seconds</help>
- </properties>
- </leafNode>
- </children>
- </tagNode>
- <leafNode name="shortcut">
- <properties>
- <help>Enable creation of shortcut routes. A received NHRP Traffic Indication will trigger the resolution and establishment of a shortcut route</help>
- <valueless/>
- </properties>
- </leafNode>
- </children>
- </tagNode>
- </children>
- </node>
- </children>
- </node>
-</interfaceDefinition>