RPC Calls to Agents for F5® LBaaSv2.
Schedule agent to bind to a load balancer.
f5lbaasdriver.v2.bigip.agent_scheduler.
TenantScheduler
[source]¶Bases: neutron_lbaas.agent_scheduler.ChanceScheduler
Finds an available agent for the tenant/environment.
deserialize_agent_configurations
(agent_conf)[source]¶Return a dictionary for the agent configuration.
get_agents_in_env
(context, plugin, env, group=None, active=None)[source]¶Get an active agents in the specified environment.
Constants for F5® LBaaSv2 Driver.
F5 Networks® LBaaSv2 Driver Implementation.
f5lbaasdriver.v2.bigip.driver_v2.
EntityManager
(driver)[source]¶Bases: object
Parent for all managers defined in this module.
f5lbaasdriver.v2.bigip.driver_v2.
F5DriverV2
(plugin=None, env=None)[source]¶Bases: object
F5 Networks® LBaaSv2 Driver.
f5lbaasdriver.v2.bigip.driver_v2.
F5NoAttachedLoadbalancerException
(message=None)[source]¶Bases: f5lbaasdriver.v2.bigip.exceptions.F5LBaaSv2DriverException
Exception thrown when an LBaaSv2 object has not parent Loadbalancer.
message
= 'Entity has no associated loadbalancer'¶f5lbaasdriver.v2.bigip.driver_v2.
HealthMonitorManager
(driver)[source]¶Bases: f5lbaasdriver.v2.bigip.driver_v2.EntityManager
HealthMonitorManager class handles Neutron LBaaS monitor CRUD.
f5lbaasdriver.v2.bigip.driver_v2.
L7PolicyManager
(driver)[source]¶Bases: f5lbaasdriver.v2.bigip.driver_v2.EntityManager
L7PolicyManager class handles Neutron LBaaS L7 Policy CRUD.
f5lbaasdriver.v2.bigip.driver_v2.
L7RuleManager
(driver)[source]¶Bases: f5lbaasdriver.v2.bigip.driver_v2.EntityManager
L7RuleManager class handles Neutron LBaaS L7 Rule CRUD.
f5lbaasdriver.v2.bigip.driver_v2.
ListenerManager
(driver)[source]¶Bases: f5lbaasdriver.v2.bigip.driver_v2.EntityManager
ListenerManager class handles Neutron LBaaS listener CRUD.
f5lbaasdriver.v2.bigip.driver_v2.
LoadBalancerManager
(driver)[source]¶Bases: f5lbaasdriver.v2.bigip.driver_v2.EntityManager
LoadBalancerManager class handles Neutron LBaaS CRUD.
f5lbaasdriver.v2.bigip.driver_v2.
MemberManager
(driver)[source]¶Bases: f5lbaasdriver.v2.bigip.driver_v2.EntityManager
MemberManager class handles Neutron LBaaS pool member CRUD.
f5lbaasdriver.v2.bigip.driver_v2.
PoolManager
(driver)[source]¶Bases: f5lbaasdriver.v2.bigip.driver_v2.EntityManager
PoolManager class handles Neutron LBaaS pool CRUD.
F5 Networks® LBaaSv2 Exceptions.
f5lbaasdriver.v2.bigip.exceptions.
F5DeleteListenerWithAttachedPool
(message=None)[source]¶Bases: f5lbaasdriver.v2.bigip.exceptions.F5LBaaSv2DriverException
The listener cannot become unbound from the pool.
message
= 'Cannot delete listener with an attached pool. Delete pool first.'¶f5lbaasdriver.v2.bigip.exceptions.
F5LBaaSv2DriverException
(message=None)[source]¶Bases: neutron_lib.exceptions.NeutronException
General F5 LBaaSv2 Driver Exception.
message
= 'F5LBaaSv2DriverException'¶f5lbaasdriver.v2.bigip.exceptions.
F5MismatchedTenants
(message=None)[source]¶Bases: f5lbaasdriver.v2.bigip.exceptions.F5LBaaSv2DriverException
The loadbalancer tenant is not the same as the network tenant.
message
= 'Tenant Id of network and loadbalancer mismatched'¶f5lbaasdriver.v2.bigip.exceptions.
PolicyHasMoreThanOneListener
(message=None)[source]¶Bases: f5lbaasdriver.v2.bigip.exceptions.F5LBaaSv2DriverException
A policy should have only one listener.
f5lbaasdriver.v2.bigip.exceptions.
RuleHasMoreThanOnePolicy
(message=None)[source]¶Bases: f5lbaasdriver.v2.bigip.exceptions.F5LBaaSv2DriverException
A rule should have only one policy.
RPC Callbacks for F5® LBaaSv2 Plugins.
f5lbaasdriver.v2.bigip.plugin_rpc.
LBaaSv2PluginCallbacksRPC
(driver=None)[source]¶Bases: object
Agent to plugin RPC API.
create_port_on_subnet_with_specific_ip
(*args, **kwargs)[source]¶Create port on subnet with specific ip address.
get_active_loadbalancers
(*args, **kwargs)[source]¶Get all loadbalancers for this group in this env.
get_active_loadbalancers_for_agent
(*args, **kwargs)[source]¶Get a list of loadbalancers active on this host.
get_pending_loadbalancers
(*args, **kwargs)[source]¶Get all loadbalancers for this group in this env.
get_service_by_loadbalancer_id
(*args, **kwargs)[source]¶Get the complete service definition by loadbalancer_id.
healthmonitor_destroyed
(*args, **kwargs)[source]¶Agent confirmation hook that health_monitor has been destroyed.
l7rule_destroyed
(*args, **kwargs)[source]¶Agent confirmation hook that l7 policy has been destroyed.
listener_destroyed
(*args, **kwargs)[source]¶Agent confirmation hook that listener has been destroyed.
loadbalancer_destroyed
(*args, **kwargs)[source]¶Agent confirmation hook that loadbalancer has been destroyed.
update_health_monitor_status
(*args, **kwargs)[source]¶Agent confirmation hook to update health monitor status.
update_l7policy_status
(*args, **kwargs)[source]¶Agent confirmation hook to update l7 policy status.
Service Module for F5® LBaaSv2.
f5lbaasdriver.v2.bigip.service_builder.
LBaaSv2ServiceBuilder
(driver)[source]¶Bases: object
The class creates a service definition from neutron database.
A service definition represents all the information required to construct a load-balancing service on BigIP.
Requests come in to agent as full service definitions, not incremental changes. The driver looks up networks, mac entries, segmentation info, etc and places all information in a service object (which is a python dictionary variable) and passes that to the agent.