db6677a867
In I32fb17bae98f13f735da4d5b9a6a01e948f21678, the evaluated facts should also fallback to public_ipv4, when private_ipv4 is "empty-like", e.g. contains no valid IP but something like '\n'. It also restores the lost switch_private_ip fact just in case. Change-Id: I139272746129213994f298a4a9178b4441d439af Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
Configures a VXLAN virtual network overlay through an openvswitch network bridge between a 'switch' node and 'peer' nodes.
This allows members of the bridge to communicate with each other through the virtual network.
By default, this role will:
- Install and start
openvswitch
- Set up a
br-infra
bridge on all nodes - Set up the connectivity between the switch and the peer with a virtual port
- Set up an ip address on the bridge interface:
172.24.4.1/23 # switch node
172.41.4.2/23 # first peer
172.41.4.3/23 # second peer
...
Role requirements
This role requires and expects two groups to be set up in the Ansible host inventory in order to work:
switch
(the node acting as the switch)peers
(nodes connected to the virtual switch ports)
Role variables