zuul-jobs/roles/multi-node-bridge
David Moreau-Simard 0bb84bc58e
Persist iptables rules
We configured iptables rules but did not persist them.
This meant that rules would be flushed when restarting iptables or
the instance.

Change-Id: I9d90f55323a33d6a0f0dda1f7ab25d10984fa6cb
2017-10-31 17:39:32 -04:00
..
defaults Authorize the multi-node-bridge network in iptables if there's one 2017-10-31 14:25:56 -04:00
tasks Persist iptables rules 2017-10-31 17:39:32 -04:00
vars Multi-node: Set up connectivity with default OVS bridge 2017-09-26 15:32:02 -04:00
README.rst Authorize the multi-node-bridge network in iptables if there's one 2017-10-31 14:25:56 -04: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