mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-2678: portable IP ranges - regions detailView - add viewAll path to Portable IP Ranges listView.
This commit is contained in:
parent
6975f6bac6
commit
3d16e82547
@ -116,7 +116,10 @@
|
||||
},
|
||||
detailView: {
|
||||
name: 'Region details',
|
||||
viewAll: { path: 'regions.GSLB', label: 'GSLB' },
|
||||
viewAll: [
|
||||
{ path: 'regions.GSLB', label: 'GSLB' },
|
||||
{ path: 'regions.portableIpRanges', label: 'Portable IP' }
|
||||
],
|
||||
actions: {
|
||||
edit: {
|
||||
label: 'label.edit.region',
|
||||
@ -452,7 +455,39 @@
|
||||
}
|
||||
},
|
||||
|
||||
lbUnderGSLB: {
|
||||
portableIpRanges: {
|
||||
id: 'portableIpRanges',
|
||||
type: 'select',
|
||||
title: 'Portable IP Ranges',
|
||||
listView: {
|
||||
id: 'portableIpRanges',
|
||||
label: 'Portable IP Ranges',
|
||||
fields: {
|
||||
name: { label: 'label.name' },
|
||||
gslbdomainname: { label: 'GSLB Domain Name' },
|
||||
gslblbmethod: { label: 'Algorithm' }
|
||||
},
|
||||
dataProvider: function(args) {
|
||||
$.ajax({
|
||||
url: createURL('listPortableIpRanges'),
|
||||
data: {
|
||||
regionid: args.context.regions[0].id
|
||||
},
|
||||
success: function(json) {
|
||||
var items = json.listportableipresponse.portableip;
|
||||
args.response.success({
|
||||
data: items
|
||||
});
|
||||
},
|
||||
error: function(json) {
|
||||
args.response.error(parseXMLHttpResponse(json));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
lbUnderGSLB: {
|
||||
id: 'lbUnderGSLB',
|
||||
type: 'select',
|
||||
title: 'assigned load balancing',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user