summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-22 13:33:17 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-22 18:09:50 +0100
commit0d36afb047bbd02b79e75d320e92b0ac8618d7d7 (patch)
tree072e0462fcfcfc8456c3e61244510b014d20ca22
parent3690b4eed01866963102a7a38dc822590ef62db1 (diff)
downloadvyos-1x-0d36afb047bbd02b79e75d320e92b0ac8618d7d7.tar.gz
vyos-1x-0d36afb047bbd02b79e75d320e92b0ac8618d7d7.zip
lldp: T393: legacy-protocols must be <valueless/>
-rw-r--r--interface-definitions/lldp.xml.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/interface-definitions/lldp.xml.in b/interface-definitions/lldp.xml.in
index f04994607..204e26169 100644
--- a/interface-definitions/lldp.xml.in
+++ b/interface-definitions/lldp.xml.in
@@ -20,7 +20,7 @@
<description>Location data for a specific interface</description>
</valueHelp>
<completionHelp>
- <script> ${vyatta_sbindir}/vyatta-interfaces.pl --show all </script>
+ <script>${vyatta_sbindir}/vyatta-interfaces.pl --show all</script>
</completionHelp>
</properties>
<children>
@@ -244,21 +244,25 @@
<leafNode name="cdp">
<properties>
<help>Listen for CDP for Cisco routers/switches</help>
+ <valueless/>
</properties>
</leafNode>
<leafNode name="edp">
<properties>
<help>Listen for EDP for Extreme routers/switches</help>
+ <valueless/>
</properties>
</leafNode>
<leafNode name="fdp">
<properties>
<help>Listen for FDP for Foundry routers/switches</help>
+ <valueless/>
</properties>
</leafNode>
<leafNode name="sonmp">
<properties>
<help>Listen for SONMP for Nortel routers/switches</help>
+ <valueless/>
</properties>
</leafNode>
</children>
@@ -266,6 +270,13 @@
<leafNode name="management-address">
<properties>
<help>IPv4 management address</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>IP address to listen for incoming connections</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
</properties>
</leafNode>
<node name="snmp">