octavia.api.drivers.driver_agent package

Submodules

octavia.api.drivers.driver_agent.driver_get module

process_get(get_data)[source]

octavia.api.drivers.driver_agent.driver_listener module

class ForkingUDSServer(server_address, RequestHandlerClass, bind_and_activate=True)[source]

Bases: ForkingMixIn, UnixStreamServer

class GetRequestHandler(request, client_address, server)[source]

Bases: BaseRequestHandler

handle()[source]
class StatsRequestHandler(request, client_address, server)[source]

Bases: BaseRequestHandler

handle()[source]
class StatusRequestHandler(request, client_address, server)[source]

Bases: BaseRequestHandler

handle()[source]
get_listener(exit_event)[source]
stats_listener(exit_event)[source]
status_listener(exit_event)[source]

octavia.api.drivers.driver_agent.driver_updater module

class DriverUpdater(**kwargs)[source]

Bases: object

update_listener_statistics(statistics)[source]

Update listener statistics.

Parameters:

statistics (dict) – Statistics for listeners: id (string): ID for listener. active_connections (int): Number of currently active connections. bytes_in (int): Total bytes received. bytes_out (int): Total bytes sent. request_errors (int): Total requests not fulfilled. total_connections (int): The total connections handled.

Raises:

UpdateStatisticsError

Returns:

None

update_loadbalancer_status(status)[source]

Update load balancer status.

Parameters:

status (dict) – dictionary defining the provisioning status and operating status for load balancer objects, including pools, members, listeners, L7 policies, and L7 rules. iod (string): ID for the object. provisioning_status (string): Provisioning status for the object. operating_status (string): Operating status for the object.

Raises:

UpdateStatusError

Returns:

None

Module contents