git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix component_id urn
[sfa.git]
/
sfa
/
plc
/
aggregate.py
diff --git
a/sfa/plc/aggregate.py
b/sfa/plc/aggregate.py
index
32dc9ce
..
77784cb
100644
(file)
--- a/
sfa/plc/aggregate.py
+++ b/
sfa/plc/aggregate.py
@@
-83,7
+83,7
@@
class Aggregate:
link['interface1'] = if1
link['interface2'] = if2
link['component_name'] = "%s:%s" % (site1['login_base'], site2['login_base'])
link['interface1'] = if1
link['interface2'] = if2
link['component_name'] = "%s:%s" % (site1['login_base'], site2['login_base'])
- link['component_id'] = PlXrn(auth=self.api.hrn,
link=link['component_name']
)
+ link['component_id'] = PlXrn(auth=self.api.hrn,
interface=link['component_name']).get_urn(
)
link['component_manager_id'] = hrn_to_urn(self.api.hrn, 'authority+am')
self.links[link['component_name']] = link
link['component_manager_id'] = hrn_to_urn(self.api.hrn, 'authority+am')
self.links[link['component_name']] = link