From a950059053f7394acfb453cc0d8194aa3dc721fa Mon Sep 17 00:00:00 2001 From: kumvijaya Date: Thu, 26 Sep 2024 11:31:07 +0530 Subject: T6732: added same as vyos 1x --- .../include/ospf/authentication.xml.i | 56 ++ interface-definitions/include/ospf/auto-cost.xml.i | 22 + .../include/ospf/default-information.xml.i | 25 + .../include/ospf/distance-global.xml.i | 14 + .../include/ospf/distance-per-protocol.xml.i | 38 + .../include/ospf/graceful-restart.xml.i | 67 ++ .../include/ospf/interface-common.xml.i | 34 + interface-definitions/include/ospf/intervals.xml.i | 54 ++ .../include/ospf/log-adjacency-changes.xml.i | 15 + .../include/ospf/metric-type.xml.i | 15 + interface-definitions/include/ospf/metric.xml.i | 14 + .../include/ospf/protocol-common-config.xml.i | 959 +++++++++++++++++++++ 12 files changed, 1313 insertions(+) create mode 100644 interface-definitions/include/ospf/authentication.xml.i create mode 100644 interface-definitions/include/ospf/auto-cost.xml.i create mode 100644 interface-definitions/include/ospf/default-information.xml.i create mode 100644 interface-definitions/include/ospf/distance-global.xml.i create mode 100644 interface-definitions/include/ospf/distance-per-protocol.xml.i create mode 100644 interface-definitions/include/ospf/graceful-restart.xml.i create mode 100644 interface-definitions/include/ospf/interface-common.xml.i create mode 100644 interface-definitions/include/ospf/intervals.xml.i create mode 100644 interface-definitions/include/ospf/log-adjacency-changes.xml.i create mode 100644 interface-definitions/include/ospf/metric-type.xml.i create mode 100644 interface-definitions/include/ospf/metric.xml.i create mode 100644 interface-definitions/include/ospf/protocol-common-config.xml.i (limited to 'interface-definitions/include/ospf') diff --git a/interface-definitions/include/ospf/authentication.xml.i b/interface-definitions/include/ospf/authentication.xml.i new file mode 100644 index 0000000..8e8cad0 --- /dev/null +++ b/interface-definitions/include/ospf/authentication.xml.i @@ -0,0 +1,56 @@ + + + + Authentication + + + + + MD5 key id + + + + + MD5 key id + + u32:1-255 + MD5 key id + + + + + + + + + MD5 authentication type + + txt + MD5 Key (16 characters or less) + + + [^[:space:]]{1,16} + + Password must be 16 characters or less + + + + + + + + + Plain text password + + txt + Plain text password (8 characters or less) + + + [^[:space:]]{1,8} + + Password must be 8 characters or less + + + + + diff --git a/interface-definitions/include/ospf/auto-cost.xml.i b/interface-definitions/include/ospf/auto-cost.xml.i new file mode 100644 index 0000000..da6483a --- /dev/null +++ b/interface-definitions/include/ospf/auto-cost.xml.i @@ -0,0 +1,22 @@ + + + + Calculate interface cost according to bandwidth + + + + + Reference bandwidth method to assign cost + + u32:1-4294967 + Reference bandwidth cost in Mbits/sec + + + + + + 100 + + + + diff --git a/interface-definitions/include/ospf/default-information.xml.i b/interface-definitions/include/ospf/default-information.xml.i new file mode 100644 index 0000000..50cda54 --- /dev/null +++ b/interface-definitions/include/ospf/default-information.xml.i @@ -0,0 +1,25 @@ + + + + Default route advertisment settings + + + + + Distribute a default route + + + + + Always advertise a default route + + + + #include + #include + #include + + + + + diff --git a/interface-definitions/include/ospf/distance-global.xml.i b/interface-definitions/include/ospf/distance-global.xml.i new file mode 100644 index 0000000..31809cb --- /dev/null +++ b/interface-definitions/include/ospf/distance-global.xml.i @@ -0,0 +1,14 @@ + + + + Administrative distance + + u32:1-255 + Administrative distance + + + + + + + diff --git a/interface-definitions/include/ospf/distance-per-protocol.xml.i b/interface-definitions/include/ospf/distance-per-protocol.xml.i new file mode 100644 index 0000000..da3f16c --- /dev/null +++ b/interface-definitions/include/ospf/distance-per-protocol.xml.i @@ -0,0 +1,38 @@ + + + + Distance for external routes + + u32:1-255 + Distance for external routes + + + + + + + + + Distance for inter-area routes + + u32:1-255 + Distance for inter-area routes + + + + + + + + + Distance for intra-area routes + + u32:1-255 + Distance for intra-area routes + + + + + + + diff --git a/interface-definitions/include/ospf/graceful-restart.xml.i b/interface-definitions/include/ospf/graceful-restart.xml.i new file mode 100644 index 0000000..37d9a7f --- /dev/null +++ b/interface-definitions/include/ospf/graceful-restart.xml.i @@ -0,0 +1,67 @@ + + + + Graceful Restart + + + + + Maximum length of the grace period + + u32:1-1800 + Maximum length of the grace period in seconds + + + + + + 120 + + + + OSPF graceful-restart helpers + + + + + Enable helper support + + + + + Advertising Router-ID + + ipv4 + Router-ID in IP address format + + + + + + + + + + + + Supported only planned restart + + + + + + Supported grace timer + + u32:10-1800 + Grace interval in seconds + + + + + + + + + + + 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 0000000..9c8b94f --- /dev/null +++ b/interface-definitions/include/ospf/interface-common.xml.i @@ -0,0 +1,34 @@ + +#include + + + Interface cost + + u32:1-65535 + OSPF interface cost + + + + + + + + + Disable Maximum Transmission Unit (MTU) mismatch detection + + + + + + Router priority + + u32:0-255 + OSPF router priority cost + + + + + + 1 + + diff --git a/interface-definitions/include/ospf/intervals.xml.i b/interface-definitions/include/ospf/intervals.xml.i new file mode 100644 index 0000000..9f6e5df --- /dev/null +++ b/interface-definitions/include/ospf/intervals.xml.i @@ -0,0 +1,54 @@ + + + + Interval after which a neighbor is declared dead + + u32:1-65535 + Neighbor dead interval (seconds) + + + + + + 40 + + + + Interval between hello packets + + u32:1-65535 + Hello interval (seconds) + + + + + + 10 + + + + Interval between retransmitting lost link state advertisements + + u32:1-65535 + Retransmit interval (seconds) + + + + + + 5 + + + + Link state transmit delay + + u32:1-65535 + Link state transmit delay (seconds) + + + + + + 1 + + diff --git a/interface-definitions/include/ospf/log-adjacency-changes.xml.i b/interface-definitions/include/ospf/log-adjacency-changes.xml.i new file mode 100644 index 0000000..24c6cbe --- /dev/null +++ b/interface-definitions/include/ospf/log-adjacency-changes.xml.i @@ -0,0 +1,15 @@ + + + + Log adjacency state changes + + + + + Log all state changes + + + + + + diff --git a/interface-definitions/include/ospf/metric-type.xml.i b/interface-definitions/include/ospf/metric-type.xml.i new file mode 100644 index 0000000..de55c76 --- /dev/null +++ b/interface-definitions/include/ospf/metric-type.xml.i @@ -0,0 +1,15 @@ + + + + OSPF metric type for default routes + + u32:1-2 + Set OSPF External Type 1/2 metrics + + + + + + 2 + + diff --git a/interface-definitions/include/ospf/metric.xml.i b/interface-definitions/include/ospf/metric.xml.i new file mode 100644 index 0000000..64b455b --- /dev/null +++ b/interface-definitions/include/ospf/metric.xml.i @@ -0,0 +1,14 @@ + + + + OSPF default metric + + u32:0-16777214 + Default metric + + + + + + + diff --git a/interface-definitions/include/ospf/protocol-common-config.xml.i b/interface-definitions/include/ospf/protocol-common-config.xml.i new file mode 100644 index 0000000..c4778e1 --- /dev/null +++ b/interface-definitions/include/ospf/protocol-common-config.xml.i @@ -0,0 +1,959 @@ + + + + External route aggregation + + + + + Delay timer + + u32:5-1800 + Timer interval in seconds + + + + + + 5 + + + + + + Access list to filter networks in routing updates + + policy access-list + + + u32 + Access-list number + + + + + + + + + Filter for outgoing routing update + + bgp connected kernel rip static + + + bgp + Filter BGP routes + + + connected + Filter connected routes + + + isis + Filter IS-IS routes + + + kernel + Filter Kernel routes + + + rip + Filter RIP routes + + + static + Filter static routes + + + (bgp|connected|isis|kernel|rip|static) + + Must be bgp, connected, kernel, rip, or static + + + + + + + + OSPF area settings + + u32 + OSPF area number in decimal notation + + + ipv4 + OSPF area number in dotted decimal notation + + + + + + + + + + Area type + + + + + Normal OSPF area + + + + + + Not-So-Stubby OSPF area + + + + + Summary-default cost of an NSSA area + + u32:0-16777215 + Summary default cost + + + + + + + + + Do not inject inter-area routes into stub + + + + + + Configure NSSA-ABR + + always candidate never + + + always + Always translate LSA types + + + candidate + Translate for election + + + never + Never translate LSA types + + + (always|candidate|never) + + + candidate + + + + + + Stub OSPF area + + + + + Summary-default cost + + u32:0-16777215 + Summary default cost + + + + + + + + + Do not inject inter-area routes into the stub + + + + + + + + + + OSPF area authentication type + + plaintext-password md5 + + + plaintext-password + Use plain-text authentication + + + md5 + Use MD5 authentication + + + (plaintext-password|md5) + + + + + + OSPF network + + ipv4net + OSPF network + + + + + + + + + + Summarize routes matching a prefix (border routers only) + + ipv4net + Area range prefix + + + + + + + + + Metric for this range + + u32:0-16777215 + Metric for this range + + + + + + + + + Do not advertise this range + + + + + + Advertise area range as another prefix + + ipv4net + Advertise area range as another prefix + + + + + + + + + + + Area shortcut mode + + default disable enable + + + default + Set default + + + disable + Disable shortcutting mode + + + enable + Enable shortcutting mode + + + (default|disable|enable) + + + + + + Set the filter for networks announced to other areas + + policy access-list + + + u32 + Access-list number + + + + + + + + + Set the filter for networks from other areas announced + + policy access-list + + + u32 + Access-list number + + + + + + + + + Virtual link + + ipv4 + OSPF area in dotted decimal notation + + + + + + + + #include + #include + + + + +#include + + + Enable specific OSPF features + + + + + Opaque LSA + + + + + +#include + + + Metric of redistributed routes + + u32:0-16777214 + Metric of redistributed routes + + + + + + +#include + + + + + + + Disable strict LSA check + + + + + + + + + + Maximum multiple paths (ECMP) + + u32:1-64 + Maximum multiple paths (ECMP) + + + + + + +#include + + + Administrative distance + + + #include + + + OSPF administrative distance + + + #include + + + + + + + Interface configuration + + + + + txt + Interface name + + + #include + + + + + + Enable OSPF on this interface + + protocols ospf area + + + u32 + OSPF area ID as decimal notation + + + ipv4 + OSPF area ID in IP address notation + + + + + + + + #include + #include + #include + #include + + + Interface bandwidth (Mbit/s) + + u32:1-100000 + Bandwidth in Megabit/sec (for calculating OSPF cost) + + + + + + + + + Hello multiplier factor + + u32:1-10 + Number of Hellos to send each second + + + + + + + + + Network type + + broadcast non-broadcast point-to-multipoint point-to-point + + + broadcast + Broadcast network type + + + non-broadcast + Non-broadcast network type + + + point-to-multipoint + Point-to-multipoint network type + + + point-to-point + Point-to-point network type + + + (broadcast|non-broadcast|point-to-multipoint|point-to-point) + + Must be broadcast, non-broadcast, point-to-multipoint or point-to-point + + + + + Suppress routing updates on an interface + + + #include + + + + +#include + + + OSPF maximum and infinite-distance metric + + + + + Advertise own Router-LSA with infinite distance (stub router) + + + + + Administratively apply, for an indefinite period + + + + + + Advertise stub-router prior to full shutdown of OSPF + + u32:5-100 + Time (seconds) to advertise self as stub-router + + + + + + + + + Automatically advertise stub Router-LSA on startup of OSPF + + u32:5-86400 + Time (seconds) to advertise self as stub-router + + + + + + + + + + + + + MultiProtocol Label Switching-Traffic Engineering (MPLS-TE) parameters + + + + + Enable MPLS-TE functionality + + + + + + Stable IP address of the advertising router + + ipv4 + Stable IP address of the advertising router + + + + + + 0.0.0.0 + + + + + + Specify neighbor router + + ipv4 + Neighbor IP address + + + + + + + + + Dead neighbor polling interval + + u32:1-65535 + Seconds between dead neighbor polling interval + + + + + + 60 + + + + Neighbor priority in seconds + + u32:0-255 + Neighbor priority + + + + + + 0 + + + + + + OSPF specific parameters + + + + + OSPF ABR type + + cisco ibm shortcut standard + + + cisco + Cisco ABR type + + + ibm + IBM ABR type + + + shortcut + Shortcut ABR type + + + standard + Standard ABR type + + + (cisco|ibm|shortcut|standard) + + + cisco + + + + Enable the Opaque-LSA capability (rfc2370) + + + + + + Enable RFC1583 criteria for handling AS external routes + + + + #include + + + + + Suppress routing updates on an interface + + default + + + default + Default to suppress routing updates on all interfaces + + + (default) + + + + + + Segment-Routing (SPRING) settings + + + + + Segment Routing Global Block label range + + + #include + + + + + Segment Routing Local Block label range + + + #include + + + + + Maximum MPLS labels allowed for this router + + u32:1-16 + MPLS label depth + + + + + + + + + Static IPv4 prefix segment/label mapping + + ipv4net + IPv4 prefix segment + + + + + + + + + Specify the index value of prefix segment/label ID + + + + + Specify the index value of prefix segment/label ID + + u32:0-65535 + The index segment/label ID value + + + + + + + + + Request upstream neighbor to replace segment/label with explicit null label + + + + + + Do not request penultimate hop popping for segment/label + + + + + + + + + + + + Redistribute information from another routing protocol + + + + + Redistribute BGP routes + + + #include + #include + #include + + + + + Redistribute connected routes + + + #include + #include + #include + + + + + Redistribute IS-IS routes + + + #include + #include + #include + + + + + Redistribute Kernel routes + + + #include + #include + #include + + + + + Redistribute RIP routes + + + #include + #include + #include + + + + + Redistribute Babel routes + + + #include + #include + #include + + + + + Redistribute statically configured routes + + + #include + #include + #include + + + + + Redistribute non-main Kernel Routing Table + + protocols static table + + + u32:1-200 + Policy route table number + + + + #include + #include + #include + + + + + + + Adjust refresh parameters + + + + + Refresh timer + + u32:10-1800 + Timer value in seconds + + + + + + + + + + + External summary address + + ipv4net + OSPF area number in dotted decimal notation + + + + + + + + + Don not advertise summary route + + + + + + Router tag + + u32:1-4294967295 + Router tag value + + + + + + + + + + + Adjust routing timers + + + + + Throttling adaptive timers + + + + + OSPF SPF timers + + + + + Delay from the first change received to SPF calculation + + u32:0-600000 + Delay in milliseconds + + + + + + 200 + + + + Initial hold time between consecutive SPF calculations + + u32:0-600000 + Initial hold time in milliseconds + + + + + + 1000 + + + + Maximum hold time + + u32:0-600000 + Max hold time in milliseconds + + + + + + 10000 + + + + + + + + -- cgit v1.2.3