EMC ViPR REST API

Search (SHIFT+S)

API Reference


New in this release

Create Open Stack Tenants

POST /v2/keystone/tenants

Creates representation of OpenStack Tenants in CoprHD.


Required Roles

  • SECURITY_ADMIN

Request Payload

All parameters are required unless otherwise stated.

Field Description Type Notes
<openstack_tenant_list_param>
<openstack_tenants>     0-* Elements
<enabled> Indicates if OpenStack tenant is enabled. Boolean
<excluded> Indicates if OpenStack tenant is excluded. Boolean
<description> Description of OpenStack tenant. String
<os_id> ID of OpenStack tenant. String
<name> The name assigned to this resource in ViPR. The resource name is set by a user and can be changed at any time. It is not a unique identifier. String
<id> An identifier that is generated by ViPR when the resource is created. The resource ID is guaranteed to be unique and immutable across all virtual data centers for all time. URI
<link> A hyperlink to the details for this resource
<creation_time> A timestamp that shows when this resource was created in ViPR DateTime
<tags> Keywords and labels that can be added by a user to a resource to make it easy to find when doing a search.
<tag> String 0-* Elements
</tags>
<inactive> Whether or not the resource is inactive. When a user removes a resource, the resource is put in this state before it is removed from the ViPR database. Boolean
<global> Boolean
<remote> Boolean
<vdc>    
<id> ViPR ID of the related object URI
<link> A hyperlink to the related object
</vdc>      
<internal> Whether or not the resource is an internal resource. Boolean
</openstack_tenants>      
</openstack_tenant_list_param>

Response Body

Newly created Tenants.

Field Description Type Notes
<coprhd_os_tenant_list>
<coprhd_os_tenants>     0-* Elements
<enabled> Indicates if Coprhd representation of OpenStack tenant is enabled. Boolean
<excluded> Indicates if Coprhd representation of OpenStack tenant is excluded. Boolean
<description> Description of Coprhd representation of OpenStack tenant. String
<os_id> ID of OpenStack tenant. String
<name> The name assigned to this resource in ViPR. The resource name is set by a user and can be changed at any time. It is not a unique identifier. String
<id> An identifier that is generated by ViPR when the resource is created. The resource ID is guaranteed to be unique and immutable across all virtual data centers for all time. URI
<link> A hyperlink to the details for this resource
<creation_time> A timestamp that shows when this resource was created in ViPR DateTime
<tags> Keywords and labels that can be added by a user to a resource to make it easy to find when doing a search.
<tag> String 0-* Elements
</tags>
<inactive> Whether or not the resource is inactive. When a user removes a resource, the resource is put in this state before it is removed from the ViPR database. Boolean
<global> Boolean
<remote> Boolean
<vdc>    
<id> ViPR ID of the related object URI
<link> A hyperlink to the related object
</vdc>      
<internal> Whether or not the resource is an internal resource. Boolean
</coprhd_os_tenants>      
</coprhd_os_tenant_list>