Age | Commit message (Collapse) | Author |
|
Modify lldpd config template in './src/conf_mode/lldp.py'.
conf_mode uses 'all' to specify all interfaces.
lldpd config file uses '*' to specify all interfaces.
Both use an exclamation mark ('!') as prefix to disable lldp on an interface, eg. '!eth1' or '!all'.
Add jinja2 template filters to create and merge following sub-lists
a) take list of conf_mode lldp interfaces, remove every interface except 'all', replace 'all' with '*'
-> support interface all
b) take list of conf_mode lldp interfaces, remove every interface except '!all', replace '!all' with '!*'
-> support interface all disabled
c) take list of conf_mode lldp interfaces, remove every interface named 'all' or '!all'
-> support any other interface
|
|
Commit 66f8be0 ("lldp: T1896: remove MED civic based location information")
removed MED civic location support, but there was an error in an if/elif
statement. This has been fixes.
File "/usr/libexec/vyos/conf_mode/lldp.py", line 191
elif len(location['coordinate_based']) > 0:
^
SyntaxError: invalid syntax
|
|
* 't1896-remove-lldp-civic' of github.com:c-po/vyos-1x:
lldp: T1896: remove MED civic based location information
|
|
Signed-off-by: bbs2web <bbs2web@hotmail.com>
|
|
Civic based location information was not working for quiet some time and
as an unused feature we should drop it to keep the codebase more simple
and maintainable.
|
|
- management-address is not a <multi/> node
- added new vyos.validate.is_loopback_addr() function - returns true is address
passed is a looback address
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
with VyOS paths.
|