summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-06-13 16:39:19 +0200
committerGitHub <noreply@github.com>2024-06-13 16:39:19 +0200
commitc4269a9ddb0342dee78175f557e331df518d55d3 (patch)
tree15daba4570dda9162a455d193c3122546397739b /op-mode-definitions
parent31f8e5ec6a75c7b385d14595c43a2ee46275c00f (diff)
parent83a51a045de5db99014f6886f5aca9b792200928 (diff)
downloadvyos-1x-c4269a9ddb0342dee78175f557e331df518d55d3.tar.gz
vyos-1x-c4269a9ddb0342dee78175f557e331df518d55d3.zip
Merge pull request #3590 from talmakion/feature/T6045
T6045: Recreate show lldp detail views & improve remote port selection
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/lldp.xml.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/op-mode-definitions/lldp.xml.in b/op-mode-definitions/lldp.xml.in
index 985262a89..dc1331cc8 100644
--- a/op-mode-definitions/lldp.xml.in
+++ b/op-mode-definitions/lldp.xml.in
@@ -13,6 +13,12 @@
</properties>
<command>${vyos_op_scripts_dir}/lldp.py show_neighbors</command>
<children>
+ <node name="detail">
+ <properties>
+ <help>Show extended detail for LLDP neighbors</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/lldp.py show_neighbors --detail</command>
+ </node>
<tagNode name="interface">
<properties>
<help>Show LLDP for specified interface</help>
@@ -21,6 +27,17 @@
</completionHelp>
</properties>
<command>${vyos_op_scripts_dir}/lldp.py show_neighbors --interface $5</command>
+ <children>
+ <node name="detail">
+ <properties>
+ <help>Show detailed LLDP for specified interface</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces</script>
+ </completionHelp>
+ </properties>
+ <command>${vyos_op_scripts_dir}/lldp.py show_neighbors --interface $5 --detail</command>
+ </node>
+ </children>
</tagNode>
</children>
</node>