credential = api.getCredential()
tickets = {}
for net_hrn in rspecs:
- net_urn = urn_to_hrn(net_hrn, 'authority')
+ net_urn = urn_to_hrn(net_hrn)
try:
# if we are directly connected to the aggregate then we can just
# send them the request. if not, then we may be connected to an sm
return the basic information needed in a dict.
"""
def fetch_context(slice_hrn, user_hrn, contexts):
- slice_hrn = urn_to_hrn(slice_xrn)[0]
- user_hrn = urn_to_hrn(user_xrn)[0]
+ #slice_hrn = urn_to_hrn(slice_xrn)[0]
+ #user_hrn = urn_to_hrn(user_xrn)[0]
base_context = {'sfa':{'user':{'hrn':user_hrn}}}
return base_context