The Amphora
class inherits from Resource
.
The base resource
_synchronized (bool) – This is not intended to be used directly. See
new()
and
existing()
.
connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow
Resource objects to be used without an active Connection, such as
in unit tests. Use of self._connection
in Resource code should
protect itself with a check for None.
The ID of the amphora.
The ID of the load balancer.
The ID of the amphora resource in the compute system.
The management IP of the amphora.
The address of the vrrp port on the amphora.
The IP address of the Virtual IP (VIP).
The vrrp port’s ID in the networking system.
The ID of the Virtual IP (VIP) port.
The date the certificate for the amphora expires.
Whether the certificate is in the process of being replaced.
The role configured for the amphora. One of STANDALONE, MASTER, BACKUP.
The status of the amphora. One of: BOOTING, ALLOCATED, READY, PENDING_CREATE, PENDING_DELETE, DELETED, ERROR.
The bound interface name of the vrrp port on the amphora.
The vrrp group’s ID for the amphora.
The priority of the amphora in the vrrp group.
The availability zone of a compute instance, cached at create time.
The UTC date and timestamp when the resource was created.
The UTC date and timestamp when the resource was last updated.
The ID of the glance image used for the amphora.
The ID of the compute flavor used for the amphora.
The AmphoraConfig
class inherits from
Resource
.
The base resource
_synchronized (bool) – This is not intended to be used directly. See
new()
and
existing()
.
connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow
Resource objects to be used without an active Connection, such as
in unit tests. Use of self._connection
in Resource code should
protect itself with a check for None.
The ID of the amphora.
Commit the state of the instance to the remote resource.
session (Adapter
) – The session to use for making this request.
prepend_key – A boolean indicating whether the resource_key should be prepended in a resource update request. Default to True.
retry_on_conflict (bool) – Whether to enable retries on HTTP
CONFLICT (409). Value of None
leaves the Adapter defaults.
base_path (str) – Base part of the URI for modifying resources, if
different from base_path
.
kwargs (dict) – Parameters that will be passed to _prepare_request()
This Resource
instance.
MethodNotSupported
if
Resource.allow_commit
is not set to True
.
The AmphoraFailover
class inherits from
Resource
.
The base resource
_synchronized (bool) – This is not intended to be used directly. See
new()
and
existing()
.
connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow
Resource objects to be used without an active Connection, such as
in unit tests. Use of self._connection
in Resource code should
protect itself with a check for None.
The ID of the amphora.
Commit the state of the instance to the remote resource.
session (Adapter
) – The session to use for making this request.
prepend_key – A boolean indicating whether the resource_key should be prepended in a resource update request. Default to True.
retry_on_conflict (bool) – Whether to enable retries on HTTP
CONFLICT (409). Value of None
leaves the Adapter defaults.
base_path (str) – Base part of the URI for modifying resources, if
different from base_path
.
kwargs (dict) – Parameters that will be passed to _prepare_request()
This Resource
instance.
MethodNotSupported
if
Resource.allow_commit
is not set to True
.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.