]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
After bulk create send DHCP notification
authorliudong <liudong78@huawei.com>
Mon, 4 Nov 2013 17:14:50 +0000 (01:14 +0800)
committerliudong <willowd878@gmail.com>
Mon, 10 Mar 2014 03:47:14 +0000 (11:47 +0800)
commitbb2c4ef9a26b12c68ca1e6710d0c92ce00c464cb
treeb390bd628bb432833fba395b93b29ead737547b0
parenta3e7e260544b43344f0a268b5257ee743e1034ca
After bulk create send DHCP notification

In the past send_dhcp_notification only handle single resource
because of VALID_RESOURCES = ['network', 'subnet', 'port'].
When I use bulk created ports to boot instance, the VMs could
not get IP address from DHCP agent. So I add some special handle
in function notify().

Add unit test for bulk create dhcp notification.

Modify a paramter for code style.

Change-Id: Ibf2b3380dc3081beaf0f2f68042b022f2726bbe7
Closes-Bug: #1247902
neutron/api/rpc/agentnotifiers/dhcp_rpc_agent_api.py
neutron/api/v2/base.py
neutron/tests/unit/test_api_v2.py