zuul-jobs/roles/multi-node-bridge
Alfredo Moralejo 1dbba7f70e Use Train repo to install openvswitch from multi-node-bridge in CentOS 8
Currently it's using master repo for CentOS 8. RDO s updating the version of
OVS in master to 2.13 while previous releases use version 2.12 so it's a
problem to install 2.13 for jobs gating reviews for Train or Ussuri.

This review is moving to use Train repository to install openvswitch in
all CentOS 8 jobs as it's the older version supported on CentOS 8. Note
that CI jobs running with this multi-node setup configure proper repos for
the tested release (ussuri, victoria or master) at a later stage and
update the version of OpenvSwitch to the one included on each specific
release repo.

Closes-Bug: #1896469

Change-Id: Ie30997f360b285131cb5051d582da2a15cca7205
2020-09-22 11:12:30 +02: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 Check for loop_control in with_ type loops 2020-05-01 13:45:34 +02:00
templates Use Train repo to install openvswitch from multi-node-bridge in CentOS 8 2020-09-22 11:12:30 +02:00
vars Use RDO trunk repos work for openvswitch on centos8 2019-11-25 08:27:50 +01:00
README.rst Make gentoo multinode job nv 2020-05-26 09:45:20 +02: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