From 28809a0ad24399e331282ed9a1e3aeb4043905df Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Fri, 17 Jul 2009 04:10:17 +0000 Subject: [PATCH] --- sfa/rspecs/aggregates/rspec_manager_max.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sfa/rspecs/aggregates/rspec_manager_max.py b/sfa/rspecs/aggregates/rspec_manager_max.py index 3794bf63..edaab251 100644 --- a/sfa/rspecs/aggregates/rspec_manager_max.py +++ b/sfa/rspecs/aggregates/rspec_manager_max.py @@ -59,13 +59,12 @@ def collapse_alloc_dict(d): def alloc_links(api, links_to_add, links_to_drop, foo): return True -def alloc_nodes(api,hrn, requested_links, links_to_delete): +def alloc_nodes(api,hrn, requested_links): requested_nodes = link_endpoints(requested_links) - nodes_to_delete = link_endpoints(links_to_delete) pdb.set_trace() - create_slice_max_aggregate(api, hrn, requested_nodes, nodes_to_delete) + create_slice_max_aggregate(api, hrn, requested_nodes) # Taken from slices.py @@ -220,7 +219,7 @@ def create_slice(api, hrn, rspec_xml): allocations_to_delete.extend([a]) # Ok, let's do our thing - alloc_nodes(api, hrn, requested_allocations, allocations_to_delete) + alloc_nodes(api, hrn, requested_allocations) alloc_links(api, hrn, requested_allocations, allocations_to_delete) allocations[hrn] = requested_allocations commit_alloc_dict(allocations) -- 2.47.0