summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2022-02-17 09:22:38 -0500
committerGitHub <noreply@github.com>2022-02-17 09:22:38 -0500
commitb14e91cb5547c8e3b9cc511aeb71d189f56cd55d (patch)
tree9bbb418f5740b0f62f7024fec369a3f98297df12 /interface-definitions/include
parent267818cb247f66dce4509b8e187a0ead7f1bcd97 (diff)
parentb99432ee2dc84a1d8cef59ef534392867d10de1e (diff)
downloadvyos-1x-b14e91cb5547c8e3b9cc511aeb71d189f56cd55d.tar.gz
vyos-1x-b14e91cb5547c8e3b9cc511aeb71d189f56cd55d.zip
Merge pull request #1224 from sever-sever/T1972-equ
vrrp: T1972: Ability to set IP address on not vrrp interface
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/generic-interface-broadcast.xml.i17
1 files changed, 17 insertions, 0 deletions
diff --git a/interface-definitions/include/generic-interface-broadcast.xml.i b/interface-definitions/include/generic-interface-broadcast.xml.i
new file mode 100644
index 000000000..6f76dde1a
--- /dev/null
+++ b/interface-definitions/include/generic-interface-broadcast.xml.i
@@ -0,0 +1,17 @@
+<!-- include start from generic-interface-broadcast.xml.i -->
+<leafNode name="interface">
+ <properties>
+ <help>Interface Name to use</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces.py --broadcast</script>
+ </completionHelp>
+ <valueHelp>
+ <format>txt</format>
+ <description>Interface name</description>
+ </valueHelp>
+ <constraint>
+ <validator name="interface-name"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->