diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-05-06 19:41:19 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-05-06 19:41:19 +0200 |
commit | d5bd9bec6c213ff12190b03acf248f348c165c13 (patch) | |
tree | f24822e80c58403d7049b7d7e5fa03d895f52dc3 /interface-definitions/include/ospf/authentication.xml.i | |
parent | 7f38bcaf1fd20b8dc210abd15f95ddd88c27d465 (diff) | |
download | vyos-1x-d5bd9bec6c213ff12190b03acf248f348c165c13.tar.gz vyos-1x-d5bd9bec6c213ff12190b03acf248f348c165c13.zip |
ospf: xml: T3236: restructure include files and make them easier to recognize
Diffstat (limited to 'interface-definitions/include/ospf/authentication.xml.i')
-rw-r--r-- | interface-definitions/include/ospf/authentication.xml.i | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/interface-definitions/include/ospf/authentication.xml.i b/interface-definitions/include/ospf/authentication.xml.i new file mode 100644 index 000000000..1e6050b97 --- /dev/null +++ b/interface-definitions/include/ospf/authentication.xml.i @@ -0,0 +1,56 @@ +<!-- include start from ospf/authentication.xml.i --> +<node name="authentication"> + <properties> + <help>Authentication</help> + </properties> + <children> + <node name="md5"> + <properties> + <help>MD5 key id</help> + </properties> + <children> + <tagNode name="key-id"> + <properties> + <help>MD5 key id</help> + <valueHelp> + <format>u32:1-255</format> + <description>MD5 key id</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-255"/> + </constraint> + </properties> + <children> + <leafNode name="md5-key"> + <properties> + <help>MD5 authentication type</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> + </children> + </node> + <leafNode name="plaintext-password"> + <properties> + <help>Plain text password</help> + <valueHelp> + <format>txt</format> + <description>Plain text password (8 characters or less)</description> + </valueHelp> + <constraint> + <regex>^[^[:space:]]{1,8}$</regex> + </constraint> + <constraintErrorMessage>Password must be 8 characters or less</constraintErrorMessage> + </properties> + </leafNode> + </children> +</node> +<!-- include end --> |