libcloud.test.loadbalancer package

Submodules

libcloud.test.loadbalancer.test_brightbox module

libcloud.test.loadbalancer.test_cloudstack module

class libcloud.test.loadbalancer.test_cloudstack.CloudStackLBTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]
test_balancer_attach_member()[source]
test_balancer_detach_member()[source]
test_balancer_list_members()[source]
test_create_balancer()[source]
test_destroy_balancer()[source]
test_list_balancers()[source]
test_list_supported_algorithms()[source]
test_user_must_provide_host_and_path()[source]
class libcloud.test.loadbalancer.test_cloudstack.CloudStackMockHttp(*args, **kwargs)[source]

Bases: libcloud.test.MockHttpTestCase

fixture_tag = 'default'
fixtures = <libcloud.test.file_fixtures.LoadBalancerFileFixtures object>

libcloud.test.loadbalancer.test_dimensiondata module

libcloud.test.loadbalancer.test_elb module

libcloud.test.loadbalancer.test_gce module

libcloud.test.loadbalancer.test_gogrid module

class libcloud.test.loadbalancer.test_gogrid.GoGridLBMockHttp(*args, **kwargs)[source]

Bases: libcloud.test.MockHttpTestCase

fixtures = <libcloud.test.file_fixtures.LoadBalancerFileFixtures object>
class libcloud.test.loadbalancer.test_gogrid.GoGridTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()
test_balancer_attach_compute_node()
test_balancer_attach_member()
test_balancer_detach_member()
test_balancer_list_members()
test_create_balancer()
test_create_balancer_UNEXPECTED_ERROR()
test_destroy_balancer()
test_get_balancer()
test_list_balancers()
test_list_protocols()
test_list_supported_algorithms()

libcloud.test.loadbalancer.test_ninefold module

class libcloud.test.loadbalancer.test_ninefold.NinefoldLbTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

test_driver_instantiation()[source]

libcloud.test.loadbalancer.test_rackspace module

class libcloud.test.loadbalancer.test_rackspace.RackspaceLBMockHttp(*args, **kwargs)[source]

Bases: libcloud.test.MockHttpTestCase

auth_fixtures = <libcloud.test.file_fixtures.OpenStackFixtures object>
fixtures = <libcloud.test.file_fixtures.LoadBalancerFileFixtures object>
class libcloud.test.loadbalancer.test_rackspace.RackspaceLBTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()
test_balancer_attach_member()
test_balancer_attach_member_with_no_condition_specified()
test_balancer_attach_members()
test_balancer_detach_member()
test_balancer_list_members()
test_balancer_members_extra_condition()
test_balancer_members_extra_status()
test_balancer_members_extra_weight()
test_create_balancer()
test_destroy_balancer()
test_disable_balancer_session_persistence()
test_disable_balancer_session_persistence_no_poll()
test_ex_create_balancer()
test_ex_create_balancer_access_rule()
test_ex_create_balancer_access_rule_no_poll()
test_ex_create_balancer_access_rules()
test_ex_create_balancer_access_rules_no_poll()
test_ex_destroy_balancer_access_rule()
test_ex_destroy_balancer_access_rule_no_poll()
test_ex_destroy_balancer_access_rules()
test_ex_destroy_balancer_access_rules_no_poll()
test_ex_destroy_balancers()
test_ex_detach_members()
test_ex_detach_members_no_poll()
test_ex_disable_balancer_connection_logging()
test_ex_disable_balancer_connection_logging_no_poll()
test_ex_disable_balancer_connection_throttle()
test_ex_disable_balancer_connection_throttle_no_poll()
test_ex_disable_balancer_custom_error_page()
test_ex_disable_balancer_custom_error_page_no_poll()
test_ex_disable_balancer_health_monitor()
test_ex_disable_balancer_health_monitor_no_poll()
test_ex_enable_balancer_connection_logging()
test_ex_enable_balancer_connection_logging_no_poll()
test_ex_enable_balancer_session_persistence()
test_ex_enable_balancer_session_persistence_no_poll()
test_ex_list_algorithms()
test_ex_list_current_usage()
test_ex_list_protocols_with_default_ports()
test_ex_update_balancer_connection_throttle()
test_ex_update_balancer_connection_throttle_no_poll()
test_ex_update_balancer_error_page()
test_ex_update_balancer_error_page_no_poll()
test_ex_update_balancer_health_monitor()
test_ex_update_balancer_health_monitor_no_poll()
test_ex_update_balancer_http_health_monitor()
test_ex_update_balancer_http_health_monitor_no_poll()
test_ex_update_balancer_http_health_monitor_with_no_option_body_regex()
test_ex_update_balancer_member_extra_attributes()
test_ex_update_balancer_member_no_poll_extra_attributes()
test_ex_update_balancer_no_poll_algorithm()
test_ex_update_balancer_no_poll_bad_algorithm_exception()
test_ex_update_balancer_no_poll_name()
test_ex_update_balancer_no_poll_port()
test_ex_update_balancer_no_poll_protocol()
test_force_auth_token_kwargs()
test_force_auth_url_kwargs()
test_get_access_list()
test_get_balancer()
test_get_balancer_algorithm()
test_get_balancer_connect_health_monitor()
test_get_balancer_connection_throttle()
test_get_balancer_extra_access_list()
test_get_balancer_extra_created()
test_get_balancer_extra_members()
test_get_balancer_extra_private_source_ipv4()
test_get_balancer_extra_public_source_ipv4()
test_get_balancer_extra_public_source_ipv6()
test_get_balancer_extra_updated()
test_get_balancer_extra_vips()
test_get_balancer_http_health_monitor()
test_get_balancer_https_health_monitor()
test_get_balancer_protocol()
test_get_balancer_unknown_algorithm()
test_get_balancer_weighted_least_connections_algorithm()
test_get_balancer_weighted_round_robin_algorithm()
test_get_connection_logging()
test_get_error_page()
test_get_session_persistence()
test_gets_auth_2_0_endpoint_defaults_to_ord_region()
test_gets_auth_2_0_endpoint_for_dfw()
test_list_balancers()
test_list_balancers_ex_member_address()
test_list_protocols()
test_list_supported_algorithms()
test_update_balancer_algorithm()
test_update_balancer_bad_algorithm_exception()
test_update_balancer_name()
test_update_balancer_port()
test_update_balancer_protocol()
test_update_balancer_protocol_to_imapv2()
test_update_balancer_protocol_to_imapv3()
test_update_balancer_protocol_to_imapv4()
class libcloud.test.loadbalancer.test_rackspace.RackspaceLBWithVIPMockHttp(*args, **kwargs)[source]

Bases: libcloud.test.MockHttpTestCase

auth_fixtures = <libcloud.test.file_fixtures.OpenStackFixtures object>
fixtures = <libcloud.test.file_fixtures.LoadBalancerFileFixtures object>
class libcloud.test.loadbalancer.test_rackspace.RackspaceUKLBTests(methodName='runTest')[source]

Bases: libcloud.test.loadbalancer.test_rackspace.RackspaceLBTests

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()

libcloud.test.loadbalancer.test_softlayer module

Module contents