gateways: enable lldp
parent
2d85ba5226
commit
1a834de455
|
@ -38,6 +38,11 @@
|
|||
notify:
|
||||
- restart frr
|
||||
|
||||
- name: install lldpd
|
||||
opkg:
|
||||
name: lldpd
|
||||
update_cache: yes
|
||||
|
||||
handlers:
|
||||
- name: reload dhcp
|
||||
service:
|
||||
|
@ -69,6 +74,11 @@
|
|||
name: frr
|
||||
state: restarted
|
||||
|
||||
- name: reload lldpd
|
||||
service:
|
||||
name: lldpd
|
||||
state: reloaded
|
||||
|
||||
- name: custom changes for ffl-ans-gw-core01 (offloader vm, ...)
|
||||
hosts: ffl-ans-gw-core01
|
||||
tasks:
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
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"
|
|
@ -0,0 +1,20 @@
|
|||
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"
|
||||
list interface "eth4"
|
||||
list interface "eth5"
|
||||
list interface "eth6"
|
||||
list interface "eth7"
|
Loading…
Reference in New Issue