Give all VDIs a reasonable name-label and name-description

Add image id to cached glance images as well as disk type so it's easy
to see if a VDI is an os, swap or ephemeral disk.

Change-Id: I7c1e21e26a98bd38898483f4230ede3099c6099d
This commit is contained in:
Johannes Erdfelt
2012-04-05 22:55:18 +00:00
parent ab8fe9de98
commit ab20cc3ae0

View File

@@ -250,6 +250,9 @@ class FakeSessionForVMTests(fake.SessionBase):
def VDI_set_name_label(self, session_ref, vdi_ref, name_label): def VDI_set_name_label(self, session_ref, vdi_ref, name_label):
pass pass
def VDI_set_name_description(self, session_ref, vdi_ref, name_description):
pass
class FakeSessionForFirewallTests(FakeSessionForVMTests): class FakeSessionForFirewallTests(FakeSessionForVMTests):
""" Stubs out a XenApi Session for doing IPTable Firewall tests """ """ Stubs out a XenApi Session for doing IPTable Firewall tests """