87 Commits

Author SHA1 Message Date
Jenkins
130c778842 Merge "Add neutron-control interface" 2016-09-09 14:09:06 +00:00
Liam Young
a92b6fb881 Add neutron-control interface
Add neutron-control interface to allow charms to send triggers to
restart neutron services managed by this charm

Change-Id: I0e44f7cab99db4fb9b5d2764859e16b30705e6fe
2016-08-31 10:40:07 +00:00
Corey Bryant
1495b034b8 Install ipset package when deploying from source.
Change-Id: I52f128ec919d9f58f7a568b9a5aa39767db89f95
2016-08-12 19:14:37 +00:00
Corey Bryant
faaf51e7ba Add systemd init support for deploy from source
systemd is used instead of upstart by default since Ubuntu 15.10
(Wily).  This adds systemd init file support for nova services
that are deployed from source.

Change-Id: I7d031e86853a3fb8b91501dc6bbd7f5f1b67701d
2016-07-13 19:25:46 +00:00
James Page
ed83413331 Re-license charm as Apache-2.0
All contributions to this charm where made under Canonical
copyright; switch to Apache-2.0 license as agreed so we
can move forward with official project status.

Change-Id: I7bd44dc15ad951bf2536e5ee10de01ec592b8970
2016-07-01 17:36:39 +01:00
Corey Bryant
9ad5cf9637 Add defaults for openstack-origin-git config option
openstack-origin-git currently only supports YAML that specifies
the git repositories to deploy from.

This adds support for default openstack-origin-git values. The
default values supported are: icehouse, kilo, liberty, mitaka,
and master.  For example: openstack-origin-git=master.

Change-Id: I032cb58283d54a9ccfcc268a7fd70b460a03aa58
2016-06-20 09:42:16 -04:00
Liam Young
236bb562f1 Restart services when trigger from principle
Check to see if a restart trigger has been sent by the principle,
if it has then right the trigger uuid in to the neutron.conf to
trigger a service restart

Change-Id: I19649cb73dad94f4fe24412c0b8c37a28f30047d
Partial-Bug: 1571634
2016-04-19 05:47:04 +00:00
Alex Kavanagh
1dfe139242 Modify add_bridge_ports(...) to include port up and permisc code
This fixes bug#1570411 where the add_bridge_port(...) function was
modified to include a port type but missed off port up and promisc
features.

Change-Id: I2a304270be97ed1eae5a7ceeb5777514460d8b4f
Closes-Bug: #1570411
2016-04-15 12:18:13 +00:00
James Page
acd617f4ca Add support for DPDK userspace networking
Add full support for DPDK; this includes a number of configuration
options to allow the number of cores and memory allocated per
NUMA node to be changed.  By default, the first core and 1024MB of
RAM of each NUMA node will be configured for DPDK use.

When DPDK is enabled, OVS bridges are configured as datapath type
'netdev' rather than type 'system' to allow use of userspace
DPDK packet processing; Security groups are also disabled, as
iptables based rules cannot be applied against userspace sockets.

DPDK device binding is undertaken using /etc/dpdk/interfaces and
the dpdk init script provided as part of the DPDK package; device
resolution is determined using the data-port configuration option
using the <bridge:<mac address> format - MAC addresses are used
to resolve underlying PCI device names for binding with DPDK.

It's assumed that hugepage memory configuration is either done as
part of system boot as kernel command line options (set via MAAS)
or using the hugepages configuration option on the nova-compute
charm.

Change-Id: Ieb2ac522b07e495f1855e304d31eef59c316c0e4
2016-04-07 12:42:16 +01:00
Alex Kavanagh
a9b41dfbed Enhanced pause/resume for maintenance mode
Add in pause/resume feature for maintenance mode along with tests.
Sync charmhelpers with support for the maintenance mode feature.

Change-Id: I075459e56ce34e78f5206d116208165aa43aae21
2016-03-30 19:57:58 +00:00
James Page
fb8c6021b3 Deal with neutron changes forthcoming 2016-02-23 14:32:45 +00:00
James Page
f7c430f9d0 Ensure that metadata agent packages are not uninstalled if dvr is enabled but local dhcp is not 2015-11-12 09:33:27 +00:00
Liam Young
bbecca866a Added workload status 2015-10-07 10:41:12 +00:00
Edward Hope-Morley
ff59da7026 [hopem,r=]
Sync charmhelpers to get fix for LP 1500386
2015-09-28 12:32:27 +01:00
James Page
13ac86f9e8 Sortout racey dkms install for 12.04 installs 2015-09-25 14:34:04 +01:00
Liam Young
b395aa4e90 Fix enable_nova_metadata() after mp feedback 2015-09-12 10:03:56 +01:00
Liam Young
d87daa8805 Purge dhcp packages when no longer required 2015-09-12 09:58:58 +01:00
Liam Young
b07b9bb64b Fix determine_packages 2015-09-08 15:36:08 +01:00
Liam Young
883c01903a Unit test updates 2015-09-08 15:12:14 +01:00
Liam Young
806049e08f Metadata tidy 2015-09-08 13:23:26 +01:00
Liam Young
9595e7516c Enable metadata 2015-09-08 13:17:28 +01:00
Corey Bryant
8c8ad61875 Install libssl-dev for deploy from source 2015-07-14 19:52:15 +00:00
Corey Bryant
b746484321 Install libffi-dev requirement for deploy from source. 2015-07-13 20:16:44 +00:00
Corey Bryant
f38e7befae Add libyaml-dev as base git package 2015-05-12 19:51:00 +00:00
Corey Bryant
87adf3fbcf Add comment to fix bin symlinks 2015-05-11 12:37:45 +00:00
Corey Bryant
9597ce8839 Drop base mysql support - belongs in neutron-api 2015-05-07 18:43:46 +00:00
Corey Bryant
071093c697 Add base mysql support 2015-05-07 17:36:42 +00:00
Corey Bryant
6d2d6dcac1 Unit test updates 2015-05-07 17:14:18 +00:00
Corey Bryant
54ecb3731f Add rootwrap symlink 2015-05-07 16:35:54 +00:00
Corey Bryant
379dab6fa4 Add missing params 2015-05-07 15:11:29 +00:00
Corey Bryant
85e0c8786c Use git_pip_venv_dir to get venv path 2015-05-07 14:54:20 +00:00
Corey Bryant
aaa88f5d96 Use function to get pip venv path 2015-05-07 12:50:53 +00:00
Corey Bryant
32d0181a06 Point upstart scripts at venv binaries 2015-05-05 19:57:28 +00:00
Corey Bryant
37de2dc33c Change default mkdir permissions to 755 for deploy from source 2015-04-17 12:13:07 +00:00
Corey Bryant
0b199d2704 Bulk copy files to /etc/neutron 2015-04-13 18:57:01 +00:00
Corey Bryant
42001f843c Move deploy from source template files to templates/git 2015-04-13 14:08:56 +00:00
Corey Bryant
b22c6aebbf Deploy from source 2015-04-02 20:35:37 +00:00
James Page
16e98c628a Rebase 2015-04-01 15:19:17 +01:00
James Page
3161aaa4e5 Sortout topic registration 2015-04-01 09:41:06 +01:00
Liam Young
fe1406ebec Get keystone creds from neutron-api not nova-cc 2015-03-31 14:33:06 +00:00
James Page
300247b84a Rebase, resync 2015-03-30 17:57:53 +01:00
Liam Young
502156897b Update with fixes from mp 2015-03-30 15:10:41 +00:00
Liam Young
c13cd7e0c8 Stop managing the bridges in two places 2015-03-26 10:22:41 +00:00
Liam Young
f87b3d5a6d Add mtu fixes to configure ovs and fix unit tests 2015-03-26 10:00:52 +00:00
Liam Young
7f32b61062 Fixed empty metadata info 2015-03-25 10:29:27 +00:00
Liam Young
67b068f3f8 Merged next in 2015-03-25 09:49:01 +00:00
Liam Young
b54c200370 Prep for merging next in 2015-03-25 08:37:29 +00:00
Liam Young
78b14f6e89 Update after some contexts moved to charm helpers 2015-03-24 13:39:11 +00:00
Corey Bryant
d368ec5edb Merge next branch 2015-03-21 10:32:53 +00:00
Corey Bryant
d5e9cebd14 Overall refresh to current install from source approach 2015-03-21 10:25:07 +00:00