diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-02-07 19:55:37 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-02-07 19:55:37 +0100 |
commit | fac6d728523aeaf8ab0faf3de7a41f7da3923616 (patch) | |
tree | 72d50bb4fafca9e988446c68be90163a6729cae9 /interface-definitions/include/rip-interface.xml.i | |
parent | 89108f629ec8cc6990473468c1c67ffa8742b884 (diff) | |
download | vyos-1x-fac6d728523aeaf8ab0faf3de7a41f7da3923616.tar.gz vyos-1x-fac6d728523aeaf8ab0faf3de7a41f7da3923616.zip |
rip: T2547: migrate interface specific configuration under protocols rip
Diffstat (limited to 'interface-definitions/include/rip-interface.xml.i')
-rw-r--r-- | interface-definitions/include/rip-interface.xml.i | 73 |
1 files changed, 70 insertions, 3 deletions
diff --git a/interface-definitions/include/rip-interface.xml.i b/interface-definitions/include/rip-interface.xml.i index f3f473a90..1d5e6f949 100644 --- a/interface-definitions/include/rip-interface.xml.i +++ b/interface-definitions/include/rip-interface.xml.i @@ -1,5 +1,5 @@ <!-- included start from rip-interface.xml.i --> -<leafNode name="interface"> +<tagNode name="interface"> <properties> <help>Interface name</help> <completionHelp> @@ -12,7 +12,74 @@ <constraint> <validator name="interface-name"/> </constraint> - <multi/> </properties> -</leafNode> + <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="split-horizon"> + <properties> + <help>Split horizon parameters</help> + </properties> + <children> + <leafNode name="disable"> + <properties> + <help>Disable split horizon on specified interface</help> + <valueless/> + </properties> + </leafNode> + <leafNode name="poison-reverse"> + <properties> + <help>Disable split horizon on specified interface</help> + <valueless/> + </properties> + </leafNode> + </children> + </node> + </children> +</tagNode> <!-- included end --> |