How to add new capabilities like(gpu_mem_size)

asked 2015-03-12 00:44:04 -0600

Lance gravatar image

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 compute_capabilities_filter.py?)

edit retag flag offensive close merge delete