'Return list of floating agent gateway ports for the agent.'

def _get_fip_agent_gw_ports(self, context, fip_agent_id):

    if (not fip_agent_id):
        return []
    filters = {'device_id': [fip_agent_id], 'device_owner': [const.DEVICE_OWNER_AGENT_GW]}
    ports = self._core_plugin.get_ports(context.elevated(), filters)
    LOG.debug('Return    the    FIP    ports:    %s    ', ports)
    return ports
