Skip to content
Snippets Groups Projects
Commit 41a1df34 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis
Browse files

Hoplug: objects modifications/additions


Introduce new HotplugInfo object as part of Instance object.

hotplug_info { 'nics': 0, 'disks': 0, 'pci_pool': [16, 17, 18] }

nics/disks is an index used for device identification and naming.
Everytime a new device (disk/nic) is hotadded these values get incremented.

pci_pool is a list of pci slots where a device can be placed. Every
time a device gets hot-plugged/unplugged a pci slot gets popped/appended.

Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent 6a3166cb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment