mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
CLOUDSTACK-3888: UI > service offerings > compute offerings > add new field "Planner Mode".
This commit is contained in:
parent
10938612cc
commit
3f1aba894f
@ -529,7 +529,10 @@
|
||||
},
|
||||
deploymentplanner: {
|
||||
label: 'Deployment Planner'
|
||||
},
|
||||
},
|
||||
plannerMode: {
|
||||
label: 'Planner Mode'
|
||||
},
|
||||
tags: {
|
||||
label: 'label.storage.tags'
|
||||
},
|
||||
@ -556,6 +559,13 @@
|
||||
async: true,
|
||||
success: function(json) {
|
||||
var item = json.listserviceofferingsresponse.serviceoffering[0];
|
||||
|
||||
if (item.deploymentplanner != null && item.serviceofferingdetails != null) {
|
||||
if (item.deploymentplanner == 'ImplicitDedicationPlanner' && item.serviceofferingdetails.ImplicitDedicationMode != null) {
|
||||
item.plannerMode = item.serviceofferingdetails.ImplicitDedicationMode;
|
||||
}
|
||||
}
|
||||
|
||||
args.response.success({
|
||||
actionFitler: serviceOfferingActionfilter,
|
||||
data: item
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user