summaryrefslogtreecommitdiff
path: root/op-mode-definitions/include/bgp/afi-ipv4-ipv6-flowspec.xml.i
diff options
context:
space:
mode:
authorViacheslav Hletenko <vgletenko@vyos.io>2022-03-11 18:11:44 +0000
committerViacheslav Hletenko <vgletenko@vyos.io>2022-03-11 18:11:44 +0000
commitb1d4be53cd133e9a63f8e29e400f1d7bf18b8384 (patch)
tree49d07aeba43738779740de4051420ced3df9e478 /op-mode-definitions/include/bgp/afi-ipv4-ipv6-flowspec.xml.i
parentc1e04cea0817db07b22a8bd8e6b2f2c0a1e682f4 (diff)
downloadvyos-1x-b1d4be53cd133e9a63f8e29e400f1d7bf18b8384.tar.gz
vyos-1x-b1d4be53cd133e9a63f8e29e400f1d7bf18b8384.zip
bgp: T4265: Add op-mode for bgp flowspec routes
Diffstat (limited to 'op-mode-definitions/include/bgp/afi-ipv4-ipv6-flowspec.xml.i')
-rw-r--r--op-mode-definitions/include/bgp/afi-ipv4-ipv6-flowspec.xml.i25
1 files changed, 25 insertions, 0 deletions
diff --git a/op-mode-definitions/include/bgp/afi-ipv4-ipv6-flowspec.xml.i b/op-mode-definitions/include/bgp/afi-ipv4-ipv6-flowspec.xml.i
new file mode 100644
index 000000000..34228fdd1
--- /dev/null
+++ b/op-mode-definitions/include/bgp/afi-ipv4-ipv6-flowspec.xml.i
@@ -0,0 +1,25 @@
+<!-- included start from bgp/afi-ipv4-ipv6-flowspec.xml.i -->
+<tagNode name="flowspec">
+ <properties>
+ <help>Network in the BGP routing table to display</help>
+ <completionHelp>
+ <list>&lt;x.x.x.x&gt; &lt;x.x.x.x/x&gt; &lt;h:h:h:h:h:h:h:h&gt; &lt;h:h:h:h:h:h:h:h/x&gt;</list>
+ </completionHelp>
+ </properties>
+ <children>
+ #include <include/bgp/prefix-bestpath-multipath.xml.i>
+ </children>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+</tagNode>
+<node name="flowspec">
+ <properties>
+ <help>Flowspec Address Family modifier</help>
+ </properties>
+ <children>
+ #include <include/bgp/afi-common.xml.i>
+ #include <include/bgp/afi-ipv4-ipv6-common.xml.i>
+ #include <include/vtysh-generic-detail.xml.i>
+ </children>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+</node>
+<!-- included end -->