[RFE] Add anti_affinity_group to binding:profile

Bug #1809037 reported by Hongbin Lu on 2018-12-18
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Wishlist
Hongbin Lu

Bug Description

In SRIOV scenario, it is a common use case that a VM has two ports and users want to have the two ports scheduling to two different PFs for redundancy.

The proposal for Neutron is to introduce a new key 'anti_affinity_group' in binding:profile. The value of 'anti_affinity_group' is a unique ID for grouping neutron ports. Nova is responsible to schedule ports that has the same 'anti-affinity_group' to different PFs.

Nova BP: https://blueprints.launchpad.net/nova/+spec/schedule-vm-nics-to-different-pf

Hongbin Lu (hongbin.lu) on 2018-12-18
tags: added: rfe
Changed in neutron:
assignee: nobody → Hongbin Lu (hongbin.lu)
Hongbin Lu (hongbin.lu) on 2018-12-18
summary: - [RFE] Add anti-affinity-group to binding:profile
+ [RFE] Add anti_affinity_group to binding:profile
Pawel Suder (pasuder) wrote :

Seems to be related to https://blueprints.launchpad.net/nova/+spec/sriov-bond

IMO should be marked as duplicated. If there is any other case which is not covered under SRIOV bond, please reply.

Hongbin Lu (hongbin.lu) wrote :

Actually, I am the assignee of that BP which is created for Nova. It is a cross-project effort with Neutron and this RFE is the neutron counter-part.

Pawel Suder (pasuder) on 2018-12-21
Changed in neutron:
status: New → Triaged
Miguel Lavalle (minsel) wrote :

It makes sense to me. Let's bring it to the drivers meeting

tags: added: rfe-triaged
removed: rfe
Changed in neutron:
importance: Undecided → Wishlist
Miguel Lavalle (minsel) wrote :

This RFE was discussed and approved during today's Neutron drivers meeting

tags: added: rfe-approved
removed: rfe-triaged

can't we already add a key, val like we add local_link info incase of physical switch ?
we can still modify the code to assign some value to it by default, each port will have affinity =0 by default means that port want to be on its own ? for all other ids expect 0 nova can infer if they are same they belong to same group ?

Igor D.C. (igordc) wrote :
Ruijing (ruijing-guo) wrote :

We may need to handle QoS part.

Li Zhouzhou (lizhouzhou) wrote :

I don't think it worked well for sriov port bonding. IMO, it only supports active-backup. Bond Mode0 (balance-rr) will set same mac in two vNic, however the vf mac isn't changed. So, the vm communication will failed.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers