summaryrefslogtreecommitdiff
path: root/src/conf_mode/lldp.py
AgeCommit message (Collapse)Author
2022-05-01lldp: T4353: fix Jinja2 linting errorsChristian Poessinger
2022-04-16vyos.base: use Warning() helper where applicableChristian Poessinger
2022-02-26lldp: T4272: migrate to get_config_dict()Christian Poessinger
2021-01-31lldp: T2230: verify file exists before unlinking itChristian Poessinger
2020-08-31configd: T2582: add scripts to include list for daemonJohn Estabrook
2020-05-29airbag: T2088: explicit enabling of the featureThomas Mangin
airbag must now be explicitly installed. the patch also allow to fully disables the installation of the logging code at setup (and not just installing and doing nothing)
2020-05-19util: T2467: add systemctl to autosudoThomas Mangin
2020-04-12template: T2230: use render to generate templatesThomas Mangin
convert all call to jinja to use template.render
2020-04-09util: T2226: os.system was wrongly converted to runThomas Mangin
os.system does print the ouput of the command, run() does not. A new function called call() does the printing and return the error code.
2020-04-06util: T2226: covert most calls from os.system to utilThomas Mangin
As little change a possible but the function call The behaviour should be totally unchanged.
2020-04-06lldp: use vyos.version over handcrafted open().read().split() codeChristian Poessinger
2020-04-05lldp: T2230: move inlined templates to dedicated filesChristian Poessinger
2020-02-09service lldp: T2019: modify handling of interface 'all'agh
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
2020-01-30lldp: T1896: bugfix SyntaxError: invalid syntaxChristian Poessinger
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
2020-01-30Merge branch 't1896-remove-lldp-civic' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 't1896-remove-lldp-civic' of github.com:c-po/vyos-1x: lldp: T1896: remove MED civic based location information
2020-01-29lldp: T1994: fix jinja template to listen on specified interfacesbbs2web
Signed-off-by: bbs2web <bbs2web@hotmail.com>
2020-01-26lldp: T1896: remove MED civic based location informationChristian Poessinger
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.
2019-12-23lldp: T1898: support multiple management addressesChristian Poessinger
- management-address is not a <multi/> node - added new vyos.validate.is_loopback_addr() function - returns true is address passed is a looback address
2019-12-22lldp: T393: unlink /etc/lldpd.d/01-vyos.conf on service deletionChristian Poessinger
2019-12-22lldp: T393: support both ELIN and ccordinate based location service in MEDChristian Poessinger
2019-12-22fixupChristian Poessinger
2019-12-22lldp: T393: support IPv6 management addressChristian Poessinger
2019-12-22lldp: T393: add Emergency Location Identifier Number (ELIN) supportChristian Poessinger
2019-12-22lldp: T393: support parsing MED valuesChristian Poessinger
2019-12-22lldp: T393: use flat dictionary when generating configsChristian Poessinger
2019-12-22lldp: T393: support listen interfacesChristian Poessinger
2019-12-22lldp: T393: add config options to /etc/lldpd.dChristian Poessinger
2019-12-22lldp: T393: first running version of lldpdChristian Poessinger
2019-12-19flow-accounting: T1890: fixed scripts permissionszsdc
2018-05-17Fix import path for ConfigErrorYuya Kusakabe
2018-05-16T644: remove prefixing from all scripts and update environment variables ↵Daniil Baturin
with VyOS paths.