diff options
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/policy-route.xml.in | 8 | ||||
-rw-r--r-- | op-mode-definitions/show-virtual-server.xml.in | 13 |
2 files changed, 17 insertions, 4 deletions
diff --git a/op-mode-definitions/policy-route.xml.in b/op-mode-definitions/policy-route.xml.in index c998e5487..bd4a61dc9 100644 --- a/op-mode-definitions/policy-route.xml.in +++ b/op-mode-definitions/policy-route.xml.in @@ -84,17 +84,17 @@ <help>Show policy information</help> </properties> <children> - <node name="ipv6-route"> + <node name="route6"> <properties> <help>Show IPv6 policy chain</help> </properties> <command>sudo ${vyos_op_scripts_dir}/policy_route.py --action show_all --ipv6</command> </node> - <tagNode name="ipv6-route"> + <tagNode name="route6"> <properties> <help>Show IPv6 policy chains</help> <completionHelp> - <path>policy ipv6-route</path> + <path>policy route6</path> </completionHelp> </properties> <children> @@ -102,7 +102,7 @@ <properties> <help>Show summary of IPv6 policy rules</help> <completionHelp> - <path>policy ipv6-route ${COMP_WORDS[4]} rule</path> + <path>policy route6 ${COMP_WORDS[4]} rule</path> </completionHelp> </properties> <command>sudo ${vyos_op_scripts_dir}/policy_route.py --action show --name $4 --rule $6 --ipv6</command> diff --git a/op-mode-definitions/show-virtual-server.xml.in b/op-mode-definitions/show-virtual-server.xml.in new file mode 100644 index 000000000..5dbd3c759 --- /dev/null +++ b/op-mode-definitions/show-virtual-server.xml.in @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interfaceDefinition> + <node name="show"> + <children> + <node name="virtual-server"> + <properties> + <help>Show virtual server information</help> + </properties> + <command>${vyos_op_scripts_dir}/show_virtual_server.py</command> + </node> + </children> + </node> +</interfaceDefinition> |