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