From 7e98e838172ffb4b70199705c032b74ef3901691 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Wed, 26 Oct 2011 20:22:58 -0400 Subject: [PATCH] fix component_id urn --- sfa/plc/aggregate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/plc/aggregate.py b/sfa/plc/aggregate.py index 32dc9ceb..77784cb6 100644 --- 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['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 -- 2.47.0