stepping-stone / vm-manager

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

Allow assignment of reseller, customer and person (people) entities #63

Closed meichenberger closed 9 years ago

meichenberger commented 10 years ago

Allow the assignment of reseller, customer and person (people) entities in the detailed section of persistent virtual machines and the virtual machine templates: stoney-cloud_entities_assignment

The idea is to have three new fields: Reseller: stepping stone GmbH Customer: stepping stone GmbH Person: Michael Eichenberger

The Reseller and Customer are mandatory (this is the default anyway). A Person is optional. An "edit" button behind (or in front) of each line (or one for the whole entity section) should be added. If "edit" is chosen, a pull down is displayed in place of the current name. The Customer pull down entries is dependent on the setting of the reseller (only the customers of the chosen reseller are displayed). The same goes for the person/people section (only the people of the chosen customer are displayed).

In all three cases, only the entities with sstIsActive: TRUE are allowed to be chosen.

meichenberger commented 10 years ago

An example could look as follows (please be aware, that the network needs to be update too):

dn: sstVirtualMachine=UUID,ou=virtual machines,ou=virtualization,ou=services,dc=stoney-cloud,dc=org
sstBelongsToResellerUID: 4000000 (organizationName)
sstBelongsToCustomerUID: 4000001 (organizationName)
sstBelongsToPersonUID: 4000002 (surname givenName)
dn: cn=UUID,ou=virtual machines,cn=31.216.41.0,cn=config-01,ou=dhcp,ou=networks,ou=virtualization,ou=services,dc=stoney-cloud,dc=org
sstBelongsToResellerUID: 4000000 (organizationName)
sstBelongsToCustomerUID: 4000001 (organizationName)
sstBelongsToPersonUID: 4000002 (surname givenName)