octavia.api.drivers package

Subpackages

Submodules

octavia.api.drivers.driver_factory module

get_driver(provider)[source]

octavia.api.drivers.utils module

additional_vip_dict_to_provider_dict(vip_dict)[source]
call_provider(provider, driver_method, *args, **kwargs)[source]

Wrap calls to the provider driver to handle driver errors.

This allows Octavia to return user friendly errors when a provider driver has an issue.

Parameters:

driver_method – Method in the driver to call.

Raises:
db_HM_to_provider_HM(db_hm)[source]
db_additional_vips_to_provider_vips(db_add_vips)[source]
db_l7policies_to_provider_l7policies(db_l7policies)[source]
db_l7policy_to_provider_l7policy(db_l7policy)[source]
db_l7rule_to_provider_l7rule(db_l7rule)[source]
db_l7rules_to_provider_l7rules(db_l7rules)[source]
db_listener_to_provider_listener(db_listener, for_delete=False)[source]
db_listeners_to_provider_dicts_list_of_dicts(db_listeners, for_delete=False)[source]
db_listeners_to_provider_listeners(db_listeners, for_delete=False)[source]
db_loadbalancer_to_provider_loadbalancer(db_loadbalancer, for_delete=False)[source]
db_member_to_provider_member(db_member)[source]
db_members_to_provider_members(db_members)[source]
db_pool_to_provider_pool(db_pool, for_delete=False)[source]
db_pools_to_provider_pools(db_pools, for_delete=False)[source]
hm_dict_to_provider_dict(hm_dict)[source]
l7policy_dict_to_provider_dict(l7policy_dict)[source]
l7rule_dict_to_provider_dict(l7rule_dict)[source]
lb_dict_to_provider_dict(lb_dict, vip=None, add_vips=None, db_pools=None, db_listeners=None, for_delete=False)[source]
listener_dict_to_provider_dict(listener_dict, for_delete=False)[source]
member_dict_to_provider_dict(member_dict)[source]
pool_dict_to_provider_dict(pool_dict, for_delete=False)[source]
provider_additional_vip_dict_to_additional_vip_obj(vip_dictionary)[source]
provider_vip_dict_to_vip_obj(vip_dictionary)[source]
vip_dict_to_provider_dict(vip_dict)[source]

Module contents