zuul-jobs/roles/multi-node-bridge
Mohammed Naser fbb58ddfde Add PATH to ip command execution
It seems that there has been a recent change where the PATH used
has changed somehow.  This adds it and make sure that it covers
all 3 major distros location where `ip` is stored.

Change-Id: Ic3c255bd24d1202fec436d4fcc484ce420110518
2018-06-18 17:37:10 -04:00
..
defaults Authorize the multi-node-bridge network in iptables if there's one 2017-10-31 14:25:56 -04:00
tasks Add PATH to ip command execution 2018-06-18 17:37:10 -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