]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fixed audit notifications for l3-agent-router ops
authorMaruti <maruti.kamat@hp.com>
Sat, 7 Jun 2014 12:42:45 +0000 (05:42 -0700)
committerMaruti <maruti.kamat@hp.com>
Tue, 15 Jul 2014 06:05:37 +0000 (23:05 -0700)
commit18dfd363c320ba67567fd55a2d47ffa6ea6c7bd2
tree7f870ec8f128d9da2b0324d7fa3d078fef43aebf
parentbcc0319e3198b61612281d04529c3e5ff092033e
Fixed audit notifications for l3-agent-router ops

l3-agent-router-add and l3-agent-router-remove do not
generate audit notifications which are used for security
compliance.
CRUD operations of core network resources are
handled by neutron/api/v2/base.py. In base.py, each of
create(), update(), delete() methods makes calls to
oslo.messaging.Notifier.info() to generate these notifications.
In the proposed fix, it is fixed in a similar fashion in
extensions/l3agentscheduler.py inside create() and delete()
methods by introducing info() method calls inside them.

Change-Id: I1354e51e4af24eda128c042926765683018b320b
Closes-Bug: 1317000
neutron/extensions/l3agentscheduler.py
neutron/tests/unit/openvswitch/test_agent_scheduler.py