Move ceilometer/cli.py to ceilometer/cmd/sample.py

This puts it in line with the other command line tools.

Change-Id: I5a9817af680ae66c1a705692f8d0570783b176c6
This commit is contained in:
Chris Dent 2015-04-22 16:06:26 +00:00
parent a8fe0dcbe7
commit 96c6e42bc8
2 changed files with 1 additions and 7 deletions

View File

@ -20,12 +20,6 @@
import logging
import sys
import eventlet
# NOTE(jd) We need to monkey patch the socket and select module for,
# at least, oslo.messaging, otherwise everything's blocked on its
# first read() or select(), thread need to be patched too, because
# oslo.messaging use threading.local
eventlet.monkey_patch(socket=True, select=True, thread=True)
from oslo_config import cfg
from oslo_context import context
from oslo_utils import timeutils

View File

@ -331,7 +331,7 @@ console_scripts =
ceilometer-polling = ceilometer.cmd.polling:main
ceilometer-agent-notification = ceilometer.cmd.agent_notification:main
ceilometer-agent-ipmi = ceilometer.cmd.polling:main_ipmi
ceilometer-send-sample = ceilometer.cli:send_sample
ceilometer-send-sample = ceilometer.cmd.sample:send_sample
ceilometer-dbsync = ceilometer.cmd.storage:dbsync
ceilometer-expirer = ceilometer.cmd.storage:expirer
ceilometer-rootwrap = oslo_rootwrap.cmd:main