]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Don't monkey patch netns_cleanup
authorIhar Hrachyshka <ihrachys@redhat.com>
Thu, 12 Feb 2015 12:51:21 +0000 (13:51 +0100)
committerIhar Hrachyshka <ihrachys@redhat.com>
Wed, 18 Feb 2015 12:33:57 +0000 (13:33 +0100)
commit81ea614570397fbe0722060d3faa703e7ded9151
tree30fe6619ef9595936630e4418edf2999234c4137
parent3486a33994c6a0d8daa3889693f4bf0176148268
Don't monkey patch netns_cleanup

There is no reason to monkey patch the tool (it does not rely on any
special kind of model of concurrency). It's better to avoid eventlet
wherever possible, and there are discussions on whether we want to start
dropping eventlet usage agent by agent, so it's worth keeping as much of
code out of monkey business.

Related-Bug: #1418541
Change-Id: I1c1bb5a23e191da660efe9d4179ffaf5fec647f9
neutron/cmd/netns_cleanup.py
neutron/tests/unit/test_netns_cleanup.py