kolla-ansible/roles/bridge/tasks/main.yml
Michał Nasiadka 337771143b CI: Configure IP on a linux bridge instead of OVS br-ex
OVS upgrade jobs failed due to assigning an IP on the br-ex interface
(which is recycled during OVS upgrade). This change introduces a bridge
and veth pair for Neutron to use.

Change-Id: Ib3bee6e810fb8d31552d4c72c2a1ccae382c51f0
2021-05-24 14:40:30 +00:00

13 lines
316 B
YAML

---
- name: Create bridge
become: true
command: ip link add {{ bridge_name }} type bridge
- name: Bring bridge interface up
become: true
command: ip link set {{ bridge_name }} up
- name: Add member interface to bridge
become: true
command: ip link set {{ bridge_member_name }} master {{ bridge_name }}