diff options
author | Christian Breunig <christian@breunig.cc> | 2023-01-12 18:07:53 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-01-12 19:38:32 +0100 |
commit | bc42dc94cd9d9979e84b4bd6e086893358417c92 (patch) | |
tree | 173d570e7c0172b1f316c714233d1896e35f38da /op-mode-definitions | |
parent | f9a6c00a2550911137457a2b73fd43255f46fcd3 (diff) | |
download | vyos-1x-bc42dc94cd9d9979e84b4bd6e086893358417c92.tar.gz vyos-1x-bc42dc94cd9d9979e84b4bd6e086893358417c92.zip |
T4911: op-mode: rewrite LLDP in standardised op-mode format
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/lldp.xml.in | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/op-mode-definitions/lldp.xml.in b/op-mode-definitions/lldp.xml.in index 297ccf1f4..07cafa77f 100644 --- a/op-mode-definitions/lldp.xml.in +++ b/op-mode-definitions/lldp.xml.in @@ -11,14 +11,8 @@ <properties> <help>Show LLDP neighbors</help> </properties> - <command>${vyos_op_scripts_dir}/lldp_op.py --all</command> + <command>${vyos_op_scripts_dir}/lldp.py show_neighbors</command> <children> - <node name="detail"> - <properties> - <help>Show LLDP neighbor details</help> - </properties> - <command>${vyos_op_scripts_dir}/lldp_op.py --detail</command> - </node> <tagNode name="interface"> <properties> <help>Show LLDP for specified interface</help> @@ -26,7 +20,7 @@ <script>${vyos_completion_dir}/list_interfaces.py</script> </completionHelp> </properties> - <command>${vyos_op_scripts_dir}/lldp_op.py --interface $5</command> + <command>${vyos_op_scripts_dir}/lldp.py show_neighbors --interface $5</command> </tagNode> </children> </node> |