Merge lp:~springfield-team/charms/trusty/nova-cloud-controller/n1kv into lp:~openstack-charmers-archive/charms/trusty/nova-cloud-controller/next

Proposed by Edward Hope-Morley
Status: Superseded
Proposed branch: lp:~springfield-team/charms/trusty/nova-cloud-controller/n1kv
Merge into: lp:~openstack-charmers-archive/charms/trusty/nova-cloud-controller/next
Diff against target: 96 lines (+57/-2)
4 files modified
hooks/charmhelpers/contrib/openstack/context.py (+1/-1)
templates/icehouse/cisco_plugins.ini (+43/-0)
templates/icehouse/nova.conf (+12/-0)
tests/basic_deployment.py (+1/-1)
To merge this branch: bzr merge lp:~springfield-team/charms/trusty/nova-cloud-controller/n1kv
Reviewer Review Type Date Requested Status
Edward Hope-Morley Pending
Review via email: mp+242418@code.launchpad.net

This proposal has been superseded by a proposal from 2014-11-21.

To post a comment you must log in.
127. By Shiv Prasad Rao

Additional changes for n1kv

128. By Jorge Niedbalski

[all] resync with /next && charm helpers "make sync"

129. By Shiv Prasad Rao

Changes for n1kv

130. By Edward Hope-Morley

[hopem] synced /next

Unmerged revisions

130. By Edward Hope-Morley

[hopem] synced /next

129. By Shiv Prasad Rao

Changes for n1kv

128. By Jorge Niedbalski

[all] resync with /next && charm helpers "make sync"

127. By Shiv Prasad Rao

Additional changes for n1kv

126. By Shiv Prasad Rao

Cisco Nexus 1000V changes

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'hooks/charmhelpers/contrib/openstack/context.py'
--- hooks/charmhelpers/contrib/openstack/context.py 2014-10-13 16:18:58 +0000
+++ hooks/charmhelpers/contrib/openstack/context.py 2014-11-21 02:00:54 +0000
@@ -710,7 +710,7 @@
710 'vsm_username': config('n1kv-vsm-username'),710 'vsm_username': config('n1kv-vsm-username'),
711 'vsm_password': config('n1kv-vsm-password'),711 'vsm_password': config('n1kv-vsm-password'),
712 'restrict_policy_profiles': config(712 'restrict_policy_profiles': config(
713 'n1kv_restrict_policy_profiles'),713 'n1kv-restrict-policy-profiles'),
714 }714 }
715715
716 return n1kv_ctxt716 return n1kv_ctxt
717717
=== added file 'templates/icehouse/cisco_plugins.ini'
--- templates/icehouse/cisco_plugins.ini 1970-01-01 00:00:00 +0000
+++ templates/icehouse/cisco_plugins.ini 2014-11-21 02:00:54 +0000
@@ -0,0 +1,43 @@
1###############################################################################
2# [ WARNING ]
3# Configuration file maintained by Juju. Local changes may be overwritten.
4###############################################################################
5[cisco_plugins]
6
7[cisco]
8
9[cisco_n1k]
10integration_bridge = br-int
11default_policy_profile = default-pp
12network_node_policy_profile = default-pp
13{% if openstack_release != 'havana' -%}
14http_timeout = 120
15# (BoolOpt) Specify whether plugin should attempt to synchronize with the VSM
16# when neutron is started.
17# Default value: False, indicating no full sync will be performed.
18#
19enable_sync_on_start = False
20{% endif -%}
21restrict_policy_profiles = {{ restrict_policy_profiles }}
22{% if n1kv_user_config_flags -%}
23{% for key, value in n1kv_user_config_flags.iteritems() -%}
24{{ key }} = {{ value }}
25{% endfor -%}
26{% endif -%}
27
28[CISCO_PLUGINS]
29vswitch_plugin = neutron.plugins.cisco.n1kv.n1kv_neutron_plugin.N1kvNeutronPluginV2
30
31[N1KV:{{ vsm_ip }}]
32password = {{ vsm_password }}
33username = {{ vsm_username }}
34
35{% include "parts/section-database" %}
36
37[securitygroup]
38{% if neutron_security_groups -%}
39firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
40enable_security_group = True
41{% else -%}
42firewall_driver = neutron.agent.firewall.NoopFirewallDriver
43{% endif -%}
044
=== modified file 'templates/icehouse/nova.conf'
--- templates/icehouse/nova.conf 2014-10-07 11:37:20 +0000
+++ templates/icehouse/nova.conf 2014-11-21 02:00:54 +0000
@@ -76,6 +76,18 @@
76{% endif -%}76{% endif -%}
77{% endif -%}77{% endif -%}
7878
79{% if neutron_plugin and neutron_plugin == 'n1kv' -%}
80libvirt_user_virtio_for_bridges = True
81nova_firewall_driver = nova.virt.firewall.NoopFirewallDriver
82{% if neutron_security_groups -%}
83security_group_api = {{ network_manager }}
84nova_firewall_driver = nova.virt.firewall.NoopFirewallDriver
85{% endif -%}
86{% if external_network -%}
87default_floating_pool = {{ external_network }}
88{% endif -%}
89{% endif -%}
90
79{% if network_manager_config -%}91{% if network_manager_config -%}
80{% for key, value in network_manager_config.iteritems() -%}92{% for key, value in network_manager_config.iteritems() -%}
81{{ key }} = {{ value }}93{{ key }} = {{ value }}
8294
=== modified file 'tests/basic_deployment.py'
--- tests/basic_deployment.py 2014-10-14 15:17:57 +0000
+++ tests/basic_deployment.py 2014-11-21 02:00:54 +0000
@@ -19,7 +19,7 @@
19class NovaCCBasicDeployment(OpenStackAmuletDeployment):19class NovaCCBasicDeployment(OpenStackAmuletDeployment):
20 """Amulet tests on a basic nova cloud controller deployment."""20 """Amulet tests on a basic nova cloud controller deployment."""
2121
22 def __init__(self, series=None, openstack=None, source=None, stable=False):22 def __init__(self, series=None, openstack=None, source=None, stable=True):
23 """Deploy the entire test environment."""23 """Deploy the entire test environment."""
24 super(NovaCCBasicDeployment, self).__init__(series, openstack, source, stable)24 super(NovaCCBasicDeployment, self).__init__(series, openstack, source, stable)
25 self._add_services()25 self._add_services()

Subscribers

People subscribed via source and target branches