def get_dst_ports(self, setup, direction):
    'Get the set of possible destination ports for the current test.'
    return (setup['upstream_port_ids'] if (direction == 'downlink->uplink') else setup['downstream_port_ids'])
Get the set of possible destination ports for the current test.
def get_dst_ports(self, setup, direction):
    
    return (setup['upstream_port_ids'] if (direction == 'downlink->uplink') else setup['downstream_port_ids'])