From 6325d1576b923f0abce19de49f940f5981411cf9 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 12 Mar 2021 20:41:46 +0100 Subject: xml: ospf: consolidate router-id and distance settings in common include files --- .../include/ospf/ospf-common-config.xml.i | 63 ++-------------------- .../include/ospf/ospf-distance-global.xml.i | 14 +++++ .../include/ospf/ospf-distance-per-protocol.xml.i | 38 +++++++++++++ .../include/ospf/ospf-router-id.xml.i | 14 +++++ 4 files changed, 69 insertions(+), 60 deletions(-) create mode 100644 interface-definitions/include/ospf/ospf-distance-global.xml.i create mode 100644 interface-definitions/include/ospf/ospf-distance-per-protocol.xml.i create mode 100644 interface-definitions/include/ospf/ospf-router-id.xml.i (limited to 'interface-definitions/include/ospf') diff --git a/interface-definitions/include/ospf/ospf-common-config.xml.i b/interface-definitions/include/ospf/ospf-common-config.xml.i index 96793913b..a9b2f0a2b 100644 --- a/interface-definitions/include/ospf/ospf-common-config.xml.i +++ b/interface-definitions/include/ospf/ospf-common-config.xml.i @@ -335,59 +335,13 @@ Administrative distance - - - OSPF administrative distance - - u32:1-255 - Administrative distance - - - - - - + #include OSPF administrative distance - - - 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 - - - - - - + #include @@ -632,18 +586,7 @@ - - - Override the default router identifier - - ipv4 - Override the default router identifier - - - - - - + #include #include diff --git a/interface-definitions/include/ospf/ospf-distance-global.xml.i b/interface-definitions/include/ospf/ospf-distance-global.xml.i new file mode 100644 index 000000000..930bd9640 --- /dev/null +++ b/interface-definitions/include/ospf/ospf-distance-global.xml.i @@ -0,0 +1,14 @@ + + + + Administrative distance + + u32:1-255 + Administrative distance + + + + + + + diff --git a/interface-definitions/include/ospf/ospf-distance-per-protocol.xml.i b/interface-definitions/include/ospf/ospf-distance-per-protocol.xml.i new file mode 100644 index 000000000..19debdea2 --- /dev/null +++ b/interface-definitions/include/ospf/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/ospf-router-id.xml.i b/interface-definitions/include/ospf/ospf-router-id.xml.i new file mode 100644 index 000000000..a719f40dc --- /dev/null +++ b/interface-definitions/include/ospf/ospf-router-id.xml.i @@ -0,0 +1,14 @@ + + + + Override the default router identifier + + ipv4 + Override the default router identifier + + + + + + + -- cgit v1.2.3