summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-nova
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova')
-rw-r--r--meta-openstack/recipes-devtools/python/python-nova/nova.conf12
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]
2firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver 2# firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
3firewall_driver = nova.virt.firewall.NoopFirewallDriver
3compute_driver = libvirt.LibvirtDriver 4compute_driver = libvirt.LibvirtDriver
4libvirt_type = kvm 5libvirt_type = kvm
5libvirt_cpu_mode = none 6libvirt_cpu_mode = none
@@ -16,8 +17,8 @@ auth_strategy = keystone
16instances_path = /etc/nova/instances 17instances_path = /etc/nova/instances
17debug = True 18debug = True
18verbose = True 19verbose = True
19my_ip = 127.0.0.1 20my_ip = %CONTROLLER_IP%
20glance_host = 127.0.0.1 21glance_host = %CONTROLLER_IP%
21 22
22#VNC 23#VNC
23vnc_enabled = true 24vnc_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
38sql_connection = postgresql://%DB_USER%:%DB_PASSWORD%@%CONTROLLER_HOST%/nova 39sql_connection = postgresql://%DB_USER%:%DB_PASSWORD%@%CONTROLLER_IP%/nova
39 40
40#RabbitMQ configuration 41#RabbitMQ configuration
41rpc_backend = nova.rpc.impl_kombu 42rpc_backend = nova.rpc.impl_kombu
@@ -43,10 +44,11 @@ rabbit_host = %CONTROLLER_IP%
43rabbit_port = 5672 44rabbit_port = 5672
44 45
45#Quantum 46#Quantum
47quantum_url=http://%CONTROLLER_IP%:9696
46network_api_class=nova.network.quantumv2.api.API 48network_api_class=nova.network.quantumv2.api.API
47quantum_auth_strategy=keystone 49quantum_auth_strategy=keystone
48quantum_admin_tenant_name=service 50quantum_admin_tenant_name=service
49quantum_admin_username=quantum 51quantum_admin_username=quantum
50quantum_admin_password=password 52quantum_admin_password=password
51quantum_admin_auth_url=http://localhost:5000/v2.0/ 53quantum_admin_auth_url=http://%CONTROLLER_IP%:5000/v2.0/
52 54