The ceilometer.tests.unit.agent.agentbase Module

class ceilometer.tests.unit.agent.agentbase.BaseAgentManagerTestCase(*args, **kwds)[source]

Bases: ceilometer.tests.base.BaseTestCase

class BatchPollster(conf)[source]

Bases: ceilometer.tests.unit.agent.agentbase.BatchTestPollster

class BaseAgentManagerTestCase.Discovery(conf)[source]

Bases: ceilometer.tests.unit.agent.agentbase.TestDiscovery

class BaseAgentManagerTestCase.DiscoveryAnother(conf)[source]

Bases: ceilometer.tests.unit.agent.agentbase.TestDiscovery

class BaseAgentManagerTestCase.DiscoveryException(conf)[source]

Bases: ceilometer.tests.unit.agent.agentbase.TestDiscoveryException

class BaseAgentManagerTestCase.Pollster(conf)[source]

Bases: ceilometer.tests.unit.agent.agentbase.TestPollster

class BaseAgentManagerTestCase.PollsterAnother(conf)[source]

Bases: ceilometer.tests.unit.agent.agentbase.TestPollster

class BaseAgentManagerTestCase.PollsterException(conf)[source]

Bases: ceilometer.tests.unit.agent.agentbase.TestPollsterException

class BaseAgentManagerTestCase.PollsterExceptionAnother(conf)[source]

Bases: ceilometer.tests.unit.agent.agentbase.TestPollsterException

BaseAgentManagerTestCase.create_discoveries()[source]
BaseAgentManagerTestCase.create_extension_list()[source]
BaseAgentManagerTestCase.create_manager()[source]

Return subclass specific manager.

BaseAgentManagerTestCase.setUp(*args, **keywargs)[source]
BaseAgentManagerTestCase.setup_polling()[source]
BaseAgentManagerTestCase.tearDown()[source]
BaseAgentManagerTestCase.test_agent_manager_start()[source]
BaseAgentManagerTestCase.test_agent_manager_start_fallback()[source]
BaseAgentManagerTestCase.test_discovery_partitioning()[source]
BaseAgentManagerTestCase.test_join_partitioning_groups()[source]
BaseAgentManagerTestCase.test_manager_exception_persistency()[source]
BaseAgentManagerTestCase.test_multiple_pollings_different_static_resources()[source]
BaseAgentManagerTestCase.test_multiple_sources_different_discoverers()[source]
BaseAgentManagerTestCase.test_per_polling_discovery_discovered_augmented_by_static()[source]
BaseAgentManagerTestCase.test_per_polling_discovery_discovered_duplicated_static()[source]
BaseAgentManagerTestCase.test_per_polling_discovery_discovered_only()[source]
BaseAgentManagerTestCase.test_per_polling_discovery_static_only()[source]
BaseAgentManagerTestCase.test_per_pollster_discovery()[source]
BaseAgentManagerTestCase.test_per_pollster_discovery_caching()[source]
BaseAgentManagerTestCase.test_per_pollster_discovery_duplicated()[source]
BaseAgentManagerTestCase.test_per_pollster_discovery_overridden_by_duplicated_static()[source]
BaseAgentManagerTestCase.test_per_pollster_discovery_overridden_by_per_polling_discovery()[source]
BaseAgentManagerTestCase.test_polling_and_notify_with_resources(*args, **keywargs)[source]
BaseAgentManagerTestCase.test_polling_samples_timestamp(*args, **keywargs)[source]
BaseAgentManagerTestCase.test_setup_polling_task_same_interval()[source]
BaseAgentManagerTestCase.test_setup_polling_tasks()[source]
BaseAgentManagerTestCase.test_setup_polling_tasks_mismatch_counter()[source]
BaseAgentManagerTestCase.test_setup_polling_tasks_multiple_interval()[source]
BaseAgentManagerTestCase.test_skip_polling_and_notify_with_no_resources(*args, **keywargs)[source]
BaseAgentManagerTestCase.test_skip_polling_polled_resources(*args, **keywargs)[source]
BaseAgentManagerTestCase.test_start(*args, **keywargs)[source]
BaseAgentManagerTestCase.test_static_resources_partitioning()[source]
class ceilometer.tests.unit.agent.agentbase.BatchTestPollster(conf)[source]

Bases: ceilometer.tests.unit.agent.agentbase.TestPollster

get_samples(manager, cache, resources)[source]
class ceilometer.tests.unit.agent.agentbase.TestDiscovery(conf)[source]

Bases: ceilometer.agent.plugin_base.DiscoveryBase

discover(manager, param=None)[source]
class ceilometer.tests.unit.agent.agentbase.TestDiscoveryException(conf)[source]

Bases: ceilometer.agent.plugin_base.DiscoveryBase

discover(manager, param=None)[source]
class ceilometer.tests.unit.agent.agentbase.TestPollster(conf)[source]

Bases: ceilometer.agent.plugin_base.PollsterBase

get_samples(manager, cache, resources)[source]
class ceilometer.tests.unit.agent.agentbase.TestPollsterException(conf)[source]

Bases: ceilometer.tests.unit.agent.agentbase.TestPollster

get_samples(manager, cache, resources)[source]
class ceilometer.tests.unit.agent.agentbase.TestSample(name, type, unit, volume, user_id, project_id, resource_id, timestamp=None, resource_metadata=None, source=None)[source]

Bases: ceilometer.sample.Sample