b04bf138e4
According to RFC-8212 policies must be described in order to allow announce/accept routes. Without policies being described, no routes will be announced/recieved by default. This patch fixes current CI failures. Change-Id: Ia033cc7c3ed3146860ab96452bec988f3c3069bf
22 lines
860 B
Plaintext
22 lines
860 B
Plaintext
frr_vlans:
|
|
- vlan-raw-device: "{{ ansible_default_ipv4.interface }}"
|
|
id: 100
|
|
address: 192.168.1.100
|
|
netmask: 255.255.255.0
|
|
network: 192.168.1.0
|
|
broadcast: 192.168.1.255
|
|
|
|
frr_staticd_routes:
|
|
- ip route 10.0.0.0/24 192.168.1.10
|
|
|
|
frr_bgpd_config:
|
|
- router bgp 1234
|
|
- "bgp router-id {{ hostvars['primary']['ansible_' ~ bridge_name | replace('-', '_')]['ipv4']['address'] }}"
|
|
- "neighbor {{ hostvars['secondary']['ansible_' ~ bridge_name | replace('-', '_')]['ipv4']['address'] }} remote-as 5678"
|
|
- network 192.168.1.0/24
|
|
- address-family ipv4 unicast
|
|
- " neighbor {{ hostvars['secondary']['ansible_' ~ bridge_name | replace('-', '_')]['ipv4']['address'] }} prefix-list pl-allowed-adv out"
|
|
- "exit-address-family"
|
|
- ip prefix-list pl-allowed-adv seq 5 permit 192.168.1.0/24
|
|
- ip prefix-list pl-allowed-adv seq 10 deny any
|