Commit Graph

97 Commits

Author SHA1 Message Date
Trent Lloyd
5dee017f12 Support new style (and multiple) external networks
Switch the generated configuration to use "new" style external
networks when ext-port is not set.  In this case we configure
external_network_bridge = (intentionally blank),
gateway_external_network_id = (blank) and update the README with
information on using this new style of configuration.

The current template configures external networks by using the default
external_network_bridge=br-ex (implied when not set).  This activates
legacy code which assumes that a single external network exists on
that bridge and the L3 Agent directly plugs itself in.
provider:network_type, provider:physical_network and
provider:segmentation_id are ignored.  You cannot create multiple
networks and you cannot use segmented networks (e.g. VLAN)

By setting external_network_bridge = (intentionally blank) the L2
Agent handles the configuration instead, this allows us to create
multiple networks and also to use more complex network configurations
such as VLAN.  It is also possible to use the same physical connection
with different segmentation IDs for both internal and external
networks, as well as multiple external networks.

Legacy/existing configurations where ext-port is set generate the same
configuration as previous and should continue to work as before.  I do
not believe it to be easy to migrate existing setups to the "new"
style configuration automatically as changes to the neutron network
configuration may be required (specifically: provider:physical_network
will now be used when it was not before, and may not be correct) and
the physical port needs to be moved from br-ex to br-data which the
charm does not currently handle and is likely to error as it does not
attempt removal first.  Further work may be possible in this area.

For information about this new style of configuration being preferred,
see discussions in LP#1491668, LP#1525059 and
http://docs.openstack.org/liberty/networking-guide/scenario-classic-ovs.html

Change-Id: I8d2bb8098e080969e0445293b1ed79714b2c964f
Related-Bug: #1491668
Related-Bug: #1525059
Closes-Bug: #1536768
2016-06-14 17:45:47 +01:00
Edward Hope-Morley
7f5acef378 Add hardening support
Add charmhelpers.contrib.hardening and calls to install,
config-changed, upgrade-charm and update-status hooks.
Also add new config option to allow one or more hardening
modules to be applied at runtime.

Change-Id: I0f3035c8f8feae90ad3572297fab0ac28e7d97e2
2016-03-31 15:01:54 +01:00
James Page
00f0edc70d refactor: Drop unsupported configurations and code
Includes dropping support for quantum, nvp plugin (renamed
nsx long ago) and generally refactoring the unit tests
around no longer having to deal with neutron and quantum in
the same codebase.

Drop support for database connections - these are no longer
required as all DB access is now via RPC to nova-conductor
or neutron-server.

Roll-up configuration file templates < icehouse, remove any
that are no longer required.

Refactor basic_deployment a bit as it was using the shared-db
relation to retrieve the n-gateway units private-address.

Change-Id: I22957c0e21c4dd49e5aa74795173b4fc8f043f55
2016-03-03 11:31:11 +00:00
Ionut Balutoiu
ebec1a4119 Added config option for the additional dnsmasq flags 2015-11-17 15:46:49 +02:00
James Page
6507e5259b [trivial] Correct plugin config option 2015-10-08 05:02:13 -07:00
James Page
091e3c89bf [thedac,r=james-page] Add support for action managed upgrade of openstack. 2015-09-24 17:22:09 +01:00
Chris Johnston
9761f44638 Documentation fixes in README and config 2015-09-15 20:26:06 +00:00
David Ames
92ebe2f094 Action managed OpenStack upgrade 2015-09-14 13:33:41 -07:00
Edward Hope-Morley
8d4cd89036 [hopem,r=]
Ensure all nics are included when resolving mac addresses
and filter out virtual interfaces.

Closes-Bug: 1485655
2015-08-18 22:13:11 +01:00
Edward Hope-Morley
e95c3b5f00 [trivial] Cleanup config.yaml
Partially-Closes-Bug: 1473426
2015-07-10 15:18:52 +01:00
Edward Hope-Morley
7213b596e5 [hopem,r=]
Fixes network-vlan-ranges parsing

Partially-Closes-Bug: 1451095
2015-05-13 12:20:38 +01:00
James Page
84df1598d1 [coreycb,r=james-page] Add deploy from source support. 2015-04-16 21:07:38 +01:00
Edward Hope-Morley
81de3600af better desc 2015-04-15 15:26:58 +01:00
Edward Hope-Morley
97cf59b8d5 [hopem,r=]
Allow flat network providers to be configured seperately to vlan
providers.

Closes-Bug: 1444470
2015-04-15 15:07:39 +01:00
Corey Bryant
5d267c3f36 Deploy from source 2015-04-10 14:22:04 +00:00
Edward Hope-Morley
df0a727987 phy-nic* > get value from data-port config param 2015-03-12 10:33:36 +00:00
Edward Hope-Morley
f011eb3dd2 sync next 2015-03-03 15:54:58 +08:00
Edward Hope-Morley
43bc6fd54e more 2015-03-03 15:03:53 +08:00
Edward Hope-Morley
c809638c0c more 2015-03-03 14:24:07 +08:00
Edward Hope-Morley
eebdd55c9d more 2015-03-03 11:21:38 +08:00
Edward Hope-Morley
d2ecfad238 more 2015-02-27 16:55:07 +00:00
Brad Marshall
500edf2129 [bradm] Add nagios_servicegroups config option 2015-02-19 15:19:00 +10:00
Edward Hope-Morley
99788cdb27 more 2015-02-11 18:47:51 +00:00
Edward Hope-Morley
babccfb5ff more 2015-02-11 16:28:12 +00:00
Edward Hope-Morley
c45a96d687 more 2015-02-10 21:05:32 +00:00
Edward Hope-Morley
bcb49ed3aa allow net_dev_mtu local override 2015-02-10 14:37:52 +00:00
Edward Hope-Morley
f9f95ae0ac default to no network-device-mtu 2015-02-10 12:00:24 +00:00
Edward Hope-Morley
717248440c synced ch and fixed tests 2015-02-09 20:20:00 +00:00
Edward Hope-Morley
8319879b7b synced charm-helpers 2015-02-09 16:40:08 +00:00
Edward Hope-Morley
05e2f69bad mtu support 2015-02-03 11:47:59 +00:00
Liam Young
97bcb9a4e2 [gnuoy] Backout previous ipv6 merge as more work needs doing 2015-01-27 09:20:00 +00:00
Edward Hope-Morley
a3a0b6a4cc added missing prefer-ipv6 config option 2015-01-26 15:29:46 +00:00
Hui Xiang
8a99ce6596 Rebuild ovs tunnel only if local agent is alive, other minor change. 2015-01-19 18:43:09 +08:00
Hui Xiang
e777443c5a Merge from quantum-gateway chunk 2015-01-15 17:40:34 +08:00
Liam Young
4a3f7fabbc Merge 'next' in and fix lint 2015-01-09 14:35:59 +00:00
Edward Hope-Morley
e30bc866c2 cleanup 2015-01-06 16:41:28 +00:00
Hui Xiang
43e8a2f9a4 Remove conflict msg 2014-12-25 18:28:50 +08:00
Hui Xiang
dfe756a3b0 Remove conflict msg 2014-12-25 18:25:46 +08:00
Hui Xiang
1c6f69ceea merge lp:~openstack-charmers/charms/trusty/quantum-gateway/next 2014-12-25 18:21:54 +08:00
Hui Xiang
2b5ef118a9 Cleanup more. 2014-12-23 14:09:51 +08:00
Edward Hope-Morley
3ecd3807d9 [niedbalski,r=hopem]
Adds sysctl configuration support.

Closes-Bug: #1396613
2014-12-19 15:21:18 +00:00
Jorge Niedbalski
1c7526aacd [hooks] config_changed checks for "sysctl". fixes LP: #1366598 2014-12-19 10:37:34 -03:00
Hui Xiang
4e271798f7 Add ha options and fix get_dns_hosts 2014-12-08 16:41:28 +08:00
Hui Xiang
34c698f4fe Support Neutron Legacy HA and Scale feature. 2014-12-05 16:35:54 +08:00
Zhang Hua
1f72ac6272 change to use the method of charm-helpers 2014-12-03 21:34:25 +08:00
James Page
75670f8554 [james-page,r=gnuoy] Add support for vlan and flat networking 2014-11-24 09:34:05 +00:00
Zhang Hua
1941272027 modify MTU of tunnel nic more than 1500 2014-11-19 15:02:40 +08:00
James Page
f4a7673dea [shiva,r=james-page] Enable support for n1kv SDN. 2014-11-18 21:09:34 -06:00
James Page
4c62002a99 Add configuration options and support for vlan and flat networking 2014-11-10 17:11:14 +00:00
root
c74b40cb04 [bradm] initial nrpe checks 2014-10-29 22:30:36 -05:00