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
using hrn_to_pl_login_base method from misc.py
[sfa.git]
/
geni
/
methods
/
register.py
diff --git
a/geni/methods/register.py
b/geni/methods/register.py
index
2bdc7cf
..
f8b5860
100644
(file)
--- a/
geni/methods/register.py
+++ b/
geni/methods/register.py
@@
-5,6
+5,7
@@
from geni.util.parameter import Parameter, Mixed
from geni.util.auth import Auth
from geni.util.record import GeniRecord
from geni.util.debug import log
from geni.util.auth import Auth
from geni.util.record import GeniRecord
from geni.util.debug import log
+from geni.util.misc import *
class register(Method):
"""
class register(Method):
"""
@@
-89,7
+90,8
@@
class register(Method):
elif (type == "node"):
self.api.geni_fields_to_pl_fields(type, name, geni_fields, pl_fields)
elif (type == "node"):
self.api.geni_fields_to_pl_fields(type, name, geni_fields, pl_fields)
- login_base = self.api.hrn_to_pl_login_base(auth_name)
+ #login_base = self.api.hrn_to_pl_login_base(auth_name)
+ login_base = hrn_to_pl_login_base(auth_name)
pointer = self.api.plshell.AddNode(self.api.plauth, login_base, pl_fields)
record.set_pointer(pointer)
pointer = self.api.plshell.AddNode(self.api.plauth, login_base, pl_fields)
record.set_pointer(pointer)