CLOUDSTACK-9186: Root admin cannot see VPC created by Domain admin user Added the parameter listAll=true in case of Internal LB as well as Public LB IP addresses.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9014cd31 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9014cd31 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9014cd31 Branch: refs/heads/master Commit: 9014cd3101155aed10e4639acc6ece9c768f3929 Parents: d681574 Author: Nitin Kumar Maharana <[email protected]> Authored: Fri Dec 18 13:23:50 2015 +0530 Committer: Nitin Kumar Maharana <[email protected]> Committed: Wed Jan 6 23:53:07 2016 +0530 ---------------------------------------------------------------------- ui/scripts/vpc.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9014cd31/ui/scripts/vpc.js ---------------------------------------------------------------------- diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index 4b10d8b..f15cc42 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -748,7 +748,8 @@ $.ajax({ url: createURL('listLoadBalancers'), data: { - networkid: args.context.networks[0].id + networkid: args.context.networks[0].id, + listAll: true }, success: function(json) { var items = json.listloadbalancersresponse.loadbalancer; @@ -1132,7 +1133,8 @@ async: false, data: { associatednetworkid: args.context.networks[0].id, - forloadbalancing: true + forloadbalancing: true, + listall: true }, success: function(json) { var items = json.listpublicipaddressesresponse.publicipaddress;
