diff options
author | Christian Breunig <christian@breunig.cc> | 2023-04-12 21:29:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-12 21:29:09 +0200 |
commit | f0c274a2187a6fadb9bc49108be95292fad679a8 (patch) | |
tree | 5fec1ade05cf0fd50bda1fbd4ebb87049e09069b /op-mode-definitions/include | |
parent | c04976f3ccfb5a739a679050a4238a2cfa1e81d8 (diff) | |
parent | 9347bfa209626167f7f04856a81fc4ccab1aaccd (diff) | |
download | vyos-1x-f0c274a2187a6fadb9bc49108be95292fad679a8.tar.gz vyos-1x-f0c274a2187a6fadb9bc49108be95292fad679a8.zip |
Merge pull request #1904 from Cheeze-It/current
T5081: ISIS and OSPF syncronization with IGP-LDP sync
Diffstat (limited to 'op-mode-definitions/include')
-rw-r--r-- | op-mode-definitions/include/isis-common.xml.i | 12 | ||||
-rw-r--r-- | op-mode-definitions/include/ldp-sync.xml.i | 19 | ||||
-rw-r--r-- | op-mode-definitions/include/ospf-common.xml.i | 10 |
3 files changed, 38 insertions, 3 deletions
diff --git a/op-mode-definitions/include/isis-common.xml.i b/op-mode-definitions/include/isis-common.xml.i index 0e20861c7..b5b4f9b5d 100644 --- a/op-mode-definitions/include/isis-common.xml.i +++ b/op-mode-definitions/include/isis-common.xml.i @@ -54,9 +54,17 @@ </properties> <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> </tagNode> +<node name="mpls"> + <properties> + <help>Show MPLS information</help> + </properties> + <children> + #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"> @@ -176,4 +184,4 @@ </children> <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> </node> -<!-- included end --> +<!-- included end -->
\ No newline at end of file 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 098254f4e..d1a62b690 100644 --- a/op-mode-definitions/include/ospf-common.xml.i +++ b/op-mode-definitions/include/ospf-common.xml.i @@ -517,6 +517,14 @@ </properties> <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> </tagNode> +<node name="mpls"> + <properties> + <help>Show MPLS information</help> + </properties> + <children> + #include <include/ldp-sync.xml.i> + </children> +</node> <node name="neighbor"> <properties> <help>Show IPv4 OSPF neighbor information</help> @@ -547,4 +555,4 @@ </properties> <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> </leafNode> -<!-- included end --> +<!-- included end -->
\ No newline at end of file |