From 4ed4d822cfd1d1aad19982783066a5e2431889b4 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 22 Jan 2021 17:38:22 +0100 Subject: ospf: T3236: provide full protocol support in XML and Python This commit provides the implementation of the OSPF CLI with a Jinja2 template that is loaded by FRR reload. It also contains some initial smoketests. There is yet no verify() implementation! --- .../include/ospf-metric-type.xml.i | 15 +++++++++++++++ interface-definitions/include/ospf-metric.xml.i | 21 --------------------- interface-definitions/include/ospf-route-map.xml.i | 10 ++++++++++ 3 files changed, 25 insertions(+), 21 deletions(-) create mode 100644 interface-definitions/include/ospf-metric-type.xml.i create mode 100644 interface-definitions/include/ospf-route-map.xml.i (limited to 'interface-definitions/include') 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 000000000..50f11960c --- /dev/null +++ b/interface-definitions/include/ospf-metric-type.xml.i @@ -0,0 +1,15 @@ + + + + OSPF metric type for default routes (default: 2) + + u32:1-2 + Metric type for default routes + + + + + + 2 + + diff --git a/interface-definitions/include/ospf-metric.xml.i b/interface-definitions/include/ospf-metric.xml.i index b2812ba36..3ce12e877 100644 --- a/interface-definitions/include/ospf-metric.xml.i +++ b/interface-definitions/include/ospf-metric.xml.i @@ -11,25 +11,4 @@ - - - OSPF metric type for default routes (default: 2) - - u32:1-2 - Metric type for default routes - - - - - - 2 - - - - Route map reference - - policy route-map - - - diff --git a/interface-definitions/include/ospf-route-map.xml.i b/interface-definitions/include/ospf-route-map.xml.i new file mode 100644 index 000000000..8dc5b37da --- /dev/null +++ b/interface-definitions/include/ospf-route-map.xml.i @@ -0,0 +1,10 @@ + + + + Route map reference + + policy route-map + + + + -- cgit v1.2.3