diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2024-10-08 23:17:23 +0200 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2025-02-13 23:30:24 +0100 |
commit | ab6382ede233c04ca3126f8d4089318e927c55b4 (patch) | |
tree | f823c046b0dc3861528fb76db0a06f00e7c1f95f /op-mode-definitions/load-balancing_wan.xml.in | |
parent | a03174843512340f2f970fd6c3fe189b7bba92d6 (diff) | |
download | vyos-1x-ab6382ede233c04ca3126f8d4089318e927c55b4.tar.gz vyos-1x-ab6382ede233c04ca3126f8d4089318e927c55b4.zip |
wlb: T4470: Support WLB op-mode commands
Diffstat (limited to 'op-mode-definitions/load-balancing_wan.xml.in')
-rw-r--r-- | op-mode-definitions/load-balancing_wan.xml.in | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/op-mode-definitions/load-balancing_wan.xml.in b/op-mode-definitions/load-balancing_wan.xml.in new file mode 100644 index 000000000..91c57c1f4 --- /dev/null +++ b/op-mode-definitions/load-balancing_wan.xml.in @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interfaceDefinition> + <node name="restart"> + <children> + <node name="wan-load-balance"> + <properties> + <help>Restart Wide Area Network (WAN) load-balancing daemon</help> + </properties> + <command>sudo ${vyos_op_scripts_dir}/restart.py restart_service --name load-balancing_wan</command> + </node> + </children> + </node> + <node name="show"> + <children> + <node name="wan-load-balance"> + <properties> + <help>Show Wide Area Network (WAN) load-balancing information</help> + </properties> + <command>${vyos_op_scripts_dir}/load-balancing_wan.py show_summary</command> + <children> + <node name="connection"> + <properties> + <help>Show Wide Area Network (WAN) load-balancing flow</help> + </properties> + <command>${vyos_op_scripts_dir}/load-balancing_wan.py show_connection</command> + </node> + <node name="status"> + <properties> + <help>Show WAN load-balancing statistics</help> + </properties> + <command>${vyos_op_scripts_dir}/load-balancing_wan.py show_status</command> + </node> + </children> + </node> + </children> + </node> +</interfaceDefinition>
\ No newline at end of file |