Skip to contentSkip to conversation

Have the VDI record return the security label

PATCH New Stefan Berger 1 participant 1 message Aug 11, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Have the VDI record return the security label

This patch returns the security label in the VDI record.

xen-unstable.hg/tools/python/xen/xend/XendAPI.py +2 -1
Index: root/xen-unstable.hg/tools/python/xen/xend/XendAPI.py
===================================================================
@@ -2246,7 +2246,8 @@ class XendAPI(object):
             'type': image.type,
             'sharable': image.sharable,
             'read_only': image.read_only,
-            'other_config': image.other_config
+            'other_config': image.other_config,
+            'security_label' : image.get_security_label()
             })
 
     # Class Functions    

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel