novaclient.v2.agents module¶
agent interface
-
class
novaclient.v2.agents.Agent(manager, info, loaded=False, resp=None)¶ Bases:
novaclient.base.ResourcePopulate and bind to a manager.
Parameters: - manager – BaseManager object
- info – dictionary representing resource attributes
- loaded – prevent lazy-loading if set to True
- resp – Response or list of Response objects
-
class
novaclient.v2.agents.AgentsManager(api)¶ Bases:
novaclient.base.ManagerWithFind-
create(os, architecture, version, url, md5hash, hypervisor)¶ Create a new agent build.
-
delete(id)¶ Deletes an existing agent build.
Parameters: id – The agent’s id to delete Returns: An instance of novaclient.base.TupleWithMeta
-
list(hypervisor=None)¶ List all agent builds.
-
update(id, version, url, md5hash)¶ Update an existing agent build.
-