Added HA coverage

This commit is contained in:
Hassaan Pasha
2015-08-10 15:06:33 +05:00
parent 1dfdd5098a
commit 8ecd96dfc4
8 changed files with 82 additions and 12 deletions

View File

@@ -50,6 +50,24 @@ def install():
add_lcm_key()
@hooks.hook('plumgrid-plugin-relation-joined')
def plumgrid_dir():
'''
This hook is run when relation between neutron-api-plumgrid
and plumgrid-director is made.
'''
ensure_mtu()
ensure_files()
add_lcm_key()
CONFIGS.write_all()
restart_pg()
@hooks.hook('director-relation-joined')
def dir_joined():
ensure_files()
CONFIGS.write_all()
restart_pg()
@hooks.hook('config-changed')
def config_changed():
'''