diff options
author | Christian Breunig <christian@breunig.cc> | 2023-01-12 21:13:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-12 21:13:02 +0100 |
commit | 3045b327585660d66093008833d75a6064c559ea (patch) | |
tree | 9fb9e50177b303abce246d83c60167f950254b9d /op-mode-definitions | |
parent | 521fef5f0aded11e2341fe893ecf4b1a206dcfc2 (diff) | |
parent | bc42dc94cd9d9979e84b4bd6e086893358417c92 (diff) | |
download | vyos-1x-3045b327585660d66093008833d75a6064c559ea.tar.gz vyos-1x-3045b327585660d66093008833d75a6064c559ea.zip |
Merge pull request #1756 from c-po/t4911-lldp-op-mode
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> |