Add MidoNet support in nova-cc
When using MidoNet as Neutron plugin, booting instance with security group other than `default` will result in failure. This is because some of the essential configuration options are missing from `nova.conf` on Nova controller, namely `firewall_driver`, `libvirt_vif_driver`, and `security_group_api`. This commit will fix this problem by configuring those configuration options in `nova.conf` on Nova controller. Change-Id: Ibbaf6720bb27512a9d7dfe68d3258dd84ed17b0b Signed-off-by: Ryo Tagami <rtagami@airstrip.jp>
This commit is contained in:
parent
44a5cc737c
commit
854e3e7533
@ -53,7 +53,7 @@ rbd_user = {{ rbd_user }}
|
||||
rbd_secret_uuid = {{ rbd_secret_uuid }}
|
||||
{% endif -%}
|
||||
|
||||
{% if neutron_plugin and neutron_plugin == 'ovs' -%}
|
||||
{% if neutron_plugin and neutron_plugin in ('ovs', 'midonet') -%}
|
||||
libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtGenericVIFDriver
|
||||
libvirt_user_virtio_for_bridges = True
|
||||
{% if neutron_security_groups -%}
|
||||
|
@ -53,7 +53,7 @@ rbd_user = {{ rbd_user }}
|
||||
rbd_secret_uuid = {{ rbd_secret_uuid }}
|
||||
{% endif -%}
|
||||
|
||||
{% if neutron_plugin and neutron_plugin == 'ovs' -%}
|
||||
{% if neutron_plugin and neutron_plugin in ('ovs', 'midonet') -%}
|
||||
libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtGenericVIFDriver
|
||||
libvirt_user_virtio_for_bridges = True
|
||||
{% if neutron_security_groups -%}
|
||||
|
@ -46,7 +46,7 @@ rbd_user = {{ rbd_user }}
|
||||
rbd_secret_uuid = {{ rbd_secret_uuid }}
|
||||
{% endif -%}
|
||||
|
||||
{% if neutron_plugin and neutron_plugin == 'ovs' -%}
|
||||
{% if neutron_plugin and neutron_plugin in ('ovs', 'midonet') -%}
|
||||
libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtGenericVIFDriver
|
||||
libvirt_user_virtio_for_bridges = True
|
||||
{% if neutron_security_groups -%}
|
||||
|
Loading…
x
Reference in New Issue
Block a user