diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-25 08:58:56 +0100 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-12-25 10:01:42 +0000 |
commit | 1902f252c4c270cf7981fecd486e293ec2182fd9 (patch) | |
tree | a764448c31a4b0a15ecb488331bca6c8c30d4b5e /interface-definitions | |
parent | 4b3eca1e08603ed8c97d7b352e567e2e8570eac4 (diff) | |
download | vyos-1x-1902f252c4c270cf7981fecd486e293ec2182fd9.tar.gz vyos-1x-1902f252c4c270cf7981fecd486e293ec2182fd9.zip |
snmp: T5855: migrate "set service lldp snmp enable" to "set service lldp snmp"
(cherry picked from commit a9201e77110ce0695e2ba879304aef41b7ac9a0c)
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/version/lldp-version.xml.i | 2 | ||||
-rw-r--r-- | interface-definitions/lldp.xml.in | 15 |
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> |