VF-rep lookup routine should also use the parent PF number
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-vif |
Fix Released
|
Undecided
|
Sriharsha Basavapatna | ||
Queens |
Fix Committed
|
Undecided
|
YaZug |
Bug Description
The current logic in get_representor
assume there are 2 PFs - PF1 and PF2, each a VF: VF1. Then, a query to get the representor for (PF1, VF1) could return the representor for (PF2, VF1). This is because the code assumes that the 'phys_port_name' only uses the simple format of '1' or 'VF1', without any reference to its parent PF.
Fix this by including the parent PF number also in this logic, when 'pfXvfY' (or vfY@pfX) format is used in 'phys_port_name' file.
Changed in os-vif: | |
assignee: | nobody → Sriharsha Basavapatna (harshab) |
status: | New → In Progress |
Changed in os-vif: | |
assignee: | Sriharsha Basavapatna (harshab) → sean mooney (sean-k-mooney) |
Changed in os-vif: | |
assignee: | sean mooney (sean-k-mooney) → Sriharsha Basavapatna (harshab) |
Gerrit review: https:/ /review. openstack. org/#/c/ 531674/