diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-09 14:31:48 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-10 10:26:59 +0100 |
commit | e982b78f24d1dca3d2bc92a39b8e9fcf35b39a37 (patch) | |
tree | 8bddb17c245e191be4d45a1f67c31ba2cdd0afc0 /op-mode-definitions/show-ipv6-prefix-list.xml.in | |
parent | af2e707d0fc447b84699eb10928a71507e90a02e (diff) | |
download | vyos-1x-e982b78f24d1dca3d2bc92a39b8e9fcf35b39a37.tar.gz vyos-1x-e982b78f24d1dca3d2bc92a39b8e9fcf35b39a37.zip |
xml: op-mode: add preprocessor support as known from configuration mode
Diffstat (limited to 'op-mode-definitions/show-ipv6-prefix-list.xml.in')
-rw-r--r-- | op-mode-definitions/show-ipv6-prefix-list.xml.in | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/op-mode-definitions/show-ipv6-prefix-list.xml.in b/op-mode-definitions/show-ipv6-prefix-list.xml.in new file mode 100644 index 000000000..e003ad110 --- /dev/null +++ b/op-mode-definitions/show-ipv6-prefix-list.xml.in @@ -0,0 +1,92 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="show"> + <children> + <node name="ipv6"> + <properties> + <help>Show IPv6 routing information</help> + </properties> + <children> + <node name="prefix-list"> + <properties> + <help>Show IPv6 prefix-lists</help> + </properties> + <command>vtysh -c "show ipv6 prefix-list"</command> + <children> + <node name="detail"> + <properties> + <help>Show detail of IPv6 prefix-lists</help> + </properties> + <command>vtysh -c "show ipv6 prefix-list detail"</command> + </node> + <tagNode name="detail"> + <properties> + <help>Show detail of specified IPv6 prefix-list</help> + </properties> + <command>vtysh -c "show ipv6 prefix-list detail $5"</command> + </tagNode> + <node name="summary"> + <properties> + <help>Show summary of IPv6 prefix-lists</help> + </properties> + <command>vtysh -c "show ipv6 prefix-list summary"</command> + </node> + <tagNode name="summary"> + <properties> + <help>Show summary of specified IPv6 prefix-list</help> + </properties> + <command>vtysh -c "show ipv6 prefix-list summary $5"</command> + </tagNode> + </children> + </node> + <tagNode name="prefix-list"> + <properties> + <help>Show specified IPv6 prefix-list</help> + <completionHelp> + <list>WORD</list> + </completionHelp> + </properties> + <command>vtysh -c "show ipv6 prefix-list $4"</command> + <children> + <node name="node.tag"> + <properties> + <help>Show select prefix of specified IPv6 prefix-list</help> + <completionHelp> + <list><h:h:h:h:h:h:h:h/x></list> + </completionHelp> + </properties> + <command>vtysh -c "show ipv6 prefix-list $4 $5"</command> + <children> + <node name="first-match"> + <properties> + <help>Show first-match from select prefix of named IPv6 prefix-list</help> + </properties> + <command>vtysh -c "show ipv6 prefix-list $4 $5 first-match"</command> + </node> + <node name="longer"> + <properties> + <help>Show longer match of select prefix from named IPv6 prefix-list</help> + </properties> + <command>vtysh -c "show ipv6 prefix-list $4 $5 longer"</command> + </node> + </children> + </node> + <node name="seq"> + <properties> + <help>Show specified sequence from specified IPv6 prefix-list</help> + </properties> + <command>vtysh -c "show ipv6 prefix-list $4 seq"</command> + </node> + <tagNode name="seq"> + <properties> + <help>Show specified sequence from specified IPv6 prefix-list</help> + </properties> + <command>vtysh -c "show ipv6 prefix-list $4 seq $6"</command> + </tagNode> + </children> + </tagNode> + </children> + </node> + </children> + </node> +</interfaceDefinition> |