diff options
author | John Estabrook <jestabro@vyos.io> | 2022-12-19 12:25:40 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2022-12-21 17:24:11 -0800 |
commit | 46b619469d5858c723d13ae8c6661eb38d8812d1 (patch) | |
tree | 5f5f454845792a2750a3bbf0b690fd7bd18adbe1 /op-mode-definitions/show-interfaces-ethernet.xml.in | |
parent | 8db67ca5a3e6889a210719e769be716f629e9d02 (diff) | |
download | vyos-1x-46b619469d5858c723d13ae8c6661eb38d8812d1.tar.gz vyos-1x-46b619469d5858c723d13ae8c6661eb38d8812d1.zip |
interfaces: T4866: call interfaces.py in op-mode-definitions
Diffstat (limited to 'op-mode-definitions/show-interfaces-ethernet.xml.in')
-rw-r--r-- | op-mode-definitions/show-interfaces-ethernet.xml.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/op-mode-definitions/show-interfaces-ethernet.xml.in b/op-mode-definitions/show-interfaces-ethernet.xml.in index f8d1c9395..40d4adbb2 100644 --- a/op-mode-definitions/show-interfaces-ethernet.xml.in +++ b/op-mode-definitions/show-interfaces-ethernet.xml.in @@ -11,13 +11,13 @@ <path>interfaces ethernet</path> </completionHelp> </properties> - <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4"</command> + <command>${vyos_op_scripts_dir}/interfaces.py show --intf_name="$4"</command> <children> <leafNode name="brief"> <properties> <help>Show summary of the specified ethernet interface information</help> </properties> - <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" --action=show-brief</command> + <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf_name="$4"</command> </leafNode> <leafNode name="identify"> <properties> @@ -58,13 +58,13 @@ <path>interfaces ethernet ${COMP_WORDS[3]} vif</path> </completionHelp> </properties> - <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4.$6"</command> + <command>${vyos_op_scripts_dir}/interfaces.py show --intf_name="$4.$6"</command> <children> <leafNode name="brief"> <properties> <help>Show summary of specified virtual network interface (vif) information</help> </properties> - <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4.$6" --action=show-brief</command> + <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf_name="$4.$6"</command> </leafNode> </children> </tagNode> @@ -80,13 +80,13 @@ <properties> <help>Show Ethernet interface information</help> </properties> - <command>${vyos_op_scripts_dir}/show_interfaces.py --intf-type=ethernet --action=show-brief</command> + <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf_type=ethernet</command> <children> <leafNode name="detail"> <properties> <help>Show detailed ethernet interface information</help> </properties> - <command>${vyos_op_scripts_dir}/show_interfaces.py --intf-type=ethernet --action=show</command> + <command>${vyos_op_scripts_dir}/interfaces.py show --intf_type=ethernet</command> </leafNode> </children> </node> |