
This change implements SR-IOV support inside Neutron via the new ``ml2.sriov`` plugin. The current implementation automatically configures the ML2 mechanism drivers via the enabled neutron_plugins and configured mechanisms attribute inside the dictionary. The implementation is based off the neutron-sriov-nic-agent and configures physical device mappings over a new attribute ``sriov_host_interface`` as part of the provider_networks configuration. Additionally the FDB agent inside the ``linuxbridge_agent.ini`` is enabled to support the linuxbridge and sriov-nic-agent on the same interface. Closes-Bug: #1653283 Co-Authored-By: James Denton <james.denton@rackspace.com> Change-Id: I7b580db0496ff009a2f64c71447b2977f22d6bf6 Depends-On: Ia62725e2369f75000157e0ab2c3f858e61fef10d Implements: sriov support
42 lines
1.1 KiB
Django/Jinja
42 lines
1.1 KiB
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
# ML2 general
|
|
[ml2]
|
|
type_drivers = {{ neutron_plugins[neutron_plugin_type].drivers_type }}
|
|
tenant_network_types = {{ neutron_provider_networks.network_types if neutron_provider_networks.network_types != '' else 'local' }}
|
|
mechanism_drivers = {{ neutron_ml2_mechanism_drivers }}
|
|
extension_drivers = port_security{% if 'qos' in neutron_plugin_base %},qos{% endif %}
|
|
|
|
{% if neutron_provider_networks.network_flat_networks is defined %}
|
|
|
|
# ML2 flat networks
|
|
[ml2_type_flat]
|
|
flat_networks = {{ neutron_provider_networks.network_flat_networks }}
|
|
|
|
{% endif %}
|
|
|
|
{% if neutron_provider_networks.network_vlan_ranges is defined %}
|
|
|
|
# ML2 VLAN networks
|
|
[ml2_type_vlan]
|
|
network_vlan_ranges = {{ neutron_provider_networks.network_vlan_ranges }}
|
|
|
|
{% endif %}
|
|
|
|
{% if neutron_provider_networks.network_vxlan_ranges is defined %}
|
|
|
|
# ML2 VXLAN networks
|
|
[ml2_type_vxlan]
|
|
vxlan_group = {{ neutron_vxlan_group }}
|
|
vni_ranges = {{ neutron_provider_networks.network_vxlan_ranges }}
|
|
|
|
{% endif %}
|
|
|
|
# Security groups
|
|
[securitygroup]
|
|
{% if neutron_plugin_type == 'ml2.ovs' %}
|
|
firewall_driver = iptables_hybrid
|
|
{% endif %}
|
|
enable_security_group = True
|
|
enable_ipset = True
|