Sub port of Trunk port is not updated to Active status

Bug #1705397 reported by Irena Berezovsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DragonFlow
Fix Released
High
Omer Anson

Bug Description

With the sub-port of the Trunk application, DF enables sub-ports to be added to the parent (trunk) port.
Once sub-port is created, its initial status is Down. The update of the status upon data plane configuration completeness is missing. In reference neutron Trunk implementation, the update of the status triggered by the neutron L2 agent. With DF, we either should have proper status notification propagation (similar as with VM port) or move it to the Active state upon adding to Trunk.

summary: - Sub port of Trunk port is not updated to Active statuus
+ Sub port of Trunk port is not updated to Active status
Omer Anson (omer-anson)
Changed in dragonflow:
importance: Undecided → High
assignee: nobody → Omer Anson (omer-anson)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to dragonflow (master)

Fix proposed to branch: master
Review: https://review.openstack.org/487305

Changed in dragonflow:
status: New → In Progress
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

Changed in dragonflow:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.