octavia.controller.worker.v2.flows package¶
Submodules¶
octavia.controller.worker.v2.flows.amphora_flows module¶
-
class
AmphoraFlows
[source]¶ Bases:
object
-
cert_rotate_amphora_flow
()[source]¶ Implement rotation for amphora’s cert.
- Create a new certificate
- Upload the cert to amphora
- update the newly created certificate info to amphora
- update the cert_busy flag to be false after rotation
Returns: The flow for updating an amphora
-
get_amphora_for_lb_subflow
(prefix, role='STANDALONE')[source]¶ Tries to allocate a spare amphora to a loadbalancer if none
exists, create a new amphora.
-
get_create_amphora_flow
()[source]¶ Creates a flow to create an amphora.
Returns: The flow for creating the amphora
-
get_delete_amphora_flow
()[source]¶ Creates a flow to delete an amphora.
This should be configurable in the config file :returns: The flow for deleting the amphora :raises AmphoraNotFound: The referenced Amphora was not found
-
octavia.controller.worker.v2.flows.health_monitor_flows module¶
-
class
HealthMonitorFlows
[source]¶ Bases:
object
-
get_create_health_monitor_flow
()[source]¶ Create a flow to create a health monitor
Returns: The flow for creating a health monitor
-
octavia.controller.worker.v2.flows.l7policy_flows module¶
octavia.controller.worker.v2.flows.l7rule_flows module¶
octavia.controller.worker.v2.flows.listener_flows module¶
-
class
ListenerFlows
[source]¶ Bases:
object
-
get_create_all_listeners_flow
()[source]¶ Create a flow to create all listeners
Returns: The flow for creating all listeners
-
get_create_listener_flow
()[source]¶ Create a flow to create a listener
Returns: The flow for creating a listener
-
get_delete_listener_flow
()[source]¶ Create a flow to delete a listener
Returns: The flow for deleting a listener
-
octavia.controller.worker.v2.flows.load_balancer_flows module¶
-
class
LoadBalancerFlows
[source]¶ Bases:
object
-
get_cascade_delete_load_balancer_flow
(lb)[source]¶ Creates a flow to delete a load balancer.
Returns: The flow for deleting a load balancer
-
get_create_load_balancer_flow
(topology, listeners=None)[source]¶ Creates a conditional graph flow that allocates a loadbalancer to
two spare amphorae. :raises InvalidTopology: Invalid topology specified :return: The graph flow for creating a loadbalancer.
-
get_delete_load_balancer_flow
(lb)[source]¶ Creates a flow to delete a load balancer.
Returns: The flow for deleting a load balancer
-
get_new_LB_networking_subflow
()[source]¶ Create a sub-flow to setup networking.
Returns: The flow to setup networking for a new amphora
-
octavia.controller.worker.v2.flows.member_flows module¶
-
class
MemberFlows
[source]¶ Bases:
object
-
get_batch_update_members_flow
(old_members, new_members, updated_members)[source]¶ Create a flow to batch update members
Returns: The flow for batch updating members
-
get_create_member_flow
()[source]¶ Create a flow to create a member
Returns: The flow for creating a member
-