summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-rip.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-30 23:25:20 +0100
committerChristian Breunig <christian@breunig.cc>2023-12-31 23:49:48 +0100
commit4ef110fd2c501b718344c72d495ad7e16d2bd465 (patch)
treee98bf08f93c029ec4431a3b6ca078e7562e0cc58 /interface-definitions/protocols-rip.xml.in
parent2286b8600da6c631b17e1d5b9b341843e50f9abf (diff)
downloadvyos-1x-4ef110fd2c501b718344c72d495ad7e16d2bd465.tar.gz
vyos-1x-4ef110fd2c501b718344c72d495ad7e16d2bd465.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
Diffstat (limited to 'interface-definitions/protocols-rip.xml.in')
-rw-r--r--interface-definitions/protocols-rip.xml.in258
1 files changed, 0 insertions, 258 deletions
diff --git a/interface-definitions/protocols-rip.xml.in b/interface-definitions/protocols-rip.xml.in
deleted file mode 100644
index 0edd8f2ce..000000000
--- a/interface-definitions/protocols-rip.xml.in
+++ /dev/null
@@ -1,258 +0,0 @@
-<?xml version="1.0"?>
-<interfaceDefinition>
- <node name="protocols">
- <children>
- <node name="rip" owner="${vyos_conf_scripts_dir}/protocols_rip.py">
- <properties>
- <help>Routing Information Protocol (RIP) parameters</help>
- <priority>650</priority>
- </properties>
- <children>
- <leafNode name="default-distance">
- <properties>
- <help>Administrative distance</help>
- <valueHelp>
- <format>u32:1-255</format>
- <description>Administrative distance</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-255"/>
- </constraint>
- </properties>
- </leafNode>
- #include <include/rip/default-information.xml.i>
- #include <include/rip/default-metric.xml.i>
- <node name="distribute-list">
- <properties>
- <help>Filter networks in routing updates</help>
- </properties>
- <children>
- #include <include/rip/access-list.xml.i>
- <tagNode name="interface">
- <properties>
- <help>Apply filtering to an interface</help>
- <valueHelp>
- <format>txt</format>
- <description>Apply filtering to an interface</description>
- </valueHelp>
- <completionHelp>
- <script>${vyos_completion_dir}/list_interfaces</script>
- </completionHelp>
- <constraint>
- #include <include/constraint/interface-name.xml.i>
- </constraint>
- </properties>
- <children>
- #include <include/rip/access-list.xml.i>
- #include <include/rip/prefix-list.xml.i>
- </children>
- </tagNode>
- #include <include/rip/prefix-list.xml.i>
- </children>
- </node>
- #include <include/rip/interface.xml.i>
- <tagNode name="interface">
- <children>
- <node name="authentication">
- <properties>
- <help>Authentication</help>
- </properties>
- <children>
- <tagNode name="md5">
- <properties>
- <help>MD5 key id</help>
- <valueHelp>
- <format>u32:1-255</format>
- <description>OSPF key id</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-255"/>
- </constraint>
- </properties>
- <children>
- <leafNode name="password">
- <properties>
- <help>Authentication password</help>
- <valueHelp>
- <format>txt</format>
- <description>MD5 Key (16 characters or less)</description>
- </valueHelp>
- <constraint>
- <regex>[^[:space:]]{1,16}</regex>
- </constraint>
- <constraintErrorMessage>Password must be 16 characters or less</constraintErrorMessage>
- </properties>
- </leafNode>
- </children>
- </tagNode>
- <leafNode name="plaintext-password">
- <properties>
- <help>Plain text password</help>
- <valueHelp>
- <format>txt</format>
- <description>Plain text password (16 characters or less)</description>
- </valueHelp>
- <constraint>
- <regex>[^[:space:]]{1,16}</regex>
- </constraint>
- <constraintErrorMessage>Password must be 16 characters or less</constraintErrorMessage>
- </properties>
- </leafNode>
- </children>
- </node>
- <node name="receive">
- <properties>
- <help>Advertisement reception</help>
- </properties>
- <children>
- #include <include/rip/version.xml.i>
- </children>
- </node>
- <node name="send">
- <properties>
- <help>Advertisement transmission</help>
- </properties>
- <children>
- #include <include/rip/version.xml.i>
- </children>
- </node>
- </children>
- </tagNode>
- <leafNode name="neighbor">
- <properties>
- <help>Neighbor router</help>
- <valueHelp>
- <format>ipv4</format>
- <description>Neighbor router</description>
- </valueHelp>
- <constraint>
- <validator name="ipv4-address"/>
- </constraint>
- <multi/>
- </properties>
- </leafNode>
- <leafNode name="network">
- <properties>
- <help>RIP network</help>
- <valueHelp>
- <format>ipv4net</format>
- <description>RIP network</description>
- </valueHelp>
- <constraint>
- <validator name="ipv4-prefix"/>
- </constraint>
- <multi/>
- </properties>
- </leafNode>
- <tagNode name="network-distance">
- <properties>
- <help>Source network</help>
- <valueHelp>
- <format>ipv4net</format>
- <description>Source network</description>
- </valueHelp>
- <constraint>
- <validator name="ipv4-prefix"/>
- </constraint>
- </properties>
- <children>
- <leafNode name="access-list">
- <properties>
- <help>Access list</help>
- <valueHelp>
- <format>txt</format>
- <description>Access list</description>
- </valueHelp>
- <completionHelp>
- <path>policy access-list</path>
- </completionHelp>
- </properties>
- </leafNode>
- #include <include/static/static-route-distance.xml.i>
- </children>
- </tagNode>
- #include <include/routing-passive-interface.xml.i>
- <node name="redistribute">
- <properties>
- <help>Redistribute information from another routing protocol</help>
- </properties>
- <children>
- <node name="bgp">
- <properties>
- <help>Redistribute BGP routes</help>
- </properties>
- <children>
- #include <include/rip/redistribute.xml.i>
- </children>
- </node>
- <node name="connected">
- <properties>
- <help>Redistribute connected routes</help>
- </properties>
- <children>
- #include <include/rip/redistribute.xml.i>
- </children>
- </node>
- <node name="isis">
- <properties>
- <help>Redistribute IS-IS routes</help>
- </properties>
- <children>
- #include <include/rip/redistribute.xml.i>
- </children>
- </node>
- <node name="kernel">
- <properties>
- <help>Redistribute kernel routes</help>
- </properties>
- <children>
- #include <include/rip/redistribute.xml.i>
- </children>
- </node>
- <node name="ospf">
- <properties>
- <help>Redistribute OSPF routes</help>
- </properties>
- <children>
- #include <include/rip/redistribute.xml.i>
- </children>
- </node>
- <node name="static">
- <properties>
- <help>Redistribute static routes</help>
- </properties>
- <children>
- #include <include/rip/redistribute.xml.i>
- </children>
- </node>
- <node name="babel">
- <properties>
- <help>Redistribute Babel routes</help>
- </properties>
- <children>
- #include <include/rip/redistribute.xml.i>
- </children>
- </node>
- </children>
- </node>
- <leafNode name="route">
- <properties>
- <help>RIP static route</help>
- <valueHelp>
- <format>ipv4net</format>
- <description>RIP static route</description>
- </valueHelp>
- <constraint>
- <validator name="ipv4-prefix"/>
- </constraint>
- <multi/>
- </properties>
- </leafNode>
- #include <include/rip/timers.xml.i>
- #include <include/route-map.xml.i>
- #include <include/rip/version.xml.i>
- </children>
- </node>
- </children>
- </node>
-</interfaceDefinition>