diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-12-04 13:48:43 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-12-04 13:48:43 +0100 |
commit | f8c01ef3cf31e9d0fe57a51e32a7352079d0d7e7 (patch) | |
tree | 8394b4110091096a34784db26a1e27ba0265ade7 /interface-definitions/include | |
parent | f8bb85f9be357d0788117368e44137fd570aa902 (diff) | |
download | vyos-1x-f8c01ef3cf31e9d0fe57a51e32a7352079d0d7e7.tar.gz vyos-1x-f8c01ef3cf31e9d0fe57a51e32a7352079d0d7e7.zip |
vyos.ifconfig: T1579: migrate "ip source-validation" option from vyatta-cfg-quagga
Diffstat (limited to 'interface-definitions/include')
-rw-r--r-- | interface-definitions/include/interface-ipv4-options.xml.i | 1 | ||||
-rw-r--r-- | interface-definitions/include/interface-source-validation.xml.i | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/interface-definitions/include/interface-ipv4-options.xml.i b/interface-definitions/include/interface-ipv4-options.xml.i index 416e1adf5..c63f89890 100644 --- a/interface-definitions/include/interface-ipv4-options.xml.i +++ b/interface-definitions/include/interface-ipv4-options.xml.i @@ -12,6 +12,7 @@ #include <include/interface-enable-arp-ignore.xml.i> #include <include/interface-enable-proxy-arp.xml.i> #include <include/interface-proxy-arp-pvlan.xml.i> + #include <include/interface-source-validation.xml.i> </children> </node> <!-- included end --> diff --git a/interface-definitions/include/interface-source-validation.xml.i b/interface-definitions/include/interface-source-validation.xml.i new file mode 100644 index 000000000..32cec464e --- /dev/null +++ b/interface-definitions/include/interface-source-validation.xml.i @@ -0,0 +1,25 @@ +<!-- included start from interface-source-validation.xml.i --> +<leafNode name="source-validation"> + <properties> + <help>Source validation by reversed path (RFC3704)</help> + <completionHelp> + <list>strict loose disable</list> + </completionHelp> + <valueHelp> + <format>strict</format> + <description>Enable Strict Reverse Path Forwarding as defined in RFC3704</description> + </valueHelp> + <valueHelp> + <format>loose</format> + <description>Enable Loose Reverse Path Forwarding as defined in RFC3704</description> + </valueHelp> + <valueHelp> + <format>disable</format> + <description>No source validation</description> + </valueHelp> + <constraint> + <regex>^(strict|loose|disable)$</regex> + </constraint> + </properties> +</leafNode> +<!-- included end --> |