diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-16 19:45:17 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-18 19:52:54 +0200 |
commit | d32ee4ad297c8754d0841b84b958a12a926cfef9 (patch) | |
tree | 229c52cf8d4f1c3a83c7c1f4f129585646508080 /interface-definitions/include/interface | |
parent | 1a1094c28e32c3d6d072cf14a38aa631d51b8aee (diff) | |
download | vyos-1x-d32ee4ad297c8754d0841b84b958a12a926cfef9.tar.gz vyos-1x-d32ee4ad297c8754d0841b84b958a12a926cfef9.zip |
vxlan: geneve: T4370: support configuration of DF bit option
set interfaces vxlan vxlan0 parameters ip df <set|unset|inherit>
set interfaces geneve gnv0 parameters ip df <set|unset|inherit>
Diffstat (limited to 'interface-definitions/include/interface')
-rw-r--r-- | interface-definitions/include/interface/parameters-df.xml.i | 26 | ||||
-rw-r--r-- | interface-definitions/include/interface/parameters-dont-fragment.xml.i | 8 |
2 files changed, 26 insertions, 8 deletions
diff --git a/interface-definitions/include/interface/parameters-df.xml.i b/interface-definitions/include/interface/parameters-df.xml.i new file mode 100644 index 000000000..82436b5e4 --- /dev/null +++ b/interface-definitions/include/interface/parameters-df.xml.i @@ -0,0 +1,26 @@ +<!-- include start from interface/parameters-df.xml.i --> +<leafNode name="df"> + <properties> + <help>Usage of the DF (don't Fragment) bit in outgoing packets</help> + <completionHelp> + <list>set unset inherit</list> + </completionHelp> + <valueHelp> + <format>set</format> + <description>Always set DF (don't fragment) bit</description> + </valueHelp> + <valueHelp> + <format>unset</format> + <description>Always unset DF (don't fragment) bit</description> + </valueHelp> + <valueHelp> + <format>inherit</format> + <description>Copy from the original IP header</description> + </valueHelp> + <constraint> + <regex>(set|unset|inherit)</regex> + </constraint> + </properties> + <defaultValue>unset</defaultValue> +</leafNode> +<!-- include end --> diff --git a/interface-definitions/include/interface/parameters-dont-fragment.xml.i b/interface-definitions/include/interface/parameters-dont-fragment.xml.i deleted file mode 100644 index 6165184f8..000000000 --- a/interface-definitions/include/interface/parameters-dont-fragment.xml.i +++ /dev/null @@ -1,8 +0,0 @@ -<!-- include start from interface/parameters-dont-fragment.xml.i --> -<leafNode name="dont-fragment"> - <properties> - <help>Always set the DF (don't fragment) bit</help> - <valueless/> - </properties> -</leafNode> -<!-- include end --> |