IP aware scheduling using Placement
Subnet IP address availability should be treated as a capacity in the same way RAM, CPU, and Disk are.
We should make it so we can not land a VM on a hypervisor that does not have IP availability.
Proposed solution is to leverage placement for IP capacity like we do with RAM, CPU, and Disk.
I believe this can be accomplished by:
adding IP information in resources_
Or otherwise add to the "resources" in ScheduleManager
```
136
137 resources = utils.resources
138 res = self.placement_
139 resources)
```
This seems to need the same stuff as https:/
```
This tries to translate that into taking the requested networks during server create (via the request network id or port id), get the segment IDs per requested network, and then for each segment get their aggregates (maybe the segments in the same network are all in the same resource provider aggregate, I'm not sure). Once we have all that crap, shove it in the request spec and translate it to required provider aggregates in the scheduler during GET /allocation_
```
I am unsure if the usage of IPs for segments is functioning with Placement on Master, it doesn't seem to be working in Pike (What I am running) and I havn't identified where/if this has changed.
We need the usage of the IPs in placement for get_allocation_
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Kevin Rasmussen
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Discussed at the Train PTG:
https:/
> I am unsure if the usage of IPs for segments is functioning with Placement on Master, it doesn't
> seem to be working in Pike (What I am running) and I havn't identified where/if this has changed.
The answer for that is 'no' since nothing is reporting IP_ALLOCATION resource class inventory or creating allocations (usage) against it. That would be work in neutron to report the inventory. I'm not sure who would create the allocations (probably nova during scheduling). Anyway, lots of details to work out, sounds like there might need to be a neutron spec (and maybe a nova spec). I've also linked in the old prep-for-
Work Items
Dependency tree
* Blueprints in grey have been implemented.