Ask Your Question

How to write a custom nova scheduler

asked 2017-03-28 08:54:39 -0500

I have a little question, when surfing on OpenStack docs, I founded a tutorial about how to write a custom nova scheduler (here).

For my master Thesis I want to write another custom scheduler, but is there somewhere a API about which variables are available, etc?

Thanks in advance!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-03-28 13:30:09 -0500

There is no API, but you can get inspired by looking at the code in .../python2.7/site-packages/nova/nova/scheduler. The nova.scheduler.driver.Scheduler class mentioned in the tutorial is in The default scheduler, derived from that class, is defined in, and the various filters are in the filters subdirectory.

edit flag offensive delete link more


Thanks for the information! I will look into that and write some extra logs for debugging

jmoeyersons gravatar imagejmoeyersons ( 2017-03-28 14:07:36 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-03-28 08:54:39 -0500

Seen: 227 times

Last updated: Mar 28 '17