[RFE] Provide attachment hints for VIF attach

Bug #1701991 reported by Zhenguo Niu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Confirmed
Wishlist
Tao Li

Bug Description

The vif attach API can only accept vif name or id, then ironic will help to choose a portgroup or port to associate with that neutron port.But there may be different types of port/portgroup in ironic like GE or 10GE, and users would like to specify certain port to use, This is useful in standalone senario or ironic with other projects instead of nova.

Tags: needs-spec rfe
Tao Li (eric-litao)
Changed in ironic:
assignee: nobody → Tao Li (eric-litao)
Revision history for this message
Sam Betts (sambetts) wrote :

The vif attach/detach API was designed to specifically not include the port/portgroup ID to allow network drivers the most freedom to operate and handle the mappings. For example there are scenarios where there won't be an ironic ports for a node until a vif is attached when supporting composable hardware where NICs are created on the fly. Now that doesn't mean we can't support more advanced mapping like what your asking for, and this is something we've planned to do for a while, it seems to me that a better/more generic solution would be to provide a means to specify attachment hints, similar to Ironic's existing root device hints, where you could specify information like "speed>=10gE,mac-address==<mac address>" or "type==infiniband"

Dmitry Tantsur (divius)
summary: - Unable to specify ironic port/portgroup id to use when attaching vif
+ [RFE] Provide attachment hints for VIF attach
tags: added: rfe
Changed in ironic:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
Ruby Loo (rloo) wrote :

I'd like to see a spec for this, that describes the flow of information (how the hints get into the system, where they are stored, what hints are supported, etc.)

tags: added: needs-spec
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.