Bases: heat.engine.clients.client_plugin.ClientPlugin
Return the absolute limits as a dictionary.
Build multipart data blob for CloudInit which includes user-supplied Metadata, user data, and the required Heat in-instance configuration.
Parameters: |
|
---|---|
Returns: | multipart mime as a string |
Verify that a rebuilding server is rebuilt. Raise error if it ends up in an ERROR state.
Verify that a resizing server is properly resized. If that’s the case, confirm the resize, if not raise an error.
Deletes a server and waits for it to disappear from Nova.
Get the id for the specified flavor name. If the specified value is flavor id, just return it.
Parameters: | flavor – the name of the flavor to find |
---|---|
Returns: | the id of :flavor: |
Raises : | exception.FlavorMissing |
Return the server’s IP of the given type and version.
Get the public key specified by :key_name:
Parameters: | key_name – the name of the key to look for |
---|---|
Returns: | the keypair (name, public_key) for :key_name: |
Raises : | exception.UserKeyPairMissing |
Return the server’s status. :param server: server object :returns: status as a string
Serialize non-string metadata values before sending them to Nova.
Delete/Add the metadata in nova as needed.
Rebuild the server and call check_rebuild to verify.
Refresh server’s attributes and log warnings for non-critical API errors.
Update the name for a server.
Resize the server and then call check_resize task to verify.
Return the server’s IP address, fetching it from Nova.