Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to add new capabilities like(gpu_mem_size)

Hi all I'm trying to add a new capability (GPU memory) into Nova. As far as I know, I may use the extra_specs in flavor. Any docs on this? I tried to create the aggregate, but it's not proper to handle this.

What I want is to treat gpu memory as a new capability, like CPU memory. When booting a VM, will choose a flavor with extra_specs describing whether it has gpu support and the required gpu_memory size.

During the scheduling, the scheduler should also consider GPU memory size as a factor(should hack some code in