...
5. DVM dedication flag: a new Parameter in deployVirtualMachine API, if ON, VM is deployed on explicitly dedicated resources
This The above parameters in 4 and 5 parameters have been removed as per discussion.
...
VM : VM with no dedication required
Use Case 1: User U1 U3 of Account A1A2 (Red color), deploys a virtual machine VM1 with SO=ONSID affinity type,
Host 2 is chosen from the pool of implicitly dedicated resources (In this case, only Host 2 is implicitly dedicated), Implicitly Dedicated "Host 2" is now dedicated to account A1
Use Case 2: User U1 of Account A1, deploys a virtual machine VM2 with DVM=ONED affinity type ,
Host 1 is chosen form the pool of explicitly dedicated resources (In this case, only Host 1 is explicitly dedicated)
Use Case 3: User U1 of Account A1, deploys a virtual machine VM3 without any flag ONwith NO dedication,
Host 3 is chosen from the shared pool, (In this case, only Host 3 is a shared Host)
Use Case 4: User U3 U1 of Account A2, deploys A1 (Green color), deploys a virtual machine VM1 with SO=ON SID affinity type,
Request Failed, No Host available
Use Case 5: User U4 of account A2, deploys a virtual machine VM2 with DVM=ON, ED affinity type,
Host 1 is chosen form the pool of explicitly dedicated resources
Use Case 6: User U5 of Account A3 , (Blue Color), deploys a virtual machine VM1 with SO=ONwith SID affinity type,
Request Failed, No Host available
...
Request Failed, No Host available.
Use Case 8: User U5 of Account, deploys a virtual machine VM3 without any flag,
, No Host available.
Use Case 8: User U5 of Account A3, deploys a virtual machine VM3 without NO Dedication,
Host 3 is selected.
Use Case 9: User U3 of Account A2, deploys a VM with PID affinity type.
Host 2 is selected, VM with SID is OK if VM come from the same account
Use Case 10:User U3 of Account A2, deploys a VM eith NO dedication .
Host2/Host3 can be chosen.
Use Case 11: User U5 of Account A3 deploys a VM with PID affinity type.
Search for Host having VMs of same account. If not available can go to shared host.
Host Host 3 is selected.
Use Case 912: Once All the VMs in Host 2 is deleted, Host will added to the implicit dedicated pool.
Use Case 1013: Host 1 will remain dedicated to Domain D1 unless root admin changes dedication of this host.
...
...
...
This will implement the process to set scope of deployment plan to the correct resource level for planners to look into. This processor will implement AffinityGroupProcessor adapter.
Non-dedicated Resources will be added in Avoid List.
For Example:
Zone Z has Pods P1, P2.
...