Skip to contentSkip to conversation

Implement missing functions in XSM dummy module

PATCH New Stefan Berger 1 participant 1 message Dec 12, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Implement missing functions in XSM dummy module

I am implementing some missing interface functions in the XSM dummy module. Also deactivating some debugging output.

xen-unstable.hg/tools/python/xen/util/xsm/dummy/dummy.py +9 -1
Index: root/xen-unstable.hg/tools/python/xen/util/xsm/dummy/dummy.py
===================================================================
@@ -33,7 +33,6 @@ xmlrpc_exports = [
 def err(msg):
     """Raise XSM-dummy exception.
     """
-    sys.stderr.write("XSM-dummyError: " + msg + "\n")
     raise XSMError(msg)
 
 def on():
@@ -123,3 +122,12 @@ def get_domain_label(domain):
 
 def set_domain_label():
     err("Command not supported under xsm 'dummy' module.")
+
+def dump_policy():
+    pass
+
+def dump_policy_file():
+    pass
+
+def get_ssid(domain):
+    err("No ssid has been assigned to any domain under xsm dummy module.")

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