from PLC.InitScripts import InitScript, InitScripts
from PLC.Methods.GetSliceFamily import GetSliceFamily
+from PLC.Accessors.Accessors_standard import *
+
# XXX used to check if slice expiration time is sane
MAXINT = 2L**31-1
personsitekeys=get_all_admin_keys(self.api)
accounts.append({'name':'root','keys':personsitekeys})
- node.update_last_contact()
+ hrn = GetNodeHrn(self.api).call(auth,node['node_id'])
# XMPP config for omf federation
try:
except:
xmpp={'server':None,'user':None,'password':None}
+ node.update_last_contact()
+
return {
'timestamp': timestamp,
'node_id': node['node_id'],
'slivers': slivers,
'accounts': accounts,
'xmpp':xmpp,
+ 'hrn':hrn,
}