virtual_fuel: add XML tree as attribute of VirtualFuel 67/15667/3
authorJosep Puigdemont <josep.puigdemont@enea.com>
Fri, 20 May 2016 08:05:11 +0000 (10:05 +0200)
committerJonas Bjurel <jonas.bjurel@ericsson.com>
Thu, 16 Jun 2016 18:23:23 +0000 (18:23 +0000)
commitb0670cfd013bf0ef4a1c1b3723fa3f5da6dd108d
treeeb23c37f9f94ea38875e04d232cd066a8f5e0c37
parentb86d8e65f9a8a3e52a7f06f8ac9d32963c9df6d4
virtual_fuel: add XML tree as attribute of VirtualFuel

With this patch, the VM XML definition tree is an attribute of the
object, this way it can be used by all methods without having to re-read
the file.

Methods added:
update_vm_template_file: Flushes the contents of the in-memory XML
    representation of the VM to the backing file.

Change-Id: I18d3f606b0c02cd589cb0f657599e8b03b0e817e
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
deploy/environments/virtual_fuel.py