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:
94db05c
)
use only leftmost part of dns name when creating node hrns
author
Scott Baker
<bakers@cs.arizona.edu>
Thu, 5 Mar 2009 01:23:49 +0000
(
01:23
+0000)
committer
Scott Baker
<bakers@cs.arizona.edu>
Thu, 5 Mar 2009 01:23:49 +0000
(
01:23
+0000)
geni/gimport.py
patch
|
blob
|
history
diff --git
a/geni/gimport.py
b/geni/gimport.py
index
45dbb44
..
d9c871b
100755
(executable)
--- a/
geni/gimport.py
+++ b/
geni/gimport.py
@@
-236,7
+236,7
@@
def import_slice(parent_hrn, slice):
def import_node(parent_hrn, node):
AuthHierarchy = Hierarchy()
- nodename = node['hostname']
+ nodename = node['hostname']
.split(".")[0]
nodename = cleanup_string(nodename)
if not nodename:
@@
-336,6
+336,8
@@
def main():
process_options()
+ print "Base Directory: ", config.GENI_BASE_DIR
+
AuthHierarchy = Hierarchy()
TrustedRoots = TrustedRootList()