Re: [openstack-dev] [nova] [placement] Modeling SR-IOV with nested resource providers

2017-09-14 Thread Jay Pipes
On 09/13/2017 03:01 PM, Chris Dent wrote: On Wed, 13 Sep 2017, Jay Pipes wrote: We still need a way to represent a request to placement to find allocation candidates for like resources, though. As you pointed out, I've thought about using multiple requests to placement from the conductor or

Re: [openstack-dev] [nova] [placement] Modeling SR-IOV with nested resource providers

2017-09-13 Thread Chris Dent
On Wed, 13 Sep 2017, Jay Pipes wrote: We still need a way to represent a request to placement to find allocation candidates for like resources, though. As you pointed out, I've thought about using multiple requests to placement from the conductor or scheduler. We could also do something like

Re: [openstack-dev] [nova] [placement] Modeling SR-IOV with nested resource providers

2017-09-13 Thread Jay Pipes
On 09/05/2017 11:02 AM, Andrey Volkov wrote: For example, I have SR-IOV PF with four ports (P_i), two of them are connected to one switch (SW_1) and other two to another (SW_2). I would like to get VFs from distinct ports connected to distinct switches (more details can be found in spec [1]),

Re: [openstack-dev] [nova] [placement] Modeling SR-IOV with nested resource providers

2017-09-07 Thread Andrey Volkov
Ed, Thanks for the response. I'm also interested how those models can be used from two points of view. First, how I can request the desired configuration. I thought about some anti-affinity logic based on traits in Placement, but probably that's not a task for Placement. Solution Jay Pipes

Re: [openstack-dev] [nova] [placement] Modeling SR-IOV with nested resource providers

2017-09-06 Thread Ed Leafe
On Sep 5, 2017, at 10:02 AM, Andrey Volkov wrote: > For example, I have SR-IOV PF with four ports (P_i), two of them are > connected to one switch (SW_1) and other two to another (SW_2). I > would like to get VFs from distinct ports connected to distinct > switches (more

[openstack-dev] [nova] [placement] Modeling SR-IOV with nested resource providers

2017-09-05 Thread Andrey Volkov
For example, I have SR-IOV PF with four ports (P_i), two of them are connected to one switch (SW_1) and other two to another (SW_2). I would like to get VFs from distinct ports connected to distinct switches (more details can be found in spec [1]), how it can be modeled with nested resource