Module - tripleo_ovn_mac_addresses¶
This module provides for the following ansible plugin:
tripleo_ovn_mac_addresses
Module Documentation¶
Create a OVN Mac Address network, and allocate bridge mac address ports
Options¶
- concurrency
Maximum number of server resources to provision ports for at once. Set to 0 to have no concurrency limit
- playbook_dir
The path to the directory of the playbook that was passed to the ansible-playbook command line.
- stack_name
Name of the overcloud stack
- ovn_bridge_mappings
OVN bridge mappings
- server_resource_names
List of server resources
- ovn_static_bridge_mac_mappings
Static OVN Bridge MAC address mappings. Unique OVN bridge mac addresses is dynamically allocated by creating neutron ports. When neutron isn't available, for instance in the standalone deployment, use this parameter to provide static OVN bridge mac addresses.
Authors¶
Harald Jensås <hjensas@redhat.com>
Example Tasks¶
- name: Create OVN Mac address ports
tripleo_ovn_mac_addresses:
stack_name: overcloud
bridge_mappings:
- datacentre:br-ex
server_resource_names:
- controller-0
- controller-1
- controller-2
- name: Create OVN Mac address ports (static)
tripleo_ovn_mac_addresses:
stack_name: overcloud
bridge_mappings:
- datacentre:br-ex
server_resource_names:
- controller-0
- compute-0
ovn_static_bridge_mac_mappings:
controller-0:
datacenter: 00:00:5E:00:53:00
provider: 00:00:5E:00:53:01
compute-0:
datacenter: 00:00:5E:00:54:00
provider: 00:00:5E:00:54:01