33 Commits

Author SHA1 Message Date
Ryan Beisner
e64f7490b5 Update functional test definitions
Change-Id: I5583203bbce303c0046cd55b3a8707e3d2bed27b
2018-08-27 18:16:41 -05:00
James Page
03016e4cc4 Resolve issues with long interface names
Resync charm helpers to pickup fixes to support veth wiring of
OVS bridges directly to Linux bridges created with MAAS.

Linux has a maximum interface name length of 15 charms; the
change ensures that the generated interface length for the veth
pair fits within this limitation.

Previous behaviour (that worked) is preserved to avoid duplicate
veth wiring or direct wiring of the Linux bridge to OVS.

Change-Id: Icef4efc179e8f812dd08f2423ed832a48573aa75
Closes-Bug: 1773353
2018-06-11 15:28:34 +01:00
Michael Skalka
07254a5c59 Enable IPFIX exporting for OVS bridges.
Adds a config option and calls to enable IPFIX exporting on all OVS
bridges created on a system by the OVS charm.

Closes-Bug: 1768016

Change-Id: Id2591ac5f39319d50ba235f6b9b5d493e7885d3a
2018-05-09 12:32:05 -04:00
Ryan Beisner
b32d02f7c6 Sync charm-helpers
Change-Id: Ie7fcd226afb62b9707f8a62af3cbd3b7f39e2d7f
2018-02-21 14:09:30 -06:00
Ryan Beisner
208e5f950a Sync charm-helpers
Notable issues resolved:

openstack_upgrade_available() broken for swift
https://bugs.launchpad.net/charm-swift-proxy/+bug/1743847

haproxy context doesn't consider bindings
https://bugs.launchpad.net/charm-helpers/+bug/1735421

regression in haproxy check
https://bugs.launchpad.net/charm-helpers/+bug/1743287

Change-Id: I4e53ae77afb5b0afa5219941ddfddc87e2e601d6
2018-01-19 12:09:48 +00:00
James Page
309d6b0df6 Resync charmhelpers for py3 fixes.
Change-Id: I30dbafafaf4704783b6d451c7230469e79e5bf4a
2017-11-13 12:30:09 +00:00
Ryan Beisner
9c0366ead9 Sync charm-helpers
Change-Id: Ic7e68817ba1d2b700b7efd9f2772783603df0dd6
2017-08-24 17:11:17 -05:00
Zhang Hua
6b5273f415 Support polling-interval rpc-response-timeout and report-interval
These options are set in the neutron-api charm centrally, and
this patch allows neutron-openvswitch charm to continue doing:

1, polling_interval
   Just used by neutron l2 agents, so neutron-openvswitch charm
   gets it via it's relations and set it in [agent] of ml2_conf.ini
   or openvswitch_agent.ini(>=Mitaka)

2, rpc_response_timeout
   Used by all neutron agents, so both neutron-gateway charm and
   neutron-openvswitch charm get it via it's relations and set it
   in [default] of neutron.conf

3, report_interval
   Used by all neutron agents, so both neutron-gateway charm and
   neutron-openvswitch charm get it via it's relations and set it
   in [agent] of neutron.conf

Change-Id: I76c0c75d5f3b4fdd1eb3242b53fde2e829fedca5
Partial-Bug: #1685788
2017-08-07 09:57:46 +01:00
James Page
c47d2a3aa9 Update notification config >= mitaka
Use oslo_messaging_notifications for mitaka or later releases
including setting the transport_url to the value provided by
the AMQP context.

This removes use of deprecated configuration options for
ceilometer notifications.

Change-Id: I6f6f3d7f2e423aecf5be7cab08da560e291e5845
2017-08-01 09:07:40 +01:00
David Ames
4a8245cb6a Pre-release charm-helpers sync 17.02
Get each charm up to date with lp:charm-helpers for release testing.

Change-Id: I0f1514bb60bb2f0bb1d46b62580ec31778cfe142
2017-02-14 14:52:24 -08:00
Ryan Beisner
73e2e7b594 Update Amulet defs, series metadata and c-h sync
- Sync charm helpers if applicable.

- Fix test executable hashbags for virtualenv prep.

- Add Yakkety-Newton Amulet test definitions.

- Prep Xenial-Ocata Amulet test definitions (not yet enabled).

- Prep Zesty-Ocata Amulet test definitions (not yet enabled).

- Add Zesty charm series metadata.

- Remove Precise charm series metadata if present.

- Remove Precise Amulet test definitions if present.

Change-Id: Ie3c1f208dbb4497ad99f7f930457b7e8e057e6b3
2016-11-28 14:54:50 -06:00
James Page
7e4bd68494 Add support for application version
Juju 2.0 provides support for display of the version of
an application deployed by a charm in juju status.

Insert the os_application_version_set function into the
existing assess_status function - this gets called after
all hook executions, and periodically after that, so any
changes in package versions due to normal system updates
will also be reflected in the status output.

This review also includes a resync of charm-helpers to
pickup hookenv and contrib.openstack support for this
feature.

Change-Id: Ia91a2de062fbc13fdb2b366217278bb96fc648fa
2016-09-20 12:32:57 +01:00
James Page
76f4183dff Resync charmhelpers for licensing change
The charm-helpers project have re-licensed to Apache 2.0
inline with the agreed licensing approach to intefaces,
layers and charms generally.

Resync helpers to bring charmhelpers inline with charm
codebase.

Change-Id: I1b988a174d4a236599cffef8334a2923bf031fff
2016-07-06 16:38:31 +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
Corey Bryant
dbcf9b3d4f [corey.bryant,r=trivial] Sync charm-helpers. 2016-01-04 16:29:08 -05:00
Edward Hope-Morley
ff59da7026 [hopem,r=]
Sync charmhelpers to get fix for LP 1500386
2015-09-28 12:32:27 +01:00
Liam Young
5902739d90 [gnuoy,trivial] Charmhelper sync (+1'd by mojo) 2015-09-03 10:45:37 +01:00
Corey Bryant
453e0db168 [corey.bryant,r=trivial] Sync charm-helpers to pick up Liberty support. 2015-08-18 13:34:35 -04:00
Liam Young
d9de073622 [gnuoy,trivial] Pre-release charmhelper sync to pickup leadership election peer migration fix 2015-08-03 15:01:27 +01:00
Liam Young
6288b266b4 [gnuoy,trivial] Pre-release charmhelper sync to pickup cli module 2015-07-31 14:11:50 +01:00
Liam Young
1dea26a747 [gnuoy,trivial] Pre-release charmhelper sync 2015-07-29 11:51:24 +01:00
Corey Bryant
709b235d7d Sync charm-helpers. 2015-07-16 20:18:23 +00:00
Corey Bryant
0584c3c2af Sync charm-helpers 2015-06-19 15:09:38 +00:00
Edward Hope-Morley
bf3f8e77db sync 2015-05-20 12:44:27 -07:00
Liam Young
9051edd3ec [gnuoy,trivial] Pre-release charmhelper sync 2015-04-16 11:30:12 +01:00
James Page
9af23e724c [dosaboy,r=james-page] Support mtu from neutron-api, add support for bridge mapping configuration. 2015-03-19 17:00:09 +00:00
Liam Young
1ac86b2067 [gnuoy,trivial] Pre-release charmhelper sync 2015-01-26 09:42:44 +00:00
Corey Bryant
0b79398541 Sync charm-helpers. 2014-12-11 13:40:05 +00:00
Corey Bryant
35daae199f Sync charm-helpers. 2014-12-10 20:28:54 +00:00
James Page
29f73b2923 Resync helpers 2014-10-13 14:31:28 +01:00
Gabriel Adrian Samfira
d0f79d593d Add vlan/flat networking support 2014-07-14 14:47:38 +03:00
James Page
357b8a0e49 Resync helpers, tidy README 2014-06-24 12:19:07 +01:00
Liam Young
d04a741fc6 Principle for Neutron API 2014-06-05 11:59:23 +01:00