ControllerWorker
[source]¶Bases: octavia.common.base_taskflow.BaseTaskFlowEngine
amphora_cert_rotation
(amphora_id)[source]¶Perform cert rotation for an amphora.
amphora_id – ID for amphora to rotate
None
AmphoraNotFound – The referenced amphora was not found
create_health_monitor
(health_monitor_id)[source]¶Creates a health monitor.
pool_id – ID of the pool to create a health monitor on
None
NoResultFound – Unable to find the object
create_l7policy
(l7policy_id)[source]¶Creates an L7 Policy.
l7policy_id – ID of the l7policy to create
None
NoResultFound – Unable to find the object
create_l7rule
(l7rule_id)[source]¶Creates an L7 Rule.
l7rule_id – ID of the l7rule to create
None
NoResultFound – Unable to find the object
create_listener
(listener_id)[source]¶Creates a listener.
listener_id – ID of the listener to create
None
NoResultFound – Unable to find the object
create_load_balancer
(load_balancer_id, flavor=None, availability_zone=None)[source]¶Creates a load balancer by allocating Amphorae.
First tries to allocate an existing Amphora in READY state. If none are available it will attempt to build one specifically for this load balancer.
load_balancer_id – ID of the load balancer to create
None
NoResultFound – Unable to find the object
create_member
(member_id)[source]¶Creates a pool member.
member_id – ID of the member to create
None
NoSuitablePool – Unable to find the node pool
create_pool
(pool_id)[source]¶Creates a node pool.
pool_id – ID of the pool to create
None
NoResultFound – Unable to find the object
delete_amphora
(amphora_id)[source]¶Deletes an existing Amphora.
amphora_id – ID of the amphora to delete
None
AmphoraNotFound – The referenced Amphora was not found
delete_health_monitor
(health_monitor_id)[source]¶Deletes a health monitor.
pool_id – ID of the pool to delete its health monitor
None
HMNotFound – The referenced health monitor was not found
delete_l7policy
(l7policy_id)[source]¶Deletes an L7 policy.
l7policy_id – ID of the l7policy to delete
None
L7PolicyNotFound – The referenced l7policy was not found
delete_l7rule
(l7rule_id)[source]¶Deletes an L7 rule.
l7rule_id – ID of the l7rule to delete
None
L7RuleNotFound – The referenced l7rule was not found
delete_listener
(listener_id)[source]¶Deletes a listener.
listener_id – ID of the listener to delete
None
ListenerNotFound – The referenced listener was not found
delete_load_balancer
(load_balancer_id, cascade=False)[source]¶Deletes a load balancer by de-allocating Amphorae.
load_balancer_id – ID of the load balancer to delete
None
LBNotFound – The referenced load balancer was not found
delete_member
(member_id)[source]¶Deletes a pool member.
member_id – ID of the member to delete
None
MemberNotFound – The referenced member was not found
delete_pool
(pool_id)[source]¶Deletes a node pool.
pool_id – ID of the pool to delete
None
PoolNotFound – The referenced pool was not found
failover_amphora
(amphora_id, reraise=False)[source]¶Perform failover operations for an amphora.
Note: This expects the load balancer to already be in provisioning_status=PENDING_UPDATE state.
amphora_id – ID for amphora to failover
reraise – If enabled reraise any caught exception
None
octavia.common.exceptions.NotFound – The referenced amphora was not found
failover_loadbalancer
(load_balancer_id)[source]¶Perform failover operations for a load balancer.
Note: This expects the load balancer to already be in provisioning_status=PENDING_UPDATE state.
load_balancer_id – ID for load balancer to failover
None
octavia.commom.exceptions.NotFound – The load balancer was not found.
update_amphora_agent_config
(amphora_id)[source]¶Update the amphora agent configuration.
update the running configuration for mutatable configuration items.
amphora_id – ID of the amphora to update.
None
update_health_monitor
(health_monitor_id, health_monitor_updates)[source]¶Updates a health monitor.
pool_id – ID of the pool to have it’s health monitor updated
health_monitor_updates – Dict containing updated health monitor
None
HMNotFound – The referenced health monitor was not found
update_l7policy
(l7policy_id, l7policy_updates)[source]¶Updates an L7 policy.
l7policy_id – ID of the l7policy to update
l7policy_updates – Dict containing updated l7policy attributes
None
L7PolicyNotFound – The referenced l7policy was not found
update_l7rule
(l7rule_id, l7rule_updates)[source]¶Updates an L7 rule.
l7rule_id – ID of the l7rule to update
l7rule_updates – Dict containing updated l7rule attributes
None
L7RuleNotFound – The referenced l7rule was not found
update_listener
(listener_id, listener_updates)[source]¶Updates a listener.
listener_id – ID of the listener to update
listener_updates – Dict containing updated listener attributes
None
ListenerNotFound – The referenced listener was not found
update_load_balancer
(load_balancer_id, load_balancer_updates)[source]¶Updates a load balancer.
load_balancer_id – ID of the load balancer to update
load_balancer_updates – Dict containing updated load balancer
None
LBNotFound – The referenced load balancer was not found
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.