Comment 2 for bug 1705397

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

Reviewed: https://review.openstack.org/487305
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=b6aac1eb546fb93768decba18d6b13b0cc939dfc
Submitter: Jenkins
Branch: master

commit b6aac1eb546fb93768decba18d6b13b0cc939dfc
Author: Omer Anson <email address hidden>
Date: Wed Jul 26 09:55:47 2017 +0300

    Trunk: Update subport status

    Update subport's port status in Trunk driver according to the parent's
    port status.

    The logic is this:
    If the parent is ACTIVE, so are the subports. Otherwise, the subports
    are DOWN. So:
    Upon subport creation: If parent is ACTIVE, set child to ACTIVE.
    Upon parent change: If parent becomes ACTIVE, all children become
    ACTIVE. If parent becomes non-ACTIVE, all children become DOWN.

    Change-Id: Idd06b0fb412e34a3013979ff2dc3f6887718ba36
    Closes-Bug: #1705397