fix various glitches for getting this branch to pass wsdl generation
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 24 Sep 2012 09:45:52 +0000 (11:45 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 24 Sep 2012 09:45:52 +0000 (11:45 +0200)
sfa/methods/Delete.py
sfa/methods/Provision.py
sfa/methods/Shutdown.py
sfa/methods/Status.py

index 9ed6e98..74ff838 100644 (file)
@@ -16,7 +16,7 @@ class Delete(Method):
     interfaces = ['aggregate', 'slicemgr', 'component']
     
     accepts = [
-        Parameter([str], "Human readable name of slice to delete (hrn or urn)"),
+        Parameter(type([str]), "Human readable name of slice to delete (hrn or urn)"),
         Parameter(dict, "Credentials"),
         Parameter(dict, "options"),
         ]
index 6051093..21ab93d 100644 (file)
@@ -22,7 +22,7 @@ class Provision(Method):
     """
     interfaces = ['aggregate', 'slicemgr']
     accepts = [
-        Parameter([str], "URNs"),
+        Parameter(type([str]), "URNs"),
         Parameter(dict, "Credentials"),
         Parameter(dict, "options"),
         ]
index d288036..e532d1d 100644 (file)
@@ -13,7 +13,7 @@ class Shutdown(Method):
     interfaces = ['aggregate', 'slicemgr']
     accepts = [
         Parameter(str, "Slice URN"),
-        Parameter(type(dict), "Credentials"),
+        Parameter(dict, "Credentials"),
         ]
     returns = Parameter(bool, "Success or Failure")
 
index 951871d..83aa023 100644 (file)
@@ -12,8 +12,8 @@ class Status(Method):
     """
     interfaces = ['aggregate', 'slicemgr', 'component']
     accepts = [
-        Parameter([str], "Slice or sliver URNs"),
-        Parameter(dict), "credentials")),
+        Parameter(type([str]), "Slice or sliver URNs"),
+        Parameter(dict, "credentials"),
         Parameter(dict, "Options")
         ]
     returns = Parameter(dict, "Status details")