From 0ddd684ff12b297313331a1c87f36d8308eade8d Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 22 Jan 2021 16:31:20 +0100 Subject: ospf: T3236: add default values --- interface-definitions/include/ospf-metric.xml.i | 6 +- interface-definitions/protocols-ospf.xml.in | 95 ++++++++++--------------- 2 files changed, 43 insertions(+), 58 deletions(-) (limited to 'interface-definitions') diff --git a/interface-definitions/include/ospf-metric.xml.i b/interface-definitions/include/ospf-metric.xml.i index 771fda02d..b2812ba36 100644 --- a/interface-definitions/include/ospf-metric.xml.i +++ b/interface-definitions/include/ospf-metric.xml.i @@ -13,15 +13,16 @@ - OSPF metric type for default routes + OSPF metric type for default routes (default: 2) u32:1-2 - Metric type for default routes (default 2) + Metric type for default routes + 2 @@ -31,3 +32,4 @@ + diff --git a/interface-definitions/protocols-ospf.xml.in b/interface-definitions/protocols-ospf.xml.in index 4d5b84be0..04ad39732 100644 --- a/interface-definitions/protocols-ospf.xml.in +++ b/interface-definitions/protocols-ospf.xml.in @@ -3,7 +3,7 @@ - + Open Shortest Path First protocol (OSPF) parameters 620 @@ -109,7 +109,7 @@ - Nssa-abr + Configure NSSA-ABR (default: candidate) always candidate never @@ -129,6 +129,7 @@ ^(always|candidate|never)$ + candidate @@ -353,7 +354,7 @@ - Calculate OSPF interface cost according to bandwidth + Calculate OSPF interface cost according to bandwidth (default: 100) @@ -361,12 +362,13 @@ Reference bandwidth method to assign OSPF cost u32:1-4294967 - Reference bandwidth cost in Mbits/sec (default 100) + Reference bandwidth cost in Mbits/sec + 100 @@ -386,38 +388,7 @@ - - - OSPF default metric - - u32:0-16777214 - Default metric - - - - - - - - - OSPF metric type for default routes - - u32:1-2 - Metric type for default routes (default 2) - - - - - - - - - Route map reference - - policy route-map - - - + #include @@ -589,27 +560,29 @@ - Dead neighbor polling interval + Dead neighbor polling interval (default: 60) u32:1-65535 - Seconds between dead neighbor polling interval (default 60) + Seconds between dead neighbor polling interval + 60 - Neighbor priority in seconds + Neighbor priority in seconds (default: 0) u32:0-255 - Neighbor priority (default 0) + Neighbor priority + 0 @@ -620,7 +593,7 @@ - OSPF ABR type + OSPF ABR type (default: cisco) cisco ibm shortcut standard @@ -644,6 +617,7 @@ ^(cisco|ibm|shortcut|standard)$ + cisco @@ -674,31 +648,37 @@ Suppress routing updates on an interface + + default + + - <interface> + txt Interface to be passive (i.e. suppress routing updates) default Default to suppress routing updates on all interfaces - - default - - + + ^(br|bond|dum|en|eth|gnv|peth|tun|vti|vxlan|wg|wlan)[0-9]+|lo|default$ + Interface to exclude when using 'passive-interface default' - - <interface> - Interface to be passive (i.e. suppress routing updates) - + + txt + Interface to be passive (i.e. suppress routing updates) + + + ^(br|bond|dum|en|eth|gnv|peth|tun|vti|vxlan|wg|wlan)[0-9]+|lo$ + @@ -793,39 +773,42 @@ - Delay (msec) from first change received till SPF calculation + Delay from first change received till SPF calculation (default: 200) u32:0-600000 - Delay in msec (default 200) + Delay in milliseconds + 200 - Initial hold time(msec) between consecutive SPF calculations + Initial hold time between consecutive SPF calculations (default: 1000) u32:0-600000 - Initial hold time in msec (default 1000) + Initial hold time in milliseconds + 1000 - Maximum hold time (msec) + Maximum hold time (default: 10000) u32:0-600000 - Max hold time in msec (default 10000) + Max hold time in milliseconds + 10000 -- cgit v1.2.3