summaryrefslogtreecommitdiff
path: root/op-mode-definitions/include/bgp/reset-bgp-afi-common.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-05 10:39:32 +0200
committerChristian Poessinger <christian@poessinger.com>2022-07-05 12:21:45 +0200
commitda961052291515f2e31bb4eca4d9091fad8c4d3c (patch)
tree3f6968bdbf434e3d02d001cee9ef15d731475fcf /op-mode-definitions/include/bgp/reset-bgp-afi-common.xml.i
parent4d405cc696b777c3ed96f2d22c7c82ca40c39a88 (diff)
downloadvyos-1x-da961052291515f2e31bb4eca4d9091fad8c4d3c.tar.gz
vyos-1x-da961052291515f2e31bb4eca4d9091fad8c4d3c.zip
op-mode: bgp: T4494: add "reset bgp" op-mode tree
Diffstat (limited to 'op-mode-definitions/include/bgp/reset-bgp-afi-common.xml.i')
-rw-r--r--op-mode-definitions/include/bgp/reset-bgp-afi-common.xml.i20
1 files changed, 20 insertions, 0 deletions
diff --git a/op-mode-definitions/include/bgp/reset-bgp-afi-common.xml.i b/op-mode-definitions/include/bgp/reset-bgp-afi-common.xml.i
new file mode 100644
index 000000000..2f88daad3
--- /dev/null
+++ b/op-mode-definitions/include/bgp/reset-bgp-afi-common.xml.i
@@ -0,0 +1,20 @@
+<!-- included start from bgp/reset-bgp-afi-common.xml.i -->
+<node name="external">
+ <properties>
+ <help>Reset all external peers</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ <children>
+ #include <include/bgp/reset-bgp-neighbor-options.xml.i>
+ </children>
+</node>
+<tagNode name="1-4294967295">
+ <properties>
+ <help>Reset peers with the AS number</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ <children>
+ #include <include/bgp/reset-bgp-neighbor-options.xml.i>
+ </children>
+</tagNode>
+<!-- included end -->