From a8b2e52148da69615285d03e8f89c1ac03990861 Mon Sep 17 00:00:00 2001 From: sarthurdev <965089+sarthurdev@users.noreply.github.com> Date: Mon, 20 Sep 2021 15:00:52 +0200 Subject: xml: Update routing-passive-interface-xml.i file extension to standard .xml.i --- .../include/routing-passive-interface-xml.i | 24 ---------------------- .../include/routing-passive-interface.xml.i | 24 ++++++++++++++++++++++ interface-definitions/protocols-rip.xml.in | 2 +- 3 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 interface-definitions/include/routing-passive-interface-xml.i 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 deleted file mode 100644 index 9bd4dac2a..000000000 --- a/interface-definitions/include/routing-passive-interface-xml.i +++ /dev/null @@ -1,24 +0,0 @@ -<!-- include start from routing-passive-interface-xml.i --> -<leafNode name="passive-interface"> - <properties> - <help>Suppress routing updates on an interface</help> - <completionHelp> - <list>default</list> - <script>${vyos_completion_dir}/list_interfaces.py</script> - </completionHelp> - <valueHelp> - <format>txt</format> - <description>Interface to be passive (i.e. suppress routing updates)</description> - </valueHelp> - <valueHelp> - <format>default</format> - <description>Default to suppress routing updates on all interfaces</description> - </valueHelp> - <constraint> - <regex>^(default)$</regex> - <validator name="interface-name"/> - </constraint> - <multi/> - </properties> -</leafNode> -<!-- include end --> 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..43dfb5e44 --- /dev/null +++ b/interface-definitions/include/routing-passive-interface.xml.i @@ -0,0 +1,24 @@ +<!-- include start from routing-passive-interface.xml.i --> +<leafNode name="passive-interface"> + <properties> + <help>Suppress routing updates on an interface</help> + <completionHelp> + <list>default</list> + <script>${vyos_completion_dir}/list_interfaces.py</script> + </completionHelp> + <valueHelp> + <format>txt</format> + <description>Interface to be passive (i.e. suppress routing updates)</description> + </valueHelp> + <valueHelp> + <format>default</format> + <description>Default to suppress routing updates on all interfaces</description> + </valueHelp> + <constraint> + <regex>^(default)$</regex> + <validator name="interface-name"/> + </constraint> + <multi/> + </properties> +</leafNode> +<!-- include end --> diff --git a/interface-definitions/protocols-rip.xml.in b/interface-definitions/protocols-rip.xml.in index 4fcfcfc27..d3be4e1af 100644 --- a/interface-definitions/protocols-rip.xml.in +++ b/interface-definitions/protocols-rip.xml.in @@ -155,7 +155,7 @@ #include <include/static/static-route-distance.xml.i> </children> </tagNode> - #include <include/routing-passive-interface-xml.i> + #include <include/routing-passive-interface.xml.i> <node name="redistribute"> <properties> <help>Redistribute information from another routing protocol</help> -- cgit v1.2.3