nova/nova/virt/xenapi
John Garbutt 0357b01c12 xenapi: make the xenapi agent optional per image
This adds the ability to decide, per image, if xenapi should use
the agent for servers created from that image.
This opens up the path to using config drive or the metadata
service with cloud-init to perform tasks like file injection

It uses the image properties that are copied into system metadata
to detect if "xenapi_agent_present"="true" on the image the server
was created from.
If the tag is not present, it defaults to the value
of the new conf setting "xenapi_agent_present_default".

Becuase the above setting defaults to False, it means that
the xenapi driver no longer waits for the agent by default.

DocImpact
fixes bug 1178223
part of blueprint xenapi-guest-agent-cloud-init-interop
Change-Id: Ie51a9f54e5b2e85fe4ebebb0aff975db296ba996
2013-05-27 08:43:34 +01:00
..
imageupload xenapi: make the xenapi agent optional per image 2013-05-27 08:43:34 +01:00
__init__.py Enable N302: Import modules only 2013-01-25 12:11:54 -05:00
agent.py xenapi: make the xenapi agent optional per image 2013-05-27 08:43:34 +01:00
driver.py xenapi: ensure vdi is not too big when resizing down 2013-05-15 14:13:06 +00:00
fake.py Improve Python 3.x compatibility 2013-04-22 04:22:24 +02:00
firewall.py fix N401 errors, stop ignoring all N4* errors 2013-01-07 21:39:58 -05:00
host.py xenapi: Don't swallow missing SR exception 2013-05-01 21:47:35 +00:00
network_utils.py Remove network_util.NetworkHelper class 2012-06-01 00:03:04 +00:00
pool.py Update OpenStack LLC to Foundation 2013-02-26 19:15:29 -05:00
pool_states.py Update OpenStack LLC to Foundation 2013-02-26 19:15:29 -05:00
vif.py Remove unnecessary LOG initialisation 2013-04-10 13:26:12 +00:00
vm_utils.py xenapi: Disable VDI size check when root_gb=0 2013-05-22 17:19:53 +00:00
vmops.py xenapi: make the xenapi agent optional per image 2013-05-27 08:43:34 +01:00
volume_utils.py Improve Python 3.x compatibility 2013-04-22 04:22:24 +02:00
volumeops.py xenapi: ensure vdi is not too big when resizing down 2013-05-15 14:13:06 +00:00