The ceilometer.tests.unit.agent.agentbase Module

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 Discovery(conf)[source]

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

class DiscoveryAnother(conf)[source]

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

class DiscoveryException(conf)[source]

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

class Pollster(conf)[source]

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

class PollsterAnother(conf)[source]

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

class PollsterException(conf)[source]

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

class PollsterExceptionAnother(conf)[source]

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

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

Return subclass specific manager.

setUp(*args, **keywargs)[source]
setup_polling()[source]
tearDown()[source]
test_agent_manager_start()[source]
test_agent_manager_start_fallback()[source]
test_discovery_partitioning()[source]
test_discovery_partitioning_unhashable()[source]
test_manager_exception_persistency()[source]
test_multiple_pollings_different_static_resources()[source]
test_multiple_sources_different_discoverers()[source]
test_per_polling_discovery_discovered_augmented_by_static()[source]
test_per_polling_discovery_discovered_duplicated_static()[source]
test_per_polling_discovery_discovered_only()[source]
test_per_polling_discovery_static_only()[source]
test_per_pollster_discovery()[source]
test_per_pollster_discovery_caching()[source]
test_per_pollster_discovery_duplicated()[source]
test_per_pollster_discovery_overridden_by_duplicated_static()[source]
test_per_pollster_discovery_overridden_by_per_polling_discovery()[source]
test_polling_and_notify_with_resources(*args, **keywargs)[source]
test_polling_samples_timestamp(*args, **keywargs)[source]
test_setup_polling_task_same_interval()[source]
test_setup_polling_tasks()[source]
test_setup_polling_tasks_mismatch_counter()[source]
test_setup_polling_tasks_multiple_interval()[source]
test_skip_polling_and_notify_with_no_resources(*args, **keywargs)[source]
test_skip_polling_polled_resources(*args, **keywargs)[source]
test_start(*args, **keywargs)[source]
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

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.