Stop l3-agent when cluster is broken

This commit is contained in:
Juju Management User 2013-11-19 15:56:02 +00:00
parent 513afdde73
commit 5a0dfe23b3
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
quantum_hooks.py

View File

@ -134,6 +134,7 @@ def cluster_departed():
CONFIGS.write_all()
@hooks.hook('cluster-relation-broken')
@hooks.hook('stop')
def stop():
service_stop('neutron-l3-agent')