added destroy_instances()
[plcapi.git] / PLC / Methods / AddSliceToNodes.py
index ff6ec5c..903681e 100644 (file)
@@ -51,7 +51,7 @@ class AddSliceToNodes(Method):
         nodes = Nodes(self.api, node_id_or_hostname_list, 
                       ['node_id', 'hostname', 'slice_ids', 'slice_ids_whitelist', 'site_id'])
 
-        slice.spawn_instances(nodes, self.caller
+        slice.spawn_instances(nodes) 
         for node in nodes:
             # check the slice whitelist on each node first
             # allow users at site to add node to slice, ignoring whitelist