Comment 22 for bug 1810563

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/queens)

Reviewed: https://review.openstack.org/650404
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=9aafd5f131aad6c885ef2eafdfedb8aea14967d4
Submitter: Zuul
Branch: stable/queens

commit 9aafd5f131aad6c885ef2eafdfedb8aea14967d4
Author: Doug Wiegley <email address hidden>
Date: Fri Jan 11 15:14:52 2019 -0700

    Fix slow SG api calls when limiting fields

    Relating to the issue with creating rules, when reading security
    groups, it is very slow. Even when limiting to id/name, it pulls
    in all rules before returning just id/name.

    This change looks at the fields requested, and if no "synthetic"
    fields are in the list, skips initializing those.

    Co-Authored-By: Hongbin Lu<email address hidden>
    Closes-Bug: #1810563
    Change-Id: Id6870633e3943666e9b7fb900ad2d0894ee2715d