This repository has been archived on 2024-05-11. You can view files and clone it, but cannot push or open issues or pull requests.
2023-01-08 05:28:47 +00:00
|
|
|
config lldpd config
|
|
|
|
option enable_cdp 0
|
|
|
|
option enable_fdp 0
|
|
|
|
option enable_sonmp 0
|
|
|
|
option enable_edp 0
|
|
|
|
|
|
|
|
|
|
|
|
option lldp_class 4
|
|
|
|
option lldp_mgmt_ip "{{ ip }}"
|
|
|
|
option lldp_location ""
|
|
|
|
|
|
|
|
list interface "loopback"
|
|
|
|
list interface "eth0"
|
|
|
|
list interface "eth1"
|
|
|
|
list interface "eth2"
|
|
|
|
list interface "eth3"
|
2023-01-09 23:43:35 +00:00
|
|
|
{% if inventory_hostname in [ "gw-core01" ] %}
|
2023-01-08 05:28:47 +00:00
|
|
|
list interface "eth4"
|
|
|
|
list interface "eth5"
|
|
|
|
list interface "eth6"
|
|
|
|
list interface "eth7"
|
2023-01-09 23:43:35 +00:00
|
|
|
{% endif %}
|