summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-25 08:58:56 +0100
committerChristian Breunig <christian@breunig.cc>2023-12-25 09:15:38 +0100
commita9201e77110ce0695e2ba879304aef41b7ac9a0c (patch)
tree4707cae8354a714773482b394a7669933ca98c6f /interface-definitions
parent2490f22408ad811ff9f63ec970d0167ecbf4ab59 (diff)
downloadvyos-1x-a9201e77110ce0695e2ba879304aef41b7ac9a0c.tar.gz
vyos-1x-a9201e77110ce0695e2ba879304aef41b7ac9a0c.zip
snmp: T5855: migrate "set service lldp snmp enable" to "set service lldp snmp"
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/version/lldp-version.xml.i2
-rw-r--r--interface-definitions/lldp.xml.in15
2 files changed, 5 insertions, 12 deletions
diff --git a/interface-definitions/include/version/lldp-version.xml.i b/interface-definitions/include/version/lldp-version.xml.i
index 0deb73279..b41d80451 100644
--- a/interface-definitions/include/version/lldp-version.xml.i
+++ b/interface-definitions/include/version/lldp-version.xml.i
@@ -1,3 +1,3 @@
<!-- include start from include/version/lldp-version.xml.i -->
-<syntaxVersion component='lldp' version='1'></syntaxVersion>
+<syntaxVersion component='lldp' version='2'></syntaxVersion>
<!-- include end -->
diff --git a/interface-definitions/lldp.xml.in b/interface-definitions/lldp.xml.in
index 738bb11c1..25fb575b6 100644
--- a/interface-definitions/lldp.xml.in
+++ b/interface-definitions/lldp.xml.in
@@ -175,19 +175,12 @@
<multi/>
</properties>
</leafNode>
- <node name="snmp">
+ <leafNode name="snmp">
<properties>
- <help>SNMP parameters for LLDP</help>
+ <help>Enable SNMP queries of the LLDP database</help>
+ <valueless/>
</properties>
- <children>
- <leafNode name="enable">
- <properties>
- <help>Enable SNMP queries of the LLDP database</help>
- <valueless/>
- </properties>
- </leafNode>
- </children>
- </node>
+ </leafNode>
</children>
</node>
</children>