using APIs with OpenStack python clients