Merge "Move counter_source definition"

This commit is contained in:
Jenkins 2013-02-12 00:37:44 +00:00 committed by Gerrit Code Review
commit 01f46b7a01
2 changed files with 10 additions and 4 deletions

View File

@ -29,10 +29,6 @@ METER_OPTS = [
default='change this or be hacked', default='change this or be hacked',
help='Secret value for signing metering messages', help='Secret value for signing metering messages',
), ),
cfg.StrOpt('counter_source',
default='openstack',
help='Source for counters emited on this instance',
),
] ]

View File

@ -23,6 +23,16 @@ in by the plugins that create them.
""" """
import collections import collections
from ceilometer.openstack.common import cfg
OPTS = [
cfg.StrOpt('counter_source',
default='openstack',
help='Source for counters emited on this instance'),
]
cfg.CONF.register_opts(OPTS)
# Fields explanation: # Fields explanation:
# #