Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

Working with Tenants

shoenisch edited this page Apr 18, 2017 · 4 revisions

In Photon Controller's multitenancy model, tenants segregate users. A tenant can be a developer, a team of engineers, a business unit, or any other user or group. Tenants let you isolate users, control access to the API, regulate resources, and dynamically allocate resources to transient workloads.

As a system administrator, you can assign quotas to the tenants you create. A tenant administrator can then create projects and allocate resources from the quota to the projects and their users.

Only a system administrator can create a tenant administrator by assigning a user to a security group for tenants. The tenant administrator can manage projects, quotas, and other objects owned by the tenant. Either a tenant administrator or a system administrator can create project users, who can manage project resources, such as VMs, disks, and images.

Creating a Tenant

As a system administrator, you can create a tenant by running the following command in the Photon command-line utility on your workstation:

photon tenant create <name_of_tenant>

Commands for Working with Tenants

List tenants:

photon tenant list

Show information about a tenant:

photon tenant show <tenant-ID>

Show the limits and project allocations of a quota:

photon tenant quota show <tenant-name>

List projects:

photon project list

Show information about a project, such as its limits and consumption:

photon project show <project-ID>

Related API Endpoints

/tenants
/projects
Clone this wiki locally