
上QQ阅读APP看书,第一时间看更新
ML2 plugin configuration options
The ML2 plugin was installed in the previous chapter and its configuration file located at /etc/neutron/plugins/ml2/ml2_conf.ini must be configured before OpenStack Networking services can be used.The ML2 plugin configuration file is referenced by the neutron-server service may be referenced by multiple agents, including Linux bridge and Open vSwitch agents. Agent-specific changes will be made in their respective configuration files on each host.
The ml2_conf.ini file is broken into configuration blocks and contains the following commonly used options:
[ml2]
...
type drivers = ...
mechanism drivers = ...
tenant_network_types = ...
extension_drivers = ...
[ml2_type_flat]
...
flat_networks = ...
[ml2_type_vlan]
...
network_vlan_ranges = ...
[ml2_type_vxlan]
...
vni_ranges = ...
vxlan_group = ...
[securitygroup]
...
enable_security_group = ...
enable_ipset = ...
Configuration options must remain in the appropriate block, otherwise Neutron services may not start or operate properly.