zuul-jobs/roles/multi-node-bridge
Clark Boylan 7682f2fb5b Cap the ansible version used by ansible-lint
the openvswitch.openvswitch collection is removed from Ansible packages
starting with Ansible 11. This causes ansible-lint to correctly not find
the openvswitch_bridge module when ansible-lint runs with Ansible 11.
Workaround this by capping Ansible used by ansible-lint to <10 and leave
a note about the module going away where we use it.

Change-Id: Id2d4e4f59c7d7e595c5458bc8717146c2326c573
2024-11-19 14:27:44 -08:00
..
defaults [multi-node-bridge] Allow to skip openvswitch installation 2022-03-09 18:23:41 +05:30
files Vendor the RDO repository configuration for installing OVS 2018-12-12 19:18:06 -05:00
tasks Cap the ansible version used by ansible-lint 2024-11-19 14:27:44 -08:00
templates Use release CentOS SIGS repo to install openvswitch in C9S 2023-05-22 10:06:03 +02:00
vars Use RDO trunk repos work for openvswitch on centos8 2019-11-25 08:27:50 +01:00
README.rst [multi-node-bridge] Allow to skip openvswitch installation 2022-03-09 18:23:41 +05:30

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