summaryrefslogtreecommitdiff
path: root/interface-definitions/lldp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-23 08:58:55 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-23 08:58:55 +0100
commitc1993205d62033658b36e4ad4ad4bb62afc54ecc (patch)
tree7f5af03c2cf023d1261a9143e102c7d540f3e875 /interface-definitions/lldp.xml.in
parent81f67ca2bcf016ca7a0e021016d8945fc2e11002 (diff)
downloadvyos-1x-c1993205d62033658b36e4ad4ad4bb62afc54ecc.tar.gz
vyos-1x-c1993205d62033658b36e4ad4ad4bb62afc54ecc.zip
lldp: T1898: support multiple management addresses
- management-address is not a <multi/> node - added new vyos.validate.is_loopback_addr() function - returns true is address passed is a looback address
Diffstat (limited to 'interface-definitions/lldp.xml.in')
-rw-r--r--interface-definitions/lldp.xml.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-definitions/lldp.xml.in b/interface-definitions/lldp.xml.in
index b44f4baf6..774c15116 100644
--- a/interface-definitions/lldp.xml.in
+++ b/interface-definitions/lldp.xml.in
@@ -295,6 +295,7 @@
<constraint>
<validator name="ip-address"/>
</constraint>
+ <multi/>
</properties>
</leafNode>
<node name="snmp">