From d3572d65c180fbbc848cfa7c18849741dfdc6805 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Mon, 20 Sep 2010 13:36:07 -0400 Subject: [PATCH] fix urn for vini internet2 sites --- sfa/plc/sfaImport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0