git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4583c90
)
PL leases: take in account only the leases in the aggregate network
author
Mohamed Larabi
<mohamed.larabi@inria.fr>
Mon, 1 Oct 2012 07:36:47 +0000
(09:36 +0200)
committer
Mohamed Larabi
<mohamed.larabi@inria.fr>
Mon, 1 Oct 2012 07:36:47 +0000
(09:36 +0200)
sfa/planetlab/plslices.py
patch
|
blob
|
history
diff --git
a/sfa/planetlab/plslices.py
b/sfa/planetlab/plslices.py
index
30e9797
..
0d76b59
100644
(file)
--- a/
sfa/planetlab/plslices.py
+++ b/
sfa/planetlab/plslices.py
@@
-172,6
+172,9
@@
class PlSlices:
slice_name = hrn_to_pl_slicename(lease['slice_id'])
if slice_name != slice['name']:
continue
+ elif Xrn(lease['component_id']).get_authority_urn().split(':')[0] != self.driver.hrn:
+ continue
+
hostname = xrn_to_hostname(lease['component_id'])
# fill the requested node with nitos ids
requested_lease['name'] = slice['name']