octavia.controller.queue.v2 package

Submodules

octavia.controller.queue.v2.consumer module

class ConsumerService(worker_id, conf)[source]

Bases: cotyledon._service.Service

run()[source]

Method representing the service activity

If not implemented the process will just wait to receive an ending signal.

This method is ran into the thread and can block or return as needed

Any exceptions raised by this method will be logged and the worker will exit with status 1.

terminate()[source]

Gracefully shutdown the service

This method will be executed when the Service has to shutdown cleanly.

If not implemented the process will just end with status 0.

To customize the exit code, the SystemExit exception can be used.

Any exceptions raised by this method will be logged and the worker will exit with status 1.

octavia.controller.queue.v2.endpoints module

class Endpoints[source]

Bases: object

batch_update_members(context, old_members, new_members, updated_members)[source]
create_health_monitor(context, health_monitor)[source]
create_l7policy(context, l7policy)[source]
create_l7rule(context, l7rule)[source]
create_listener(context, listener)[source]
create_load_balancer(context, loadbalancer, flavor=None, availability_zone=None)[source]
create_member(context, member)[source]
create_pool(context, pool)[source]
delete_health_monitor(context, health_monitor)[source]
delete_l7policy(context, l7policy)[source]
delete_l7rule(context, l7rule)[source]
delete_listener(context, listener)[source]
delete_load_balancer(context, loadbalancer, cascade=False)[source]
delete_member(context, member)[source]
delete_pool(context, pool)[source]
failover_amphora(context, amphora_id)[source]
failover_load_balancer(context, load_balancer_id)[source]
target = <Target namespace=controller, version=2.0>
update_amphora_agent_config(context, amphora_id)[source]
update_health_monitor(context, original_health_monitor, health_monitor_updates)[source]
update_l7policy(context, original_l7policy, l7policy_updates)[source]
update_l7rule(context, original_l7rule, l7rule_updates)[source]
update_listener(context, original_listener, listener_updates)[source]
update_load_balancer(context, original_load_balancer, load_balancer_updates)[source]
update_member(context, original_member, member_updates)[source]
update_pool(context, original_pool, pool_updates)[source]

Module contents