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.
Reviewed: https:/ /review. openstack. org/487305 /git.openstack. org/cgit/ openstack/ dragonflow/ commit/ ?id=b6aac1eb546 fb93768decba18d 6b13b0cc939dfc
Committed: https:/
Submitter: Jenkins
Branch: master
commit b6aac1eb546fb93 768decba18d6b13 b0cc939dfc
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: Idd06b0fb412e34 a3013979ff2dc3f 6887718ba36
Closes-Bug: #1705397