~openstack-charmers/charms/trusty/nova-cell/next

« back to all changes in this revision

Viewing changes to hooks/novacell_hooks.py

  • Committer: Liam Young
  • Date: 2014-10-09 10:03:40 UTC
  • Revision ID: liam.young@canonical.com-20141009100340-sarovhdlev8j53hy
Write out new cells config when a cell departs

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
@hooks.hook('nova-api-relation-changed')
123
123
@hooks.hook("nova-cell-child-relation-changed")
124
124
@hooks.hook("nova-cell-parent-relation-changed")
 
125
@hooks.hook("nova-cell-child-relation-departed")
 
126
@hooks.hook("nova-cell-parent-relation-departed")
125
127
def nova_cell_family_relation_changed():
126
128
    CONFIGS.write_all()
127
129