def get_dst_ip(self, direction, ip_version):
    'Get the default destination IP for the current test.'
    return (UPSTREAM_DST_IP[ip_version] if (direction == 'downlink->uplink') else DOWNSTREAM_DST_IP[ip_version])
Get the default destination IP for the current test.
def get_dst_ip(self, direction, ip_version):
    
    return (UPSTREAM_DST_IP[ip_version] if (direction == 'downlink->uplink') else DOWNSTREAM_DST_IP[ip_version])