diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova')
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-nova/nova.conf | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova.conf b/meta-openstack/recipes-devtools/python/python-nova/nova.conf index f698349..695f084 100644 --- a/meta-openstack/recipes-devtools/python/python-nova/nova.conf +++ b/meta-openstack/recipes-devtools/python/python-nova/nova.conf | |||
@@ -1,5 +1,6 @@ | |||
1 | [DEFAULT] | 1 | [DEFAULT] |
2 | firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver | 2 | # firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver |
3 | firewall_driver = nova.virt.firewall.NoopFirewallDriver | ||
3 | compute_driver = libvirt.LibvirtDriver | 4 | compute_driver = libvirt.LibvirtDriver |
4 | libvirt_type = kvm | 5 | libvirt_type = kvm |
5 | libvirt_cpu_mode = none | 6 | libvirt_cpu_mode = none |
@@ -16,8 +17,8 @@ auth_strategy = keystone | |||
16 | instances_path = /etc/nova/instances | 17 | instances_path = /etc/nova/instances |
17 | debug = True | 18 | debug = True |
18 | verbose = True | 19 | verbose = True |
19 | my_ip = 127.0.0.1 | 20 | my_ip = %CONTROLLER_IP% |
20 | glance_host = 127.0.0.1 | 21 | glance_host = %CONTROLLER_IP% |
21 | 22 | ||
22 | #VNC | 23 | #VNC |
23 | vnc_enabled = true | 24 | vnc_enabled = true |
@@ -35,7 +36,7 @@ dhcpbridge=/usr/bin/nova-dhcpbridge | |||
35 | 36 | ||
36 | #Database configuration | 37 | #Database configuration |
37 | # sql_connection = postgresql://%DB_USER%:%DB_PASSWORD%@localhost/nova | 38 | # sql_connection = postgresql://%DB_USER%:%DB_PASSWORD%@localhost/nova |
38 | sql_connection = postgresql://%DB_USER%:%DB_PASSWORD%@%CONTROLLER_HOST%/nova | 39 | sql_connection = postgresql://%DB_USER%:%DB_PASSWORD%@%CONTROLLER_IP%/nova |
39 | 40 | ||
40 | #RabbitMQ configuration | 41 | #RabbitMQ configuration |
41 | rpc_backend = nova.rpc.impl_kombu | 42 | rpc_backend = nova.rpc.impl_kombu |
@@ -43,10 +44,11 @@ rabbit_host = %CONTROLLER_IP% | |||
43 | rabbit_port = 5672 | 44 | rabbit_port = 5672 |
44 | 45 | ||
45 | #Quantum | 46 | #Quantum |
47 | quantum_url=http://%CONTROLLER_IP%:9696 | ||
46 | network_api_class=nova.network.quantumv2.api.API | 48 | network_api_class=nova.network.quantumv2.api.API |
47 | quantum_auth_strategy=keystone | 49 | quantum_auth_strategy=keystone |
48 | quantum_admin_tenant_name=service | 50 | quantum_admin_tenant_name=service |
49 | quantum_admin_username=quantum | 51 | quantum_admin_username=quantum |
50 | quantum_admin_password=password | 52 | quantum_admin_password=password |
51 | quantum_admin_auth_url=http://localhost:5000/v2.0/ | 53 | quantum_admin_auth_url=http://%CONTROLLER_IP%:5000/v2.0/ |
52 | 54 | ||