Merge lp:~jpds/charms/precise/nova-cloud-controller/ncc-neutronclient into lp:~charmers/charms/precise/nova-cloud-controller/trunk

Proposed by Jonathan Davies
Status: Merged
Merged at revision: 59
Proposed branch: lp:~jpds/charms/precise/nova-cloud-controller/ncc-neutronclient
Merge into: lp:~charmers/charms/precise/nova-cloud-controller/trunk
Diff against target: 46 lines (+24/-1)
2 files modified
templates/folsom/quantum.conf (+12/-1)
templates/havana/neutron.conf (+12/-0)
To merge this branch: bzr merge lp:~jpds/charms/precise/nova-cloud-controller/ncc-neutronclient
Reviewer Review Type Date Requested Status
James Page Pending
Review via email: mp+204178@code.launchpad.net

Description of the change

Make nova-cloud-controller aware of the Neutron API so that we are able to do live migration.

To post a comment you must log in.
Revision history for this message
James Page (james-page) wrote :

Why does this need to be applied in the neutron configuration file? Surely the neutron-server already knows about itself?

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'templates/folsom/quantum.conf'
2--- templates/folsom/quantum.conf 2013-08-19 21:13:45 +0000
3+++ templates/folsom/quantum.conf 2014-01-31 09:53:01 +0000
4@@ -30,7 +30,18 @@
5 {% if neutron_security_groups -%}
6 allow_overlapping_ips = True
7 {% endif -%}
8-
9+{% if neutron_bind_port -%}
10+network_api_class = nova.network.quantumv2.api.API
11+quantum_url = {{ quantum_url }}
12+quantum_auth_strategy = keystone
13+quantum_admin_tenant_name = services
14+quantum_admin_username = {{ service_username }}
15+quantum_admin_password = {{ service_password }}
16+quantum_admin_auth_url = {{ service_protocol }}://{{ keystone_host }}:{{ service_port }}/v2.0
17+linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
18+firewall_driver = nova.virt.firewall.NoopFirewallDriver
19+security_group_api = quantum
20+{% endif -%}
21
22 [QUOTAS]
23 quota_driver = quantum.db.quota_db.DbQuotaDriver
24
25=== modified file 'templates/havana/neutron.conf'
26--- templates/havana/neutron.conf 2013-12-12 20:10:37 +0000
27+++ templates/havana/neutron.conf 2014-01-31 09:53:01 +0000
28@@ -26,6 +26,18 @@
29 rabbit_password = {{ rabbitmq_password }}
30 rabbit_virtual_host = {{ rabbitmq_virtual_host }}
31 {% endif -%}
32+{% if neutron_bind_port -%}
33+network_api_class = nova.network.neutronv2.api.API
34+neutron_url = {{ quantum_url }}
35+neutron_auth_strategy = keystone
36+neutron_admin_tenant_name = services
37+neutron_admin_username = {{ service_username }}
38+neutron_admin_password = {{ service_password }}
39+neutron_admin_auth_url = {{ service_protocol }}://{{ keystone_host }}:{{ service_port }}/v2.0
40+linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
41+firewall_driver = nova.virt.firewall.NoopFirewallDriver
42+security_group_api = neutron
43+{% endif -%}
44
45 [quotas]
46 quota_driver = neutron.db.quota_db.DbQuotaDriver

Subscribers

People subscribed via source and target branches