Changes

Jump to: navigation, search

stoney cloud: OpenLDAP directory data organisation

91 bytes added, 10:59, 18 August 2018
/* IaaS (Infrastructure as a Service) */
=== Domains (resellers) ===
<source lang="ldif"> dn: ou=domains,ou=iaas,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: organizationalUnit ou: domains description: The sub tree for the domains (resellers) of the OpenStack based stoney cloud service.</source>
==== Domain (reseller) example ====
<source lang="ldif"> dn: uid=4000000,ou=domains,ou=iaas,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: sstIaaSDomains (or just sstIaaS?) objectclass: sstProvisioning objectclass: sstRelationship uid: 5000000 sstDomainID: b01822477be64c09950022486300c59c sstDomainName: Reseller Ltd. sstDomainDescription: 4000000 - Reseller Ltd. sstIsActive: TRUE sstProvisioningMode: add sstProvisioningExecutionDate: 0 sstProvisioningState: 0 sstBelongsToResellerUID: 4000000 sstBelongsToCustomerUID: 4000001 sstBelongsToPersonUID: 4000002</source>
=== Projects (tenants) ===
<source lang="ldif"> dn: ou=projects,ou=iaas,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: organizationalUnit ou: projects description: The sub tree for the projects (tenants) of the OpenStack based stoney cloud service.</source>
==== Project (tenant) examples ====
Due to the OpenStack project (tenant) organisation, we can have multiple tenants per domain (reseller) and customers. The following LDIF example show the first project of the customer Customer Ltd. with the <code>sstBelongsToCustomerUID: 4000001</code> belonging to the reseller Reseller Ltd. with the <code>sstBelongsToResellerUID: 4000000</code>:
<source lang="ldif">dn: uid=5000001,ou=projects,ou=iaas,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: sstIaaSProjects (or just sstIaaS?) objectclass: sstProvisioning objectclass: sstRelationship uid: 5000001 sstProjectID: 5a3a4fd5d6e94a87815131be42d8e6d9 sstProjectName: Customer Ltd. - Base Project sstProjectDescription: 4000000/4000001 - Customer Ltd. sstIsActive: TRUE sstProvisioningMode: add sstProvisioningExecutionDate: 0 sstProvisioningState: 0 sstBelongsToDomainID: b01822477be64c09950022486300c59c sstBelongsToResellerUID: 4000000 sstBelongsToCustomerUID: 4000001 sstBelongsToPersonUID: 4000002</source>
The following LDIF example show the second project of the customer Customer Ltd. with the <code>sstBelongsToCustomerUID: 4000001</code> belonging to the reseller Reseller Ltd. with the <code>sstBelongsToResellerUID: 4000000</code>:
<source lang="ldif">dn: uid=5000002,ou=projects,ou=iaas,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: sstIaaSProjects (or just sstIaaS?) objectclass: sstProvisioning objectclass: sstRelationship uid: 5000002 sstProjectID: 9ecb5bfdd4564f6ca52bba1e869eeea4 sstProjectName: Customer Ltd. - Second Project sstProjectDescription: Customer Ltd. - Second Project sstIsActive: TRUE sstProvisioningMode: add sstProvisioningExecutionDate: 0 sstProvisioningState: 0 sstBelongsToDomainID: b01822477be64c09950022486300c59c sstBelongsToResellerUID: 4000000 sstBelongsToCustomerUID: 4000001 sstBelongsToPersonUID: 4000002</source>
Per Domain:
3,368
edits