summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-11 20:36:08 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-11 20:37:19 +0100
commit8a39f15242ef0596a7d93001f7d413702f1ad7f5 (patch)
tree41174f0970e31ece8cf368bca523b0d0d9493ebd /interface-definitions/include
parent8919e40a3c0b84053e422a8445a5fca829e5990f (diff)
downloadvyos-1x-8a39f15242ef0596a7d93001f7d413702f1ad7f5.tar.gz
vyos-1x-8a39f15242ef0596a7d93001f7d413702f1ad7f5.zip
ospfv3: T3267: move interface specific options to "protocols ospfv3"
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/ospf-interface-common.xml.i39
1 files changed, 39 insertions, 0 deletions
diff --git a/interface-definitions/include/ospf-interface-common.xml.i b/interface-definitions/include/ospf-interface-common.xml.i
new file mode 100644
index 000000000..c3493faa3
--- /dev/null
+++ b/interface-definitions/include/ospf-interface-common.xml.i
@@ -0,0 +1,39 @@
+<!-- included start from ospf-interface-common.xml.i -->
+<leafNode name="bfd">
+ <properties>
+ <help>Enable Bidirectional Forwarding Detection (BFD) support</help>
+ <valueless/>
+ </properties>
+</leafNode>
+<leafNode name="cost">
+ <properties>
+ <help>Interface cost</help>
+ <valueHelp>
+ <format>u32:1-65535</format>
+ <description>OSPF interface cost</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+</leafNode>
+<leafNode name="mtu-ignore">
+ <properties>
+ <help>Disable Maximum Transmission Unit (MTU) mismatch detection</help>
+ <valueless/>
+ </properties>
+</leafNode>
+<leafNode name="priority">
+ <properties>
+ <help>Router priority (default: 1)</help>
+ <valueHelp>
+ <format>u32:0-255</format>
+ <description>OSPF router priority cost</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-255"/>
+ </constraint>
+ </properties>
+ <defaultValue>1</defaultValue>
+</leafNode>
+<!-- included end -->