Calculating the maximum tpn for otn tunnels among all domains