diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-04-15 16:40:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-15 16:40:13 +0200 |
commit | f3d45223da40ea615d8b4ea73ec902462e3cebb4 (patch) | |
tree | 3d3bc8355dc1ba88286c34e1dc8c6be15523a1a6 /interface-definitions | |
parent | 8528764c97a5dd91ece7d3df5646fdacd648a588 (diff) | |
parent | 76dcecafca977b640dd16d8e68c4a050ca1af4fb (diff) | |
download | vyos-1x-f3d45223da40ea615d8b4ea73ec902462e3cebb4.tar.gz vyos-1x-f3d45223da40ea615d8b4ea73ec902462e3cebb4.zip |
Merge pull request #3309 from nicolas-fort/T5535
T5535: firewall: migrate command <set system ip disable-directed-broadcast> to firewall global-optinos
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/firewall/global-options.xml.i | 20 | ||||
-rw-r--r-- | interface-definitions/include/version/firewall-version.xml.i | 2 | ||||
-rw-r--r-- | interface-definitions/system_ip.xml.in | 6 |
3 files changed, 21 insertions, 7 deletions
diff --git a/interface-definitions/include/firewall/global-options.xml.i b/interface-definitions/include/firewall/global-options.xml.i index 415d85f05..9cd0b3239 100644 --- a/interface-definitions/include/firewall/global-options.xml.i +++ b/interface-definitions/include/firewall/global-options.xml.i @@ -44,6 +44,26 @@ </properties> <defaultValue>disable</defaultValue> </leafNode> + <leafNode name="directed-broadcast"> + <properties> + <help>Policy for handling IPv4 directed broadcast forwarding on all interfaces</help> + <completionHelp> + <list>enable disable</list> + </completionHelp> + <valueHelp> + <format>enable</format> + <description>Enable IPv4 directed broadcast forwarding on all interfaces</description> + </valueHelp> + <valueHelp> + <format>disable</format> + <description>Disable IPv4 directed broadcast forwarding on all interfaces</description> + </valueHelp> + <constraint> + <regex>(enable|disable)</regex> + </constraint> + </properties> + <defaultValue>enable</defaultValue> + </leafNode> <leafNode name="ip-src-route"> <properties> <help>Policy for handling IPv4 packets with source route option</help> diff --git a/interface-definitions/include/version/firewall-version.xml.i b/interface-definitions/include/version/firewall-version.xml.i index 6702ee041..fa8e26f78 100644 --- a/interface-definitions/include/version/firewall-version.xml.i +++ b/interface-definitions/include/version/firewall-version.xml.i @@ -1,3 +1,3 @@ <!-- include start from include/version/firewall-version.xml.i --> -<syntaxVersion component='firewall' version='14'></syntaxVersion> +<syntaxVersion component='firewall' version='15'></syntaxVersion> <!-- include end --> diff --git a/interface-definitions/system_ip.xml.in b/interface-definitions/system_ip.xml.in index 015eb270f..b4b5092fe 100644 --- a/interface-definitions/system_ip.xml.in +++ b/interface-definitions/system_ip.xml.in @@ -23,12 +23,6 @@ <valueless/> </properties> </leafNode> - <leafNode name="disable-directed-broadcast"> - <properties> - <help>Disable IPv4 directed broadcast forwarding on all interfaces</help> - <valueless/> - </properties> - </leafNode> <node name="multipath"> <properties> <help>IPv4 multipath settings</help> |