summaryrefslogtreecommitdiff
path: root/interface-definitions/include/routing-passive-interface.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-21 08:17:20 +0200
committerGitHub <noreply@github.com>2021-09-21 08:17:20 +0200
commit0dcea68dc73e27c8ba04100babb349d7d235ea72 (patch)
treeeb0b0bcdbf13bbb40cd1db7f997408b8f08c2281 /interface-definitions/include/routing-passive-interface.xml.i
parent1b269e0798f294b9b893190a14f5dc48e65207c5 (diff)
parenta8b2e52148da69615285d03e8f89c1ac03990861 (diff)
downloadvyos-1x-0dcea68dc73e27c8ba04100babb349d7d235ea72.tar.gz
vyos-1x-0dcea68dc73e27c8ba04100babb349d7d235ea72.zip
Merge pull request #1013 from sarthurdev/current
github: Add .gitattributes to correct language detection
Diffstat (limited to 'interface-definitions/include/routing-passive-interface.xml.i')
-rw-r--r--interface-definitions/include/routing-passive-interface.xml.i24
1 files changed, 24 insertions, 0 deletions
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 -->