mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-681:Implicit Dedication UI support
This commit is contained in:
parent
e31553aff8
commit
49e39e51f2
@ -144,6 +144,27 @@
|
||||
|
||||
},
|
||||
|
||||
deploymentPlanner:{
|
||||
label:'Deployment Planner',
|
||||
select:function(args){
|
||||
$.ajax({
|
||||
url:createURL('listDeploymentPlanners'),
|
||||
dataType:'json',
|
||||
success:function(json){
|
||||
var items=[];
|
||||
var plannerObjs = json.listdeploymentplannersresponse.deploymentPlanner;
|
||||
$(plannerObjs).each(function(){
|
||||
items.push({id: this.name, description: this.name});
|
||||
});
|
||||
args.response.success({data: items});
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
domainId: {
|
||||
label: 'label.domain',
|
||||
docID: 'helpComputeOfferingDomain',
|
||||
@ -176,7 +197,9 @@
|
||||
storageType: args.data.storageType,
|
||||
cpuNumber: args.data.cpuNumber,
|
||||
cpuSpeed: args.data.cpuSpeed,
|
||||
memory: args.data.memory
|
||||
memory: args.data.memory,
|
||||
deploymentplanner: args.data.deploymentPlanner
|
||||
|
||||
};
|
||||
|
||||
if(args.data.networkRate != null && args.data.networkRate.length > 0) {
|
||||
@ -362,6 +385,7 @@
|
||||
converter: cloudStack.converters.toBooleanText
|
||||
},
|
||||
isvolatile:{ label:'Volatile' , converter: cloudStack.converters.toBooleanText },
|
||||
deploymentplanner:{label:'Deployment Planner'},
|
||||
tags: { label: 'label.storage.tags' },
|
||||
hosttags: { label: 'label.host.tags' },
|
||||
domain: { label: 'label.domain' },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user