Comment 14 for bug 1810563

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

Reviewed: https://review.openstack.org/630401
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=1d41f39ddf23b131a8960ac718ed9f8f015f3702
Submitter: Zuul
Branch: master

commit 1d41f39ddf23b131a8960ac718ed9f8f015f3702
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