Base utilities to build API operation managers and objects on top of.
Bases: novaclient.base.ManagerWithFind
Like a ManagerWithFind, but has the ability to boot servers.
Bases: novaclient.utils.HookableMixin
Managers interact with a particular type of API (servers, flavors, images, etc.) and provide CRUD operations for them.
The completion cache store items that can be used for bash autocompletion, like UUIDs or human-friendly IDs.
A resource listing will clear and repopulate the cache.
A resource create will append to the cache.
Delete is not handled because listings are assumed to be performed often enough to keep the cache reasonably up-to-date.
Bases: novaclient.base.Manager
Like a Manager, but with additional find()/findall() methods.
Find a single item with attributes matching **kwargs.
This isn’t very efficient: it loads the entire list then filters on the Python side.
Find all items with attributes matching **kwargs.
This isn’t very efficient: it loads the entire list then filters on the Python side.
Bases: object
A resource represents a particular instance of an object (server, flavor, etc). This is pretty much just a bag for attributes.
Parameters: |
|
---|
Subclasses may override this provide a pretty ID which can be used for bash completion.
Abstracts the common pattern of allowing both an object or an object’s ID as a parameter when dealing with relationships.