Client API code for the OpenStack scheduler