diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-11-07 16:48:00 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-11-07 16:48:00 +0100 |
commit | 56a966f94b5c5bbe7f57b80316f3ba389534ad5f (patch) | |
tree | a14025810c0210c651205e87e21d3919d4fe0fbb /interface-definitions/include/generic-interface-broadcast.xml.i | |
parent | a4cf71912d52de4398273405b5682d8da5e1dbe3 (diff) | |
download | vyos-1x-56a966f94b5c5bbe7f57b80316f3ba389534ad5f.tar.gz vyos-1x-56a966f94b5c5bbe7f57b80316f3ba389534ad5f.zip |
xml: provide and use common interface-name building blocks
Diffstat (limited to 'interface-definitions/include/generic-interface-broadcast.xml.i')
-rw-r--r-- | interface-definitions/include/generic-interface-broadcast.xml.i | 17 |
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 --> |