Trunk subports don't have a device ID

Bug #1748582 reported by Ivar Lazzaro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Confirmed
Undecided
Unassigned

Bug Description

When adding a port to a Trunk, it gets bound to the parent's host and gets the owner type trunk:subport.
However, the parent device_id is not passed to the subport itself. This will make checks like the networking_sfc port pair validation fail as it expects both the port pair ports to belong to the same device [0]
Ofc sfc could check the parent's device ID in case of a subport, but I think it also makes sense for the neutron port to show such ID as part of the binding.

[0] https://github.com/openstack/networking-sfc/blob/stable/queens/networking_sfc/db/sfc_db.py#L484-L496

James Anziano (janzian)
Changed in neutron:
status: New → Confirmed
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.