stepping-stone / vm-manager

The stoney cloud web interface.
http://www.stoney-cloud.org/
Other
0 stars 0 forks source link

Lean Provisioning: Add sstBusinessLogicRoleName when creating a virtual maschine #66

Closed meichenberger closed 9 years ago

meichenberger commented 9 years ago

When creating a new virtual machine from a virtual machine template according to the Lean Provisioning Work Flow, the attribute sstBusinessLogicRoleName must also be added to the ou=software stack, ....

Origin:

dn: uid=3000052,ou=software stack,ou=configuration,dc=stoney-cloud,dc=org
objectclass: top
objectclass: sstGroupObjectClass
objectclass: sstRelationship
objectclass: labeledURIObject
uid: 3000052
sstDisplayName: SSH (stepping stone GmbH)
sstBusinessLogicRoleName: ssh
description: SSH configuration for remote access by stepping stone GmbH employees.
labeledURI: ldap:///uid=3000034,uid=3000033,uid=3000019,ou=operating system,ou=configuration,dc=stoney-cloud,dc=org
labeledURI: ldap:///uid=3000035,uid=3000033,uid=3000019,ou=operating system,ou=configuration,dc=stoney-cloud,dc=org
sstEnvironmentName: production
sstEnvironmentName: integration
sstEnvironmentName: test
sstEnvironmentName: development
sstBelongsToResellerUID: 4000000
sstBelongsToCustomerUID: 4000001
sstAllowResellerUID: 0
sstAllowCustomerUID: 0
sstAllowPersonUID: 0

Newly created virtual machine:

dn: ou=software stack,sstVirtualMachine=4b99c860-cf5a-435a-a87d-e9fdc2bf0ba5,ou=virtual machines,ou=virtualization,ou=services,o=stepping-stone,c=ch
objectclass: top
objectclass: sstGroupObjectClass
objectclass: sstRelationship
objectclass: labeledURIObject
ou: software stack
sstDisplayName: SSH (stepping stone GmbH)
sstBusinessLogicRoleName: ssh
description: SSH configuration for remote access by stepping stone GmbH employees.
labeledURI: ldap:///uid=3000052,ou=software stack,ou=configuration,o=stepping-stone,c=ch
sstEnvironmentName: 3000060
sstBelongsToCustomerUID: 3723426
sstBelongsToResellerUID: 2000000

As you can see from the entry above, the attribute sstBusinessLogicRoleName was newly added:

sstEnvironmentName: 3000060

The attribute sstEnvironmentName: 3000060 points the entry uid=3000060,ou=environments,ou=software stack,ou=configuration,dc=stoney-cloud,dc=org and means, we are in the Production Environment.