summaryrefslogtreecommitdiff
path: root/interface-definitions/include/ospf/ospf-intervals.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-11 19:28:06 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-13 21:54:50 +0100
commit952c52ef012504f17f09234ab1f7608ceb4002b1 (patch)
tree9c643ee4f6a7b452d3133d32341f9ae29aa5ef0d /interface-definitions/include/ospf/ospf-intervals.xml.i
parent894a5d6daee5f785834a2f360d66eb9b8e112465 (diff)
downloadvyos-1x-952c52ef012504f17f09234ab1f7608ceb4002b1.tar.gz
vyos-1x-952c52ef012504f17f09234ab1f7608ceb4002b1.zip
vrf: ospf: T2271: re-arrange xml include building blocks
In order to fully re-use the XML based OSPF CLI definition for per-VRF routing, the file structure needs to be reorganized and the common OSPF definition is moved to its dedicated ospf-common-config.xml.i file, which can then be fully re-included at the VRF level. As the amount of include files now has reached a certain amount, this also introduces "per topic" subdirectories on the filesystem to keep a clean structure.
Diffstat (limited to 'interface-definitions/include/ospf/ospf-intervals.xml.i')
-rw-r--r--interface-definitions/include/ospf/ospf-intervals.xml.i54
1 files changed, 54 insertions, 0 deletions
diff --git a/interface-definitions/include/ospf/ospf-intervals.xml.i b/interface-definitions/include/ospf/ospf-intervals.xml.i
new file mode 100644
index 000000000..62a4a58e1
--- /dev/null
+++ b/interface-definitions/include/ospf/ospf-intervals.xml.i
@@ -0,0 +1,54 @@
+<!-- included start from ospf/ospf-intervals.xml.i -->
+<leafNode name="dead-interval">
+ <properties>
+ <help>Interval after which a neighbor is declared dead (default: 40)</help>
+ <valueHelp>
+ <format>u32:1-65535</format>
+ <description>Neighbor dead interval (seconds)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ <defaultValue>40</defaultValue>
+</leafNode>
+<leafNode name="hello-interval">
+ <properties>
+ <help>Interval between hello packets (default: 10)</help>
+ <valueHelp>
+ <format>u32:1-65535</format>
+ <description>Hello interval (seconds)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ <defaultValue>10</defaultValue>
+</leafNode>
+<leafNode name="retransmit-interval">
+ <properties>
+ <help>Interval between retransmitting lost link state advertisements (default: 5)</help>
+ <valueHelp>
+ <format>u32:1-65535</format>
+ <description>Retransmit interval (seconds)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ <defaultValue>5</defaultValue>
+</leafNode>
+<leafNode name="transmit-delay">
+ <properties>
+ <help>Link state transmit delay (default: 1)</help>
+ <valueHelp>
+ <format>u32:1-65535</format>
+ <description>Link state transmit delay (seconds)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ <defaultValue>1</defaultValue>
+</leafNode>
+<!-- included end -->