summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface-source-validation.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-04 13:48:43 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-04 13:48:43 +0100
commitf8c01ef3cf31e9d0fe57a51e32a7352079d0d7e7 (patch)
tree8394b4110091096a34784db26a1e27ba0265ade7 /interface-definitions/include/interface-source-validation.xml.i
parentf8bb85f9be357d0788117368e44137fd570aa902 (diff)
downloadvyos-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/interface-source-validation.xml.i')
-rw-r--r--interface-definitions/include/interface-source-validation.xml.i25
1 files changed, 25 insertions, 0 deletions
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 -->