[openstack-dev] [nova-scheduler] Get scheduler hint

Giuseppe Di Lena giuseppedilena92 at gmail.com
Tue May 2 09:14:25 UTC 2017

Hello all,
I’m modifying  nova-scheduler, implementing my own scheduler;
there is a way to get all the list of the scheduler hints(for example when I lunch a new Instance, add a custom Hint MY_HINT, with value 100)?

I tried with 
def select_destination(self, context, spec_obj):
	spec_obj.get_scheduler_hint(‘MY_HINT’) # but it return None

thank you 

Giuseppe Di Lena

More information about the OpenStack-dev mailing list