4 Commits

Author SHA1 Message Date
Alex Kavanagh
6a11a54dde charmhelpers sync for yoga release
Charmhelpers sync and remove impish tests.

Change-Id: I2e392d6f249bb6fcebf5c964eabbc8162016dc9f
2022-04-08 20:41:18 -07:00
David Ames
3f3a159704 Make the cloud-compute relation net spaces aware
When nova compute is deployed with multiple network interfaces
configured. It may be necessary to specify which interface to use for
the cloud-compute relation.

Do not use unit_get('private-address') which gives unpredictable
results. Instead, leverage network-get for network spaces aware address
selection.

Charm helpers sync to pull in generalized get_relation_ip() used in
other charms which checks network-get after checking for all of the edge
cases including IPv6 and config overrides. Use get_relation_ip() for
address selection.

This allows for specifying a network space in a bundle when using MAAS
2.x. This guarantees the charm will select the correct interface and IP
for the network space.

nova-compute:
  bindings:
    cloud-compute: internal-space

Closes-bug: #1670866

Change-Id: Ib43a7a52acf5a07b68dea808082da0ba6eb237c1
2017-03-07 14:35:20 -08:00
James Page
68d95e47fd 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: Idb258c5a1ab8e637e65cbc707e084382017e83ae
2016-07-06 16:39:54 +01:00
Edward Hope-Morley
b1d232f866 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: I525c15a14662175f2a68cdcd25a3ab2c92237850
2016-03-24 11:18:41 +00:00