From: Tony Mack Date: Mon, 27 Sep 2010 19:22:06 +0000 (-0400) Subject: fix typo X-Git-Tag: sfa-1.0-2~14^2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2f2558923fd80e0c13018188df38112d8f36ed39;p=sfa.git fix typo --- diff --git a/sfa/managers/slice_manager_pl.py b/sfa/managers/slice_manager_pl.py index 53a73b5d..05cd043a 100644 --- a/sfa/managers/slice_manager_pl.py +++ b/sfa/managers/slice_manager_pl.py @@ -72,7 +72,7 @@ def create_slice(api, xrn, creds, rspec, users): for aggregate in api.aggregates: # prevent infinite loop. Dont send request back to caller # unless the caller is the aggregate's SM - if caller_hrn == aggrgate and aggregate != api.hrn: + if caller_hrn == aggregate and aggregate != api.hrn: continue # Just send entire RSpec to each aggregate @@ -96,7 +96,7 @@ def renew_slice(api, xrn, creds, expiration_time): for aggregate in api.aggregates: # prevent infinite loop. Dont send request back to caller # unless the caller is the aggregate's SM - if caller_hrn == aggrgate and aggregate != api.hrn: + if caller_hrn == aggregate and aggregate != api.hrn: continue server = api.aggregates[aggregate] @@ -126,7 +126,7 @@ def get_ticket(api, xrn, creds, rspec, users): for aggregate, aggregate_rspec in aggregate_rspecs.items(): # prevent infinite loop. Dont send request back to caller # unless the caller is the aggregate's SM - if caller_hrn == aggrgate and aggregate != api.hrn: + if caller_hrn == aggregate and aggregate != api.hrn: continue server = None if aggregate in api.aggregates: @@ -195,7 +195,7 @@ def delete_slice(api, xrn, creds): for aggregate in api.aggregates: # prevent infinite loop. Dont send request back to caller # unless the caller is the aggregate's SM - if caller_hrn == aggrgate and aggregate != api.hrn: + if caller_hrn == aggregate and aggregate != api.hrn: continue server = api.aggregates[aggregate] threads.run(server.DeleteSliver, xrn, credential) @@ -215,7 +215,7 @@ def start_slice(api, xrn, creds): for aggregate in api.aggregates: # prevent infinite loop. Dont send request back to caller # unless the caller is the aggregate's SM - if caller_hrn == aggrgate and aggregate != api.hrn: + if caller_hrn == aggregate and aggregate != api.hrn: continue server = api.aggregates[aggregate] threads.run(server.Start, xrn, credential) @@ -235,7 +235,7 @@ def stop_slice(api, xrn, creds): for aggregate in api.aggregates: # prevent infinite loop. Dont send request back to caller # unless the caller is the aggregate's SM - if caller_hrn == aggrgate and aggregate != api.hrn: + if caller_hrn == aggregate and aggregate != api.hrn: continue server = api.aggregates[aggregate] threads.run(server.Stop, xrn, credential) @@ -281,7 +281,7 @@ def get_slices(api, creds): for aggregate in api.aggregates: # prevent infinite loop. Dont send request back to caller # unless the caller is the aggregate's SM - if caller_hrn == aggrgate and aggregate != api.hrn: + if caller_hrn == aggregate and aggregate != api.hrn: continue server = api.aggregates[aggregate] threads.run(server.ListSlices, credential) @@ -330,7 +330,7 @@ def get_rspec(api, creds, options): for aggregate in api.aggregates: # prevent infinite loop. Dont send request back to caller # unless the caller is the aggregate's SM - if caller_hrn == aggrgate and aggregate != api.hrn: + if caller_hrn == aggregate and aggregate != api.hrn: continue # get the rspec from the aggregate server = api.aggregates[aggregate]