Bases: octavia.amphorae.backends.agent.api_server.lvs_listener_base.LvsListenerApiServerBase
Delete a LVS Listener from a amphora
listener_id – The id of the listener
HTTP response with status code.
Exception – If unsupport initial system of amphora.
Gets the status of all UDP listeners
Gets the status of all UDP listeners on the amphora.
Gets the keepalivedlvs config
listener_id – the id of the listener
Bases: object
Gets the status of all listeners
This method will not consult the stats socket so a listener might show as ACTIVE but still be in ERROR
Currently type==SSL is also not detected
Bases: object
Base LVS Listener Server API
Delete a LVS Listener from a amphora
listener_id – The id of the listener
HTTP response with status code.
Exception – If unsupport initial system of amphora.
Gets the status of all LVS Listeners
This method will not consult the stats socket so a listener might show as ACTIVE but still be in ERROR
a list of LVS Listener status
Exception – If the listener pid located directory is not exist
Gets the LVS Listener configuration details
listener_id – the id of the LVS Listener
HTTP response with status code.
Exception – If the listener is failed to find.
Bases: octavia.amphorae.backends.agent.api_server.osutils.RH
Bases: octavia.amphorae.backends.agent.api_server.osutils.BaseOS
Returns the backend for a listener.
If the listener is a TCP based listener return ‘HAPROXY’. If the listener is a UDP or SCTP based listener return ‘LVS’ If the listener is not identifiable, return None.
listener_id – The ID of the listener to identify.
HAPROXY_BACKEND, LVS_BACKEND or None
Get the VIP addresses for a load balancer.
lb_id – The load balancer ID to get VIP addresses from.
List of VIP addresses (IPv4 and IPv6)
Get Listeners
An array with the ids of all listeners, e.g. [‘123’, ‘456’, …] or [] if no listeners exist
Get Load balancers
An array with the uuids of all load balancers, e.g. [‘123’, ‘456’, …] or [] if no loadbalancers exist
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.