Comment 2 for bug 1747524

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

Reviewed: https://review.openstack.org/541030
Committed: https://git.openstack.org/cgit/openstack/neutron-fwaas-dashboard/commit/?id=47a83bdc68c1803a862381bcb0f2c264521bd871
Submitter: Zuul
Branch: master

commit 47a83bdc68c1803a862381bcb0f2c264521bd871
Author: Akihiro Motoki <email address hidden>
Date: Tue Feb 6 06:51:27 2018 +0900

    firewall group table: fix handling of ports of FWG

    The previous code assumes a list of api.neutron.Port objects
    as FWG.ports but actually FWG.ports is a list of UUID.
    It seems to come from copy-and-paste of FWaaS v1 code without testing.

    This commit changes a value to be displayed from name/ID of ports
    to the number of ports. A list of ports can be long and it is not
    a good idea to show all ports in the firewall group table.
    I believe the number of associated ports makes more sense.

    Change-Id: I0fc7a41e7aaac3fdb305fb7ccdae466f7cbdf56f
    Closes-Bug: #1747524