From ddb793fe29ee1847a8f4e7defe066a140a6ae892 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 6 Feb 2021 10:48:54 +0100 Subject: xml: rip: ospf: add passive-interface building block --- .../include/routing-passive-interface-xml.i | 24 ++++++++++++++++++++++ interface-definitions/protocols-ospf.xml.in | 23 +-------------------- interface-definitions/protocols-rip.xml.in | 19 +---------------- 3 files changed, 26 insertions(+), 40 deletions(-) create mode 100644 interface-definitions/include/routing-passive-interface-xml.i diff --git a/interface-definitions/include/routing-passive-interface-xml.i b/interface-definitions/include/routing-passive-interface-xml.i new file mode 100644 index 000000000..8478620cf --- /dev/null +++ b/interface-definitions/include/routing-passive-interface-xml.i @@ -0,0 +1,24 @@ + + + + Suppress routing updates on an interface + + default + + + + txt + Interface to be passive (i.e. suppress routing updates) + + + default + Default to suppress routing updates on all interfaces + + + ^(default)$ + + + + + + diff --git a/interface-definitions/protocols-ospf.xml.in b/interface-definitions/protocols-ospf.xml.in index ca848c289..ee350fb17 100644 --- a/interface-definitions/protocols-ospf.xml.in +++ b/interface-definitions/protocols-ospf.xml.in @@ -681,28 +681,7 @@ - - - Suppress routing updates on an interface - - default - - - - txt - Interface to be passive (i.e. suppress routing updates) - - - default - Default to suppress routing updates on all interfaces - - - ^(default)$ - - - - - + #include Interface to exclude when using 'passive-interface default' diff --git a/interface-definitions/protocols-rip.xml.in b/interface-definitions/protocols-rip.xml.in index 385784f92..c91d2c66b 100644 --- a/interface-definitions/protocols-rip.xml.in +++ b/interface-definitions/protocols-rip.xml.in @@ -135,24 +135,7 @@ #include - - - Passive interface - - txt - Suppress routing updates on interface - - - default - Suppress routing updates on all interfaces by default - - - default - - - - - + #include Redistribute information from another routing protocol -- cgit v1.2.3