lp:~ajkavanagh/charms/trusty/memcached/add-spaces-support
- Get this branch:
- bzr branch lp:~ajkavanagh/charms/trusty/memcached/add-spaces-support
Branch merges
- David Ames (community): Approve
-
Diff: 1570 lines (+842/-136)16 files modifiedREADME.md (+23/-0)
hooks/charmhelpers/contrib/network/ip.py (+122/-28)
hooks/charmhelpers/contrib/network/ovs/__init__.py (+66/-1)
hooks/charmhelpers/core/hookenv.py (+47/-0)
hooks/charmhelpers/core/host.py (+225/-37)
hooks/charmhelpers/core/host_factory/centos.py (+16/-0)
hooks/charmhelpers/core/host_factory/ubuntu.py (+32/-0)
hooks/charmhelpers/core/kernel_factory/ubuntu.py (+1/-1)
hooks/charmhelpers/core/strutils.py (+53/-0)
hooks/charmhelpers/fetch/__init__.py (+1/-0)
hooks/charmhelpers/fetch/snap.py (+122/-0)
hooks/charmhelpers/fetch/ubuntu.py (+87/-36)
hooks/charmhelpers/osplatform.py (+6/-0)
hooks/memcached_hooks.py (+20/-13)
hooks/replication.py (+6/-5)
unit_tests/test_memcached_hooks.py (+15/-15)
Related bugs
Bug #1605311: memcached charm doesn't open ufw on the right address | Medium | Fix Released |
|
Related blueprints
Branch information
- Owner:
- Alex Kavanagh
- Status:
- Merged
Recent revisions
- 78. By Alex Kavanagh
-
Removed the 'space_
aware_unit_ address( )' function and replaced it with
the (new) charmhelpers.contrib. network. ip.get_ relation_ ip() function. Updated the README.md file to indicate what space name strings exist in
the charm and what interfaces they are used for.Synced charmhelpers to get the 'get_relation_ip()' function.
- 77. By Alex Kavanagh
-
Enable Juju 2.0+ spaces on the interfaces
This provides spaces support for the interfaces so that if an interface
is bound then the charm uses the address of the bind rather that the units
private address. - 76. By Kevin W Monroe
-
unit test fixes
- mock ufw.modify_access (prevents failure if ufw is not installed,
and we dont really want to be altering host ufw anyway).
- config changed replica / no-replica tests were both doing the same thing:
- test_config_changed_ replica: the flow we want to test starts with no
replica, finds the current replica, opens ports, and renders the right
config. adjust the test to do this.
- test_config_changed_ no_replica: the flow we want to test has no replica
config, opens ports, and renders the right config. adjust the test to do
this.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:charms/memcached