[RFE] Provide attachment hints for VIF attach
Bug #1701991 reported by
Zhenguo Niu
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.
Changed in ironic: | |
assignee: | nobody → Tao Li (eric-litao) |
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 |
To post a comment you must log in.
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"