NoopProviderDriver[source]¶Bases: octavia.api.drivers.provider_base.ProviderDriver
create_vip_port(loadbalancer_id, project_id, vip_dictionary)[source]¶Creates a port for a load balancer VIP.
If the driver supports creating VIP ports, the driver will create a VIP port and return the vip_dictionary populated with the vip_port_id. If the driver does not support port creation, the driver will raise a NotImplementedError.
| Parameters: |
|
|---|---|
| Param: | vip_dictionary: The VIP dictionary. |
| Returns: | VIP dictionary with vip_port_id. |
| Raises: |
|
get_supported_flavor_metadata()[source]¶Returns a dict of flavor metadata keys supported by this driver.
The returned dictionary will include key/value pairs, ‘name’ and ‘description.’
| Returns: | The flavor metadata dictionary |
|---|---|
| Raises: |
|
health_monitor_create(healthmonitor)[source]¶Creates a new health monitor.
| Parameters: | healthmonitor (object) – The health monitor object. |
|---|---|
| Returns: | Nothing if the create request was accepted. |
| Raises: |
|
health_monitor_delete(healthmonitor)[source]¶Deletes a healthmonitor_id.
| Parameters: | healthmonitor (object) – The monitor to delete. |
|---|---|
| Returns: | Nothing if the create request was accepted. |
| Raises: |
|
health_monitor_update(old_healthmonitor, new_healthmonitor)[source]¶Updates a health monitor.
| Parameters: |
|
|---|---|
| Returns: | Nothing if the create request was accepted. |
| Raises: |
|
l7policy_create(l7policy)[source]¶Creates a new L7 policy.
| Parameters: | l7policy (object) – The L7 policy object. |
|---|---|
| Returns: | Nothing if the create request was accepted. |
| Raises: |
|
l7policy_delete(l7policy)[source]¶Deletes an L7 policy.
| Parameters: | l7policy (object) – The L7 policy to delete. |
|---|---|
| Returns: | Nothing if the delete request was accepted. |
| Raises: |
|
l7policy_update(old_l7policy, new_l7policy)[source]¶Updates an L7 policy.
| Parameters: |
|
|---|---|
| Returns: | Nothing if the update request was accepted. |
| Raises: |
|
l7rule_create(l7rule)[source]¶Creates a new L7 rule.
| Parameters: | l7rule (object) – The L7 rule object. |
|---|---|
| Returns: | Nothing if the create request was accepted. |
| Raises: |
|
l7rule_delete(l7rule)[source]¶Deletes an L7 rule.
| Parameters: | l7rule (object) – The L7 rule to delete. |
|---|---|
| Returns: | Nothing if the delete request was accepted. |
| Raises: |
|
l7rule_update(old_l7rule, new_l7rule)[source]¶Updates an L7 rule.
| Parameters: |
|
|---|---|
| Returns: | Nothing if the update request was accepted. |
| Raises: |
|
listener_create(listener)[source]¶Creates a new listener.
| Parameters: | listener (object) – The listener object. |
|---|---|
| Returns: | Nothing if the create request was accepted. |
| Raises: |
|
listener_delete(listener)[source]¶Deletes a listener.
| Parameters: | listener (object) – The listener to delete. |
|---|---|
| Returns: | Nothing if the delete request was accepted. |
| Raises: |
|
listener_update(old_listener, new_listener)[source]¶Updates a listener.
| Parameters: |
|
|---|---|
| Returns: | Nothing if the update request was accepted. |
| Raises: |
|
loadbalancer_create(loadbalancer)[source]¶Creates a new load balancer.
| Parameters: | loadbalancer (object) – The load balancer object. |
|---|---|
| Returns: | Nothing if the create request was accepted. |
| Raises: |
|
loadbalancer_delete(loadbalancer, cascade=False)[source]¶Deletes a load balancer.
| Parameters: |
|
|---|---|
| Returns: | Nothing if the delete request was accepted. |
| Raises: |
|
loadbalancer_failover(loadbalancer_id)[source]¶Performs a fail over of a load balancer.
| Parameters: | loadbalancer_id (string) – ID of the load balancer to failover. |
|---|---|
| Returns: | Nothing if the failover request was accepted. |
| Raises: | DriverError – An unexpected error occurred in the driver. |
| Raises: | NotImplementedError if driver does not support request. |
loadbalancer_update(old_loadbalancer, new_loadbalancer)[source]¶Updates a load balancer.
| Parameters: |
|
|---|---|
| Returns: | Nothing if the update request was accepted. |
| Raises: |
|
member_batch_update(members)[source]¶Creates, updates, or deletes a set of pool members.
| Parameters: | members (list) – List of member objects. |
|---|---|
| Returns: | Nothing if the create request was accepted. |
| Raises: |
|
member_create(member)[source]¶Creates a new member for a pool.
| Parameters: | member (object) – The member object. |
|---|---|
| Returns: | Nothing if the create request was accepted. |
| Raises: |
|
member_delete(member)[source]¶Deletes a pool member.
| Parameters: | member (object) – The member to delete. |
|---|---|
| Returns: | Nothing if the create request was accepted. |
| Raises: |
|
member_update(old_member, new_member)[source]¶Updates a pool member.
| Parameters: |
|
|---|---|
| Returns: | Nothing if the create request was accepted. |
| Raises: |
|
pool_create(pool)[source]¶Creates a new pool.
| Parameters: | pool (object) – The pool object. |
|---|---|
| Returns: | Nothing if the create request was accepted. |
| Raises: |
|
pool_delete(pool)[source]¶Deletes a pool and its members.
| Parameters: | pool (object) – The pool to delete. |
|---|---|
| Returns: | Nothing if the create request was accepted. |
| Raises: |
|
pool_update(old_pool, new_pool)[source]¶Updates a pool.
| Parameters: |
|
|---|---|
| Returns: | Nothing if the create request was accepted. |
| Raises: |
|
validate_flavor(flavor_metadata)[source]¶Validates if driver can support the flavor.
| Parameters: | flavor_metadata (dict) – Dictionary with flavor metadata. |
|---|---|
| Returns: | Nothing if the flavor is valid and supported. |
| Raises: |
|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.