Remove the collector submodule

It's useless to have a submodule with just one service, simplify the
hierarchy.

Change-Id: I4c39ea74fc5cb59d487626b998eaed9c5cf30eff
This commit is contained in:
Julien Danjou 2013-11-18 16:33:40 +01:00
parent 34b9fa54ec
commit b6aab66586
6 changed files with 5 additions and 8 deletions

View File

@ -28,7 +28,7 @@ from ceilometer.openstack.common import log
from ceilometer.openstack.common import network_utils
from ceilometer import publisher
cfg.CONF.import_opt('udp_port', 'ceilometer.collector.service',
cfg.CONF.import_opt('udp_port', 'ceilometer.collector',
group='collector')
LOG = log.getLogger(__name__)

View File

@ -15,9 +15,6 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
"""Tests for ceilometer/agent/service.py
"""
import socket
import mock
@ -26,7 +23,7 @@ import msgpack
from stevedore import extension
from stevedore.tests import manager as test_manager
from ceilometer.collector import service
from ceilometer import collector
from ceilometer.openstack.common.fixture import config
from ceilometer import sample
from ceilometer.tests import base as tests_base
@ -37,7 +34,7 @@ class TestCollector(tests_base.BaseTestCase):
super(TestCollector, self).setUp()
self.CONF = self.useFixture(config.Config()).conf
self.CONF.set_override("connection", "log://", group='database')
self.srv = service.CollectorService('the-host', 'the-topic')
self.srv = collector.CollectorService('the-host', 'the-topic')
self.counter = sample.Sample(
name='foobar',
type='bad',

View File

@ -876,7 +876,7 @@
[collector]
#
# Options defined in ceilometer.collector.service
# Options defined in ceilometer.collector
#
# address to bind the UDP socket todisabled if set to an empty

View File

@ -122,7 +122,7 @@ console_scripts =
ceilometer-agent-notification = ceilometer.notification:agent
ceilometer-dbsync = ceilometer.storage:dbsync
ceilometer-expirer = ceilometer.storage:expirer
ceilometer-collector = ceilometer.collector.service:collector
ceilometer-collector = ceilometer.collector:collector
ceilometer-alarm-evaluator = ceilometer.alarm.service:alarm_evaluator
ceilometer-alarm-notifier = ceilometer.alarm.service:alarm_notifier