commit 5417220fc50fb31218ed1ed2aba6b926591c5f81
Author: Miguel Angel Ajo <email address hidden>
Date: Tue Mar 18 13:33:19 2014 +0100
fixes broken neutron-netns-cleanup
Some configuration parameters used in neutron.agent.linux.utils
were missing. The namespace attribute in the FakeNetwork object
was missing, and used in neutron.agent.linux.dhcp. Also, the
plugin object was missing for release_dhcp_port operation.
We provide a fake plugin object to accept current and any future
plugin calls as this is meant to be an standalone tool that
should work without any RPC connectivity.
FakeNetwork was switched for neutron.agent.linux.dhcp.NetModel
to follow any future changes in NetModel.
Two wrong called_once_with_args calls without assert were fixed.
Reviewed: https:/ /review. openstack. org/85503 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=5417220fc50 fb31218ed1ed2ab a6b926591c5f81
Committed: https:/
Submitter: Jenkins
Branch: milestone-proposed
commit 5417220fc50fb31 218ed1ed2aba6b9 26591c5f81
Author: Miguel Angel Ajo <email address hidden>
Date: Tue Mar 18 13:33:19 2014 +0100
fixes broken neutron- netns-cleanup
Some configuration parameters used in neutron. agent.linux. utils agent.linux. dhcp. Also, the
were missing. The namespace attribute in the FakeNetwork object
was missing, and used in neutron.
plugin object was missing for release_dhcp_port operation.
We provide a fake plugin object to accept current and any future
plugin calls as this is meant to be an standalone tool that
should work without any RPC connectivity.
FakeNetwork was switched for neutron. agent.linux. dhcp.NetModel
to follow any future changes in NetModel.
Two wrong called_ once_with_ args calls without assert were fixed.
Change-Id: Ia51ea9bd4c8eea 6b250858964ad52 86c933702e0 65c45a535f637c8 928d0be52a)
Closes-Bug: #1291915
Partial-Bug: #1297875
(cherry picked from commit 907bf41afbdb9f5