Notify about router and floating IP usages
This fixes the Quantum side of bug #1070009 Change-Id: I07c41814a3acfb2749d503fe1bc64ab7707535ee Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
2e7f9eeebd
commit
3514418bab
@ -53,3 +53,15 @@ if __name__ == '__main__':
|
|||||||
'port.exists',
|
'port.exists',
|
||||||
notifier_api.INFO,
|
notifier_api.INFO,
|
||||||
{'port': port})
|
{'port': port})
|
||||||
|
for router in plugin.get_routers(context):
|
||||||
|
notifier_api.notify(context,
|
||||||
|
notifier_api.publisher_id('network'),
|
||||||
|
'router.exists',
|
||||||
|
notifier_api.INFO,
|
||||||
|
{'router': router})
|
||||||
|
for floatingip in plugin.get_floatingips(context):
|
||||||
|
notifier_api.notify(context,
|
||||||
|
notifier_api.publisher_id('network'),
|
||||||
|
'floatingip.exists',
|
||||||
|
notifier_api.INFO,
|
||||||
|
{'floatingip': floatingip})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user