The heat_integrationtests.functional.test_lbaasv2 Module

The heat_integrationtests.functional.test_lbaasv2 Module

class heat_integrationtests.functional.test_lbaasv2.LoadBalancerv2Test(*args, **kwargs)[source]

Bases: heat_integrationtests.functional.functional_base.FunctionalTestsBase

add_member = '\n poolmember2:\n type: OS::Neutron::LBaaS::PoolMember\n properties:\n address: 2.2.2.2\n pool: { get_resource: pool }\n protocol_port: 2222\n subnet: { get_param: subnet }\n weight: 222\n'
create_template = '\nheat_template_version: 2016-04-08\nparameters:\n subnet:\n type: string\nresources:\n loadbalancer:\n type: OS::Neutron::LBaaS::LoadBalancer\n properties:\n description: aLoadBalancer\n vip_subnet: { get_param: subnet }\n listener:\n type: OS::Neutron::LBaaS::Listener\n properties:\n description: aListener\n loadbalancer: { get_resource: loadbalancer }\n protocol: HTTP\n protocol_port: 80\n connection_limit: 5555\n pool:\n type: OS::Neutron::LBaaS::Pool\n properties:\n description: aPool\n lb_algorithm: ROUND_ROBIN\n protocol: HTTP\n listener: { get_resource: listener }\n poolmember:\n type: OS::Neutron::LBaaS::PoolMember\n properties:\n address: 1.1.1.1\n pool: { get_resource: pool }\n protocol_port: 1111\n subnet: { get_param: subnet }\n weight: 255\n # pm2\n healthmonitor:\n type: OS::Neutron::LBaaS::HealthMonitor\n properties:\n delay: 3\n type: HTTP\n timeout: 3\n max_retries: 3\n pool: { get_resource: pool }\noutputs:\n loadbalancer:\n value: { get_attr: [ loadbalancer, show ] }\n pool:\n value: { get_attr: [ pool, show ] }\n poolmember:\n value: { get_attr: [ poolmember, show ] }\n listener:\n value: { get_attr: [ listener, show ] }\n healthmonitor:\n value: { get_attr: [ healthmonitor, show ] }\n'
setUp()[source]
test_add_delete_poolmember()[source]
test_create_update_loadbalancer()[source]
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.