summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-isis.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-10 11:01:14 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-10 11:01:14 +0100
commitef6d9333c9b985bef6ca662bcae56044cded76a1 (patch)
tree10ca4dc647f5853ab9e887e8e6ab88b680877426 /op-mode-definitions/show-isis.xml.in
parent7c7122fd62e8eed13e2b08f69f6fcf8093a926db (diff)
parent1e3de0926517fe7b7b1bd14aa1bd9d74fc021505 (diff)
downloadvyos-1x-ef6d9333c9b985bef6ca662bcae56044cded76a1.tar.gz
vyos-1x-ef6d9333c9b985bef6ca662bcae56044cded76a1.zip
Merge branch 'op-mode-xml' into current
* op-mode-xml: op-mode: T3178: migrate most of the OSPFv3 parts to re-includable snippets xml: op-mode: add preprocessor support as known from configuration mode Debian: vyos-1x depends on python3-spinx for "make docs"
Diffstat (limited to 'op-mode-definitions/show-isis.xml.in')
-rw-r--r--op-mode-definitions/show-isis.xml.in191
1 files changed, 191 insertions, 0 deletions
diff --git a/op-mode-definitions/show-isis.xml.in b/op-mode-definitions/show-isis.xml.in
new file mode 100644
index 000000000..4e308730f
--- /dev/null
+++ b/op-mode-definitions/show-isis.xml.in
@@ -0,0 +1,191 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="isis">
+ <properties>
+ <help>IS-IS routing protocol</help>
+ </properties>
+ <children>
+ <node name="database">
+ <properties>
+ <help>Show IS-IS link state database</help>
+ </properties>
+ <children>
+ <leafNode name="detail">
+ <properties>
+ <help>Show detailed information</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show isis database detail"</command>
+ </leafNode>
+ </children>
+ <command>/usr/bin/vtysh -c "show isis database"</command>
+ </node>
+ <tagNode name="database">
+ <properties>
+ <help>Show IS-IS link state database PDU</help>
+ <completionHelp>
+ <list>lsp-id detail</list>
+ </completionHelp>
+ </properties>
+ <command>/usr/bin/vtysh -c "show isis database $4"</command>
+ </tagNode>
+ <leafNode name="hostname">
+ <properties>
+ <help>Show IS-IS dynamic hostname mapping</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show isis hostname"</command>
+ </leafNode>
+ <node name="interface">
+ <properties>
+ <help>Show IS-IS interfaces</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces.py</script>
+ </completionHelp>
+ </properties>
+ <children>
+ <leafNode name="detail">
+ <properties>
+ <help>Show detailed information</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show isis interface detail"</command>
+ </leafNode>
+ </children>
+ <command>/usr/bin/vtysh -c "show isis interface"</command>
+ </node>
+ <tagNode name="interface">
+ <properties>
+ <help>Show specific IS-IS interface</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces.py</script>
+ </completionHelp>
+ </properties>
+ <command>/usr/bin/vtysh -c "show isis interface $4"</command>
+ </tagNode>
+ <node name="traffic-engineering">
+ <properties>
+ <help>Show IS-IS MPLS traffic engineering information</help>
+ </properties>
+ <children>
+ <leafNode name="router">
+ <properties>
+ <help>Show router information</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show isis mpls-te router"</command>
+ </leafNode>
+ <leafNode name="interface">
+ <properties>
+ <help>Show interface information</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show isis mpls-te interface"</command>
+ </leafNode>
+ <tagNode name="interface">
+ <properties>
+ <help>Show specific IS-IS interface</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces.py</script>
+ </completionHelp>
+ </properties>
+ <command>/usr/bin/vtysh -c "show isis mpls-te interface $5"</command>
+ </tagNode>
+ </children>
+ </node>
+ <node name="neighbor">
+ <properties>
+ <help>Show IS-IS neighbor adjacencies</help>
+ </properties>
+ <children>
+ <leafNode name="detail">
+ <properties>
+ <help>Show detailed information</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show isis neighbor detail"</command>
+ </leafNode>
+ </children>
+ <command>/usr/bin/vtysh -c "show isis neighbor"</command>
+ </node>
+ <tagNode name="neighbor">
+ <properties>
+ <help>Show specific IS-IS neighbor adjacency </help>
+ <completionHelp>
+ <list>system-id</list>
+ </completionHelp>
+ </properties>
+ <command>/usr/bin/vtysh -c "show isis neighbor $4"</command>
+ </tagNode>
+ <node name="route">
+ <properties>
+ <help>Show IS-IS routing table</help>
+ </properties>
+ <children>
+ <leafNode name="level-1">
+ <properties>
+ <help>Show level-1 routes</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show isis route level-1"</command>
+ </leafNode>
+ <leafNode name="level-2">
+ <properties>
+ <help>Show level-2 routes</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show isis route level-2"</command>
+ </leafNode>
+ </children>
+ <command>/usr/bin/vtysh -c "show isis route"</command>
+ </node>
+ <node name="segment-routing">
+ <properties>
+ <help>Show IS-IS Segment-Routing (SPRING) information</help>
+ </properties>
+ <children>
+ <leafNode name="node">
+ <properties>
+ <help>Show node information</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show isis segment-routing node"</command>
+ </leafNode>
+ <leafNode name="prefix-sids">
+ <properties>
+ <help>Show prefix segment IDs</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show isis segment-routing prefix-sids"</command>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="spf-delay">
+ <properties>
+ <help>Show IS-IS SPF delay parameters</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show isis spf-delay-ietf"</command>
+ </leafNode>
+ <leafNode name="summary">
+ <properties>
+ <help>Show IS-IS information summary</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show isis summary"</command>
+ </leafNode>
+ <node name="topology">
+ <properties>
+ <help>Show IS-IS paths to Intermediate Systems</help>
+ </properties>
+ <children>
+ <leafNode name="level-1">
+ <properties>
+ <help>Show level-1 routes</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show isis topology level-1"</command>
+ </leafNode>
+ <leafNode name="level-2">
+ <properties>
+ <help>Show level-2 routes</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show isis topology level-2"</command>
+ </leafNode>
+ </children>
+ <command>/usr/bin/vtysh -c "show isis topology"</command>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>