summaryrefslogtreecommitdiff
path: root/op-mode-definitions/include/bgp/afi-ipv4-ipv6-flowspec.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-03-12 08:24:50 +0100
committerGitHub <noreply@github.com>2022-03-12 08:24:50 +0100
commit2d3f5a03de3ebfd381582e36801c7e63d2493c71 (patch)
tree172e18d9514b44d80091dff0187bc972b4e3c5c0 /op-mode-definitions/include/bgp/afi-ipv4-ipv6-flowspec.xml.i
parent7d69edf280fd5c5757b8975e9310edfd8e1ea3be (diff)
parentb1d4be53cd133e9a63f8e29e400f1d7bf18b8384 (diff)
downloadvyos-1x-2d3f5a03de3ebfd381582e36801c7e63d2493c71.tar.gz
vyos-1x-2d3f5a03de3ebfd381582e36801c7e63d2493c71.zip
Merge pull request #1246 from sever-sever/T4265
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 -->