]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
move usage_audit to cmd/eventlet package
authorniusmallnan <zhangzb@neunn.com>
Mon, 7 Dec 2015 07:47:02 +0000 (07:47 +0000)
committerniusmallnan <zhangzb@neunn.com>
Mon, 7 Dec 2015 07:49:53 +0000 (07:49 +0000)
    setup_rpc func need the eventlet monkey_patch,
    otherwise the main process will be blocked.

Change-Id: I9f4a0b7c957b7dc7740e3cf6e75f18778ad562d0
Closes-Bug: #1522681

neutron/cmd/eventlet/usage_audit.py [moved from neutron/cmd/usage_audit.py with 100% similarity]
setup.cfg

index 133813de7ea128df9aed95a41fc5af6a63f77070..df07a6ecca8fa81c2b5459376f23a20e1624dab4 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -63,7 +63,7 @@ console_scripts =
     neutron-rpc-server = neutron.cmd.eventlet.server:main_rpc_eventlet
     neutron-rootwrap = oslo_rootwrap.cmd:main
     neutron-rootwrap-daemon = oslo_rootwrap.cmd:daemon
-    neutron-usage-audit = neutron.cmd.usage_audit:main
+    neutron-usage-audit = neutron.cmd.eventlet.usage_audit:main
     neutron-metering-agent = neutron.cmd.eventlet.services.metering_agent:main
     neutron-sriov-nic-agent = neutron.plugins.ml2.drivers.mech_sriov.agent.sriov_nic_agent:main
     neutron-sanity-check = neutron.cmd.sanity_check:main