NoopComputeDriver
NoopComputeDriver.attach_network_or_port()
NoopComputeDriver.build()
NoopComputeDriver.create_server_group()
NoopComputeDriver.delete()
NoopComputeDriver.delete_server_group()
NoopComputeDriver.detach_port()
NoopComputeDriver.get_amphora()
NoopComputeDriver.status()
NoopComputeDriver.validate_availability_zone()
NoopComputeDriver.validate_flavor()
NoopManager
NoopServerGroup
Bases: ComputeBase
Compute implementation of virtual machines via nova.
Attaching a port or a network to an existing amphora
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 instance
ComputePortInUseException – The port is in use somewhere else
ComputeUnknownException – Unknown nova error
Create a new virtual machine.
name – optional name for amphora
amphora_flavor – image flavor for virtual machine
image_tag – image tag for virtual machine
key_name – keypair to add to the virtual machine
sec_groups – Security group IDs for virtual machine
network_ids – Network IDs to include on virtual machine
port_ids – Port IDs to include on virtual machine
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 nova failed to build virtual machine
UUID of amphora
Create a server group object
name – the name of the server group
policy – the policy of the server group
Generic exception if the server group is not created
the server group object
Delete a server group object
Generic exception if the server group is not deleted
server_group_id – the uuid of a server group
Detaches a port from an existing amphora.
compute_id – id of an amphora in the compute service
port_id – id of the port
None
Retrieve the information in nova of a virtual machine.
compute_id – virtual machine UUID
management_network_id – ID of the management network
an amphora object
fault message or None
Retrieve the status of a virtual machine.
compute_id – virtual machine UUID
constant of amphora status
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.