Admin API controller, exposed through http via the api worker.
Bases: object
API Controller for users, hosts, nodes, and workers.
Permanently deletes a project.
Deletes a single user (NOT undoable.) Should throw an exception if the user has instances, volumes, or buckets remaining.
Returns status info for single node.
Returns status info for all nodes. Includes: * Hostname * Compute (up, down, None) * Instance count * Volume (up, down, None) * Volume Count
Returns all active instance types data (vcpus, memory, etc.)
Returns project data, including member ids.
Returns all projects - should be changed to deal with a list.
Returns a list of allowed roles.
Returns user data, including access and secret keys.
Returns a list of roles for the given user. Omitting project will return any global roles that the user has. Specifying project will return only project specific roles.
Returns all users - should be changed to deal with a list.
Generates and returns an x509 certificate for a single user. Is usually called from a client that will wrap this with access and secret key info, and return a zip file.
Modifies a project
Add or remove a user from a project.
Add or remove a role for a user and project.
Creates a new project
Creates a new user, and returns generated credentials.
Convert a host model object to a result dict
Convert the project object to a result dict
Convert the user object to a result dict