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: {
|
detailView: {
|
||||||
name: 'Region details',
|
name: 'Region details',
|
||||||
viewAll: { path: 'regions.GSLB', label: 'GSLB' },
|
viewAll: [
|
||||||
|
{ path: 'regions.GSLB', label: 'GSLB' },
|
||||||
|
{ path: 'regions.portableIpRanges', label: 'Portable IP' }
|
||||||
|
],
|
||||||
actions: {
|
actions: {
|
||||||
edit: {
|
edit: {
|
||||||
label: 'label.edit.region',
|
label: 'label.edit.region',
|
||||||
@ -451,8 +454,40 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
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',
|
id: 'lbUnderGSLB',
|
||||||
type: 'select',
|
type: 'select',
|
||||||
title: 'assigned load balancing',
|
title: 'assigned load balancing',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user