Bases: ComputeBase
Connects an existing amphora to an existing network.
compute_id – id of an amphora in the compute service
network_id – id of a network
ip_address – ip address to attempt to be assigned to interface
port_id – id of the neutron port
nova interface
Exception
Build a new amphora.
name – Optional name for Amphora
amphora_flavor – Optionally specify a flavor
image_tag – tag of the base image for the amphora instance
key_name – Optionally specify a keypair
sec_groups – Optionally specify list of security groups
network_ids – A list of network IDs to attach to the amphora
config_drive_files – An optional dict of files to overwrite on the server upon boot. Keys are file names (i.e. /etc/passwd) and values are the file contents (either as a string or as a file-like object). A maximum of five entries is allowed, and each file must be 10k or less.
user_data – Optional user data to pass to be exposed by the metadata server this can be a file type object as well or a string
server_group_id – Optional server group id(uuid) which is used for anti_affinity feature
availability_zone – Name of the compute availability zone.
ComputeBuildException – if compute failed to build amphora
UUID of amphora
Create a server group object
name – the name of the server group
policy – the policy of the server group
the server group object
Delete the specified amphora
compute_id – The id of the amphora to delete
Delete a server group object
server_group_id – the uuid of a server group
Disconnects an existing amphora from an existing port.
compute_id – id of an amphora in the compute service
port_id – id of the port
None
Exception
Retrieve an amphora object
compute_id – the compute id of the desired amphora
management_network_id – ID of the management network
the amphora object
fault message or None
Check whether the specified amphora is up
compute_id – the ID of the desired amphora
The compute “status” response (“ONLINE” or “OFFLINE”)
Bases: object
alias of ServerGroup
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.