diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-02-11 20:36:08 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-02-11 20:37:19 +0100 |
commit | 8a39f15242ef0596a7d93001f7d413702f1ad7f5 (patch) | |
tree | 41174f0970e31ece8cf368bca523b0d0d9493ebd /interface-definitions/protocols-ospfv3.xml.in | |
parent | 8919e40a3c0b84053e422a8445a5fca829e5990f (diff) | |
download | vyos-1x-8a39f15242ef0596a7d93001f7d413702f1ad7f5.tar.gz vyos-1x-8a39f15242ef0596a7d93001f7d413702f1ad7f5.zip |
ospfv3: T3267: move interface specific options to "protocols ospfv3"
Diffstat (limited to 'interface-definitions/protocols-ospfv3.xml.in')
-rw-r--r-- | interface-definitions/protocols-ospfv3.xml.in | 60 |
1 files changed, 57 insertions, 3 deletions
diff --git a/interface-definitions/protocols-ospfv3.xml.in b/interface-definitions/protocols-ospfv3.xml.in index bd6a55b45..e28faa3cf 100644 --- a/interface-definitions/protocols-ospfv3.xml.in +++ b/interface-definitions/protocols-ospfv3.xml.in @@ -41,7 +41,7 @@ </completionHelp> </properties> </leafNode> - <leafNode name="interface"> + <tagNode name="interface"> <properties> <help>Enable routing on an IPv6 interface</help> <completionHelp> @@ -54,9 +54,63 @@ <constraint> <validator name="interface-name"/> </constraint> - <multi/> </properties> - </leafNode> + <children> + #include <include/ospf-intervals.xml.i> + #include <include/ospf-interface-common.xml.i> + <leafNode name="ifmtu"> + <properties> + <help>Interface MTU</help> + <valueHelp> + <format>u32:1-65535</format> + <description>Interface MTU</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-65535"/> + </constraint> + </properties> + </leafNode> + <leafNode name="instance-id"> + <properties> + <help>Instance Id (default: 0)</help> + <valueHelp> + <format>u32:0-255</format> + <description>Instance Id</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 0-255"/> + </constraint> + </properties> + <defaultValue>0</defaultValue> + </leafNode> + <leafNode name="network"> + <properties> + <help>Network type</help> + <completionHelp> + <list>broadcast point-to-point</list> + </completionHelp> + <valueHelp> + <format>broadcast</format> + <description>Broadcast network type</description> + </valueHelp> + <valueHelp> + <format>point-to-point</format> + <description>Point-to-point network type</description> + </valueHelp> + <constraint> + <regex>^(broadcast|point-to-point)$</regex> + </constraint> + <constraintErrorMessage>Must be broadcast or point-to-point</constraintErrorMessage> + </properties> + </leafNode> + <leafNode name="passive"> + <properties> + <help>Disable forming of adjacency</help> + <valueless/> + </properties> + </leafNode> + </children> + </tagNode> <tagNode name="range"> <properties> <help>Specify IPv6 prefix (border routers only)</help> |