]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Notification for network/subnet/port create/delete/update.
authorYong Sheng Gong <gongysh@cn.ibm.com>
Wed, 25 Jul 2012 14:55:33 +0000 (22:55 +0800)
committerYong Sheng Gong <gongysh@cn.ibm.com>
Thu, 2 Aug 2012 07:26:33 +0000 (15:26 +0800)
commitf8e2c112829157a0ec12cfd1afa1d1a7ab9becb4
tree369e2430608aab3765fb09cf497d05a028580315
parenteef9c8b3b354a778aa06564e07a2d0b8e93a8fcb
Notification for network/subnet/port create/delete/update.
blueprint quantum-notifications

Add host configuration into conf, which is determined by socket.gethostname()
function by default. Host name is part of publiser id, which is in the format
of 'network'.$host.

We add create/update/delete start and end notification for each kind of resource.
By default, the notification do nothing since the notifier driver is no_op_notifier.
We can define it in quantum.conf.

Change-Id: Ibc5eacac7a324584e6ccff120f573444932a88ef
etc/quantum.conf
quantum/api/v2/base.py
quantum/tests/unit/test_api_v2.py