From: Tony Mack Date: Mon, 20 Sep 2010 17:36:07 +0000 (-0400) Subject: fix urn for vini internet2 sites X-Git-Tag: sfa-1.0-2~28 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=d3572d65c180fbbc848cfa7c18849741dfdc6805;p=sfa.git fix urn for vini internet2 sites --- diff --git a/sfa/plc/sfaImport.py b/sfa/plc/sfaImport.py index b95bc5a6..98f6b799 100644 --- a/sfa/plc/sfaImport.py +++ b/sfa/plc/sfaImport.py @@ -202,7 +202,6 @@ class sfaImport: sitename = cleanup_string(sitename) print 'importing site %s' % sitename hrn = parent_hrn + "." + sitename - urn = hrn_to_urn(hrn, 'authority') # Hardcode 'internet2' into the hrn for sites hosting # internet2 nodes. This is a special operation for some vini # sites only @@ -214,6 +213,7 @@ class sfaImport: #sitename = sitename.replace("nlr", "") hrn = ".".join([parent_hrn, "internet2", sitename]) + urn = hrn_to_urn(hrn, 'authority') trace("Import: importing site " + hrn, self.logger) # create the authority