The nova.api.openstack.compute.legacy_v2.contrib.agents Module

class AgentController

Bases: object

The agent is talking about guest agent.The host can use this for things like accessing files on the disk, configuring networking, or running other applications/scripts in the guest while it is running. Typically this uses some hypervisor-specific transport to avoid being dependent on a working network configuration. Xen, VMware, and VirtualBox have guest agents,although the Xen driver is the only one with an implementation for managing them in openstack. KVM doesn’t really have a concept of a guest agent (although one could be written).

You can find the design of agent update in this link: and find the code in nova.virt.xenapi.vmops.VMOps._boot_new_instance. In this design We need update agent in guest from host, so we need some interfaces to update the agent info in host.

You can find more information about the design of the GuestAgent in the following link:

create(req, body)

Creates a new agent build.

delete(req, id)

Deletes an existing agent build.


Return a list of all agent builds. Filter by hypervisor.

update(req, id, body)

Update an existing agent build.

class Agents(ext_mgr)

Bases: nova.api.openstack.extensions.ExtensionDescriptor

Agents support.

alias = 'os-agents'
name = 'Agents'
namespace = ''
updated = '2012-10-28T00:00:00Z'

Previous topic

The nova.api.openstack.compute.legacy_v2.contrib.admin_actions Module

Next topic

The nova.api.openstack.compute.legacy_v2.contrib.aggregates Module

Project Source

This Page