<?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.py</script> </completionHelp> <constraint> #include <include/constraint/interface-name.xml.in> </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> </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>