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
1=== modified file 'hooks/charmhelpers/contrib/openstack/context.py'
2--- hooks/charmhelpers/contrib/openstack/context.py 2014-10-13 16:18:58 +0000
3+++ hooks/charmhelpers/contrib/openstack/context.py 2014-11-21 02:00:54 +0000
4@@ -710,7 +710,7 @@
5 'vsm_username': config('n1kv-vsm-username'),
6 'vsm_password': config('n1kv-vsm-password'),
7 'restrict_policy_profiles': config(
8- 'n1kv_restrict_policy_profiles'),
9+ 'n1kv-restrict-policy-profiles'),
10 }
11
12 return n1kv_ctxt
13
14=== added file 'templates/icehouse/cisco_plugins.ini'
15--- templates/icehouse/cisco_plugins.ini 1970-01-01 00:00:00 +0000
16+++ templates/icehouse/cisco_plugins.ini 2014-11-21 02:00:54 +0000
17@@ -0,0 +1,43 @@
18+###############################################################################
19+# [ WARNING ]
20+# Configuration file maintained by Juju. Local changes may be overwritten.
21+###############################################################################
22+[cisco_plugins]
23+
24+[cisco]
25+
26+[cisco_n1k]
27+integration_bridge = br-int
28+default_policy_profile = default-pp
29+network_node_policy_profile = default-pp
30+{% if openstack_release != 'havana' -%}
31+http_timeout = 120
32+# (BoolOpt) Specify whether plugin should attempt to synchronize with the VSM
33+# when neutron is started.
34+# Default value: False, indicating no full sync will be performed.
35+#
36+enable_sync_on_start = False
37+{% endif -%}
38+restrict_policy_profiles = {{ restrict_policy_profiles }}
39+{% if n1kv_user_config_flags -%}
40+{% for key, value in n1kv_user_config_flags.iteritems() -%}
41+{{ key }} = {{ value }}
42+{% endfor -%}
43+{% endif -%}
44+
45+[CISCO_PLUGINS]
46+vswitch_plugin = neutron.plugins.cisco.n1kv.n1kv_neutron_plugin.N1kvNeutronPluginV2
47+
48+[N1KV:{{ vsm_ip }}]
49+password = {{ vsm_password }}
50+username = {{ vsm_username }}
51+
52+{% include "parts/section-database" %}
53+
54+[securitygroup]
55+{% if neutron_security_groups -%}
56+firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
57+enable_security_group = True
58+{% else -%}
59+firewall_driver = neutron.agent.firewall.NoopFirewallDriver
60+{% endif -%}
61
62=== modified file 'templates/icehouse/nova.conf'
63--- templates/icehouse/nova.conf 2014-10-07 11:37:20 +0000
64+++ templates/icehouse/nova.conf 2014-11-21 02:00:54 +0000
65@@ -76,6 +76,18 @@
66 {% endif -%}
67 {% endif -%}
68
69+{% if neutron_plugin and neutron_plugin == 'n1kv' -%}
70+libvirt_user_virtio_for_bridges = True
71+nova_firewall_driver = nova.virt.firewall.NoopFirewallDriver
72+{% if neutron_security_groups -%}
73+security_group_api = {{ network_manager }}
74+nova_firewall_driver = nova.virt.firewall.NoopFirewallDriver
75+{% endif -%}
76+{% if external_network -%}
77+default_floating_pool = {{ external_network }}
78+{% endif -%}
79+{% endif -%}
80+
81 {% if network_manager_config -%}
82 {% for key, value in network_manager_config.iteritems() -%}
83 {{ key }} = {{ value }}
84
85=== modified file 'tests/basic_deployment.py'
86--- tests/basic_deployment.py 2014-10-14 15:17:57 +0000
87+++ tests/basic_deployment.py 2014-11-21 02:00:54 +0000
88@@ -19,7 +19,7 @@
89 class NovaCCBasicDeployment(OpenStackAmuletDeployment):
90 """Amulet tests on a basic nova cloud controller deployment."""
91
92- def __init__(self, series=None, openstack=None, source=None, stable=False):
93+ def __init__(self, series=None, openstack=None, source=None, stable=True):
94 """Deploy the entire test environment."""
95 super(NovaCCBasicDeployment, self).__init__(series, openstack, source, stable)
96 self._add_services()

Subscribers

People subscribed via source and target branches