337771143b
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
13 lines
369 B
YAML
13 lines
369 B
YAML
---
|
|
- name: Create veth pair
|
|
become: true
|
|
command: ip link add {{ veth_pair.0 }} type veth peer name {{ veth_pair.1 }}
|
|
|
|
- name: Bring veth pair up
|
|
become: true
|
|
shell: ip link set {{ veth_pair.0 }} up && ip link set {{ veth_pair.1 }} up
|
|
|
|
- name: Add first veth pair port to bridge
|
|
become: true
|
|
command: ip link set {{ veth_pair.0 }} master {{ bridge_name }}
|