summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/include/isis-common.xml.i22
-rw-r--r--op-mode-definitions/include/ldp-sync.xml.i19
-rw-r--r--op-mode-definitions/include/ospf-common.xml.i20
3 files changed, 24 insertions, 37 deletions
diff --git a/op-mode-definitions/include/isis-common.xml.i b/op-mode-definitions/include/isis-common.xml.i
index 53e85a7ef..b5b4f9b5d 100644
--- a/op-mode-definitions/include/isis-common.xml.i
+++ b/op-mode-definitions/include/isis-common.xml.i
@@ -56,31 +56,15 @@
</tagNode>
<node name="mpls">
<properties>
- <help>Show IS-IS MPLS specific information</help>
+ <help>Show MPLS information</help>
</properties>
<children>
- <node name="ldp-sync">
- <properties>
- <help>Show IS-IS LDP-IGP synchronization information</help>
- </properties>
- <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
- <children>
- <tagNode name="interface">
- <properties>
- <help>Show specific IS-IS LDP-IGP synchronization for an interface</help>
- <completionHelp>
- <script>${vyos_completion_dir}/list_interfaces</script>
- </completionHelp>
- </properties>
- <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
- </tagNode>
- </children>
- </node>
+ #include <include/ldp-sync.xml.i>
</children>
</node>
<node name="mpls-te">
<properties>
- <help>Show IS-IS MPLS traffic engineering information</help>
+ <help>Show MPLS traffic engineering information</help>
</properties>
<children>
<leafNode name="router">
diff --git a/op-mode-definitions/include/ldp-sync.xml.i b/op-mode-definitions/include/ldp-sync.xml.i
new file mode 100644
index 000000000..b3be8f503
--- /dev/null
+++ b/op-mode-definitions/include/ldp-sync.xml.i
@@ -0,0 +1,19 @@
+<!-- included start from ldp-sync.xml.i -->
+<node name="ldp-sync">
+ <properties>
+ <help>Show LDP-IGP synchronization information</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ <children>
+ <tagNode name="interface">
+ <properties>
+ <help>Show specific LDP-IGP synchronization for an interface</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces</script>
+ </completionHelp>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </tagNode>
+ </children>
+</node>
+<!-- included end --> \ No newline at end of file
diff --git a/op-mode-definitions/include/ospf-common.xml.i b/op-mode-definitions/include/ospf-common.xml.i
index 7d9e541cf..d1a62b690 100644
--- a/op-mode-definitions/include/ospf-common.xml.i
+++ b/op-mode-definitions/include/ospf-common.xml.i
@@ -519,26 +519,10 @@
</tagNode>
<node name="mpls">
<properties>
- <help>Show OSPF MPLS specific information</help>
+ <help>Show MPLS information</help>
</properties>
<children>
- <node name="ldp-sync">
- <properties>
- <help>Show OSPF LDP-IGP synchronization information</help>
- </properties>
- <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
- <children>
- <tagNode name="interface">
- <properties>
- <help>Show specific OSPF LDP-IGP synchronization for an interface</help>
- <completionHelp>
- <script>${vyos_completion_dir}/list_interfaces</script>
- </completionHelp>
- </properties>
- <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
- </tagNode>
- </children>
- </node>
+ #include <include/ldp-sync.xml.i>
</children>
</node>
<node name="neighbor">