connection_type is deprecated for Folsom, now using compute_driver
to specify virt driver. This makes the change so that devstack
uses the prefered way.
Change-Id: I35c5ce64dc329121a61b888d44c05e3c70c6aecc
| ... | ... |
@@ -1803,7 +1803,7 @@ done |
| 1803 | 1803 |
|
| 1804 | 1804 |
if [ "$VIRT_DRIVER" = 'xenserver' ]; then |
| 1805 | 1805 |
read_password XENAPI_PASSWORD "ENTER A PASSWORD TO USE FOR XEN." |
| 1806 |
- add_nova_opt "connection_type=xenapi" |
|
| 1806 |
+ add_nova_opt "compute_driver=xenapi.XenAPIDriver" |
|
| 1807 | 1807 |
XENAPI_CONNECTION_URL=${XENAPI_CONNECTION_URL:-"http://169.254.0.1"}
|
| 1808 | 1808 |
XENAPI_USER=${XENAPI_USER:-"root"}
|
| 1809 | 1809 |
add_nova_opt "xenapi_connection_url=$XENAPI_CONNECTION_URL" |
| ... | ... |
@@ -1814,7 +1814,7 @@ if [ "$VIRT_DRIVER" = 'xenserver' ]; then |
| 1814 | 1814 |
XEN_FIREWALL_DRIVER=${XEN_FIREWALL_DRIVER:-"nova.virt.firewall.IptablesFirewallDriver"}
|
| 1815 | 1815 |
add_nova_opt "firewall_driver=$XEN_FIREWALL_DRIVER" |
| 1816 | 1816 |
else |
| 1817 |
- add_nova_opt "connection_type=libvirt" |
|
| 1817 |
+ add_nova_opt "compute_driver=libvirt.LibvirtDriver" |
|
| 1818 | 1818 |
LIBVIRT_FIREWALL_DRIVER=${LIBVIRT_FIREWALL_DRIVER:-"nova.virt.libvirt.firewall.IptablesFirewallDriver"}
|
| 1819 | 1819 |
add_nova_opt "firewall_driver=$LIBVIRT_FIREWALL_DRIVER" |
| 1820 | 1820 |
fi |