7975e874e8
In case of nodeset which doesn't have peers and switch there is no need to install openswitch and firewall rules, because nothing will be installed. Let's skip it if no need. Change-Id: I98cf5ec390ee22e538baa076c9ab87eea6a44c9e |
||
---|---|---|
.. | ||
defaults | ||
files | ||
tasks | ||
templates | ||
vars | ||
README.rst |
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