zuul-jobs/roles/multi-node-bridge
Ronelle Landy 9853d3608f Default private_ipv4 to use public_ipv4 address when null
The static zuul driver returns only a public_ipv4 address for
nodes in use. The multinode bridge role accesses the node
private_ipv4 address. As such, when the private address is
empty/null the role fails.

This review defaults that private address so that the role
uses the public address when the private address is null.

Change-Id: I32fb17bae98f13f735da4d5b9a6a01e948f21678
2019-01-23 10:30:20 +01:00
..
defaults Dynamically determine overlay network mtu 2018-06-28 13:47:03 -07:00
files Vendor the RDO repository configuration for installing OVS 2018-12-12 19:18:06 -05:00
tasks Default private_ipv4 to use public_ipv4 address when null 2019-01-23 10:30:20 +01:00
templates Vendor the RDO repository configuration for installing OVS 2018-12-12 19:18:06 -05:00
vars add Gentoo vars for ovs 2018-09-21 17:35:54 -05:00
README.rst Dynamically determine overlay network mtu 2018-06-28 13:47:03 -07:00

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