Added vsd-rest-api-relation-joined link file

This commit is contained in:
Sunny Verma 2016-02-17 12:33:37 -05:00
parent 2a3d65e097
commit edb5eb6f59
3 changed files with 3 additions and 7 deletions

View File

@ -1,7 +0,0 @@
[report]
# Regexes for lines to exclude from consideration
exclude_lines =
if __name__ == .__main__.:
except UnregisteredHookError as e:
include=
hooks/neutron_*

View File

@ -201,7 +201,9 @@ def install():
[open_port(port) for port in determine_ports()] [open_port(port) for port in determine_ports()]
@hooks.hook('vsd-rest-api-relation-joined') @hooks.hook('vsd-rest-api-relation-joined')
@restart_on_change(restart_map(), stopstart=True)
def relation_set_nuage_cms_name(rid=None): def relation_set_nuage_cms_name(rid=None):
relation_data = { relation_data = {
'vsd-cms-name': '{}'.format(config('vsd-cms-name')) 'vsd-cms-name': '{}'.format(config('vsd-cms-name'))

View File

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