We use the switch interface configuration to provide a list of interfaces to the neutron ML2 generic switch driver to be configured as trunk ports in each neutron network. These interfaces correspond to the controllers by default, which need access to all of the networks in order to provide services such as DHCP and routing. Related-Bug: #1690115
56 lines
1.9 KiB
Plaintext
56 lines
1.9 KiB
Plaintext
---
|
|
###############################################################################
|
|
# Neutron configuration.
|
|
|
|
# List of Neutron ML2 mechanism drivers to use.
|
|
kolla_neutron_ml2_mechanism_drivers:
|
|
- openvswitch
|
|
- genericswitch
|
|
|
|
# List of Neutron ML2 type drivers to use.
|
|
kolla_neutron_ml2_type_drivers:
|
|
- flat
|
|
- vlan
|
|
- vxlan
|
|
|
|
# List of Neutron ML2 tenant network types to use.
|
|
kolla_neutron_ml2_tenant_network_types:
|
|
- flat
|
|
- vlan
|
|
- vxlan
|
|
|
|
# List of Neutron ML2 network VLAN ranges to use. Each item should be a dict
|
|
# containing the following items:
|
|
# physical_network: The physical network
|
|
# range: Range of allowed VLANs on this physical network (min:max, (optional)
|
|
kolla_neutron_ml2_network_vlan_ranges: []
|
|
|
|
# List of switches to configure for use by genericswitch ML2 mechanism driver.
|
|
# Each item should be a dict containing the following items:
|
|
# name: Hostname of the switch
|
|
# ip: IP address on which to reach the switch
|
|
# username: SSH username
|
|
# password: SSH password (optional)
|
|
# key_file: SSH key file (optional)
|
|
# secret: SSH secret (optional)
|
|
kolla_neutron_ml2_generic_switches: []
|
|
|
|
# List of Ansible hosts representing switches to configure for use by
|
|
# genericswitch ML2 mechanism driver. These switches will be appended to
|
|
# kolla_neutron_ml2_generic_switches and their configuration will be determined
|
|
# by the following host variables:
|
|
# name: inventory_hostname
|
|
# ip: ansible_host
|
|
# username: ansible_user
|
|
# password: ansible_ssh_pass
|
|
# key_file: not currently supported
|
|
# secret: not currently supported
|
|
kolla_neutron_ml2_generic_switch_hosts: []
|
|
|
|
# List of Ansible hosts whose switch interfaces are to be configured as tagged
|
|
# members of all networks managed by the genericswitch ML2 mechanism driver.
|
|
# These hosts will be matched against the description fields in the
|
|
# switch_interface_config variable for each switch to determine which
|
|
# interfaces should be configured.
|
|
kolla_neutron_ml2_generic_switch_trunk_port_hosts: "{{ groups['controllers'] }}"
|