print("tpId = {}".format(tpId))
print("tp= {}".format(res['network'][0]['node'][i]
['ietf-network-topology:termination-point'][j]))
print("tpId = {}".format(tpId))
print("tp= {}".format(res['network'][0]['node'][i]
['ietf-network-topology:termination-point'][j]))