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()[source]
test_balancer_attach_compute_node()[source]
test_balancer_attach_member()[source]
test_balancer_detach_member()[source]
test_balancer_list_members()[source]
test_create_balancer()[source]
test_create_balancer_UNEXPECTED_ERROR()[source]
test_destroy_balancer()[source]
test_get_balancer()[source]
test_list_balancers()[source]
test_list_protocols()[source]
test_list_supported_algorithms()[source]

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

libcloud.test.loadbalancer.test_slb module

libcloud.test.loadbalancer.test_softlayer module

Module contents