summaryrefslogtreecommitdiff
path: root/op-mode-definitions/include/ospfv3/self-originated.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-27 22:12:11 +0200
committerChristian Poessinger <christian@poessinger.com>2021-04-27 22:25:18 +0200
commitcf998c040c371be20be8035895989fcee3c06429 (patch)
tree3632589b8e6f15e4fd7c1816b9458af495ca8992 /op-mode-definitions/include/ospfv3/self-originated.xml.i
parentc76389156c41414a3a4e381535151607a42fb06f (diff)
downloadvyos-1x-cf998c040c371be20be8035895989fcee3c06429.tar.gz
vyos-1x-cf998c040c371be20be8035895989fcee3c06429.zip
op-mode: ospfv3: T3335: re-use common vtysh_wrapper.sh wrapper
Instead of renaming the OSPFv3 commands for every individual XML invocation, also re-use the common helper shell script. One source, one truth!
Diffstat (limited to 'op-mode-definitions/include/ospfv3/self-originated.xml.i')
-rw-r--r--op-mode-definitions/include/ospfv3/self-originated.xml.i13
1 files changed, 13 insertions, 0 deletions
diff --git a/op-mode-definitions/include/ospfv3/self-originated.xml.i b/op-mode-definitions/include/ospfv3/self-originated.xml.i
new file mode 100644
index 000000000..734f3f8ad
--- /dev/null
+++ b/op-mode-definitions/include/ospfv3/self-originated.xml.i
@@ -0,0 +1,13 @@
+<!-- included start from ospfv3/self-originated.xml.i -->
+<node name="self-originated">
+ <properties>
+ <help>Show Self-originated LSAs</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ <children>
+ #include <include/ospfv3/detail.xml.i>
+ #include <include/ospfv3/dump.xml.i>
+ #include <include/ospfv3/internal.xml.i>
+ </children>
+</node>
+<!-- included end -->