...
This will implement the process to set the scope of deployment plan to the correct resource level for planners to look into. This processor will implement AffinityGroupProcessor adapter.
...
- Admin should be able to choose a planner while creating a Service Offering.
- In Service Offering the list of planners will be shown, which include the new planner for Implicit Dedication: ImplicitDedicationPlanner
- If ImplicitDedicationPlanner is selected, a new pluggable UI for new API configurePlanner is shown up.
- configurePlanner API will take in name-value parameters for implicitDedication mode as input.
- Admin can set the name-value parameter for
- Strict Implicit Dedication as "implicitDedicationMode = Strict"
- Preferred Implicit Dedication as "implicitDedicationMode = Preferred"
- These parameters will get stored in reference to the service_offering_id.
- ImplicitDedicationPlanner takes the above parameters as input and set the scope of the plan of the VM to choose implicitly dedicated resources.
New Planner: ImplicitDedicationPlanner
ImplicitDedicationPlanner will extend firstfitplanner and search only in the dedicated resources.
New API: configurePlanner
configurePlanner API will take in name-value parameters for implicitDedication mode as input.
New Parameter: ImplicitDedicationMode
Admin can set the name-value parameter for
- Strict Implicit Dedication as "implicitDedicationMode = Strict"
- Preferred Implicit Dedication as "implicitDedicationMode = Preferred"
Change in the Existing Private Zone functionality:
...
Parameters include:
a) ZoneId/PodId/ClusterId/HostId
b) DomainId
c) AccountId
d) ImplicitDedication
Note: Either "DomainId or AccountId" OR "ImplicitDedication Flag" can be provided as a parameter but not both. If neither of them specified, fail the request.
...