User guide
a. Get a list of virtual arrays.
Request
GET /vdc/varrays
Response
<varrays>
<varray>
<id>urn:storageos:VirtualArray:1b86bbe1-c939-49d3-
b0ae-027dc95b1ccc:</id>
<link href="/vdc/varrays/urn:storageos:VirtualArray:
1b86bbe1-c939-49d3-b0ae-027dc95b1ccc:" rel="self"/>
<name>VSA</name>
</varray>
</varrays>
Use one of the virtual array IDs for the next step. This example shows the following
ID:
<id>urn:storageos:VirtualArray:1b86bbe1-c939-49d3-
b0ae-027dc95b1ccc:</id>
b. Assign the new tenant access to a virtual array by adding this tenant to the ACL for
the virtual array.
You must be authenticated as a user with the System Administrator or Security
Administrator role to perform this operation.
Request
PUT /vdc/varrays/urn:storageos:VirtualArray:1b86bbe1-c939-49d3-
b0ae-027dc95b1ccc:/acl
<acl_assignment_changes>
<add>
<privilege>USE</privilege>
<tenant>urn:storageos:TenantOrg:4edc456c-
c7f5-4c54-84b2-29715cc8f504:</tenant>
</add>
</acl_assignment_changes>
Response
<acl_assignments>
<acl_assignment>
<privilege>USE</privilege>
<tenant>urn:storageos:TenantOrg:4edc456c-
c7f5-4c54-84b2-29715cc8f504:</tenant>
</acl_assignment>
</acl_assignments>
6. If you want to a assign access to a virtual pool to the new tenant you can use the
following steps.
By default, the access control list (ACL) for a virtual pool is wide open and all tenants
have access. Once you assign a tenant to the ACL for a virtual pool, only that tenant
will have access unless you assign other tenants to the ACL.
a. Get a list of virtual pools. In the example below, file virtual pools have been listed.
Request
GET /file/vpools
Response
<vpool_list>
<virtualpool>
<id>urn:storageos:VirtualPool:58406f8b-5a0e-41c0-
a91b-5a8c59ac3a02:</id>
Setting Up Multiple Tenants
Configuring multiple tenants with the REST API 77