[RFE] Add anti_affinity_group to binding:profile

Bug #1809037 reported by Hongbin Lu
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Triaged
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

Tags: rfe-approved
Hongbin Lu (hongbin.lu)
tags: added: rfe
Changed in neutron:
assignee: nobody → Hongbin Lu (hongbin.lu)
Hongbin Lu (hongbin.lu)
summary: - [RFE] Add anti-affinity-group to binding:profile
+ [RFE] Add anti_affinity_group to binding:profile
Revision history for this message
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.

Revision history for this message
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)
Changed in neutron:
status: New → Triaged
Revision history for this message
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
Revision history for this message
Miguel Lavalle (minsel) wrote :

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

tags: added: rfe-approved
removed: rfe-triaged
Revision history for this message
Manjeet Singh Bhatia (manjeet-s-bhatia) wrote :

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 ?

Revision history for this message
Igor D.C. (igordc) wrote :
Revision history for this message
Ruijing (ruijing-guo) wrote :

We may need to handle QoS part.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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