Updated Branches: refs/heads/master c6d361184 -> 6a711fc68
CLOUDSTACK-3165: UI > VPC page - Configure VPC chart - pass associatednetworkid instead of networkid to listPublicIpAddresses API. Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/6a711fc6 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6a711fc6 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6a711fc6 Branch: refs/heads/master Commit: 6a711fc682754b18092d3f7ecde66695d565c7b5 Parents: c6d3611 Author: Jessica Wang <jessicaw...@apache.org> Authored: Tue Jun 25 11:36:34 2013 -0700 Committer: Jessica Wang <jessicaw...@apache.org> Committed: Tue Jun 25 11:43:53 2013 -0700 ---------------------------------------------------------------------- ui/scripts/vpc.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6a711fc6/ui/scripts/vpc.js ---------------------------------------------------------------------- diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index 773409f..ed07a2c 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -831,7 +831,7 @@ $.ajax({ url: createURL('listPublicIpAddresses'), async: false, - data: { networkid: args.context.networks[0].id, forloadbalancing: true }, + data: { associatednetworkid: args.context.networks[0].id, forloadbalancing: true }, success: function(json) { var items = json.listpublicipaddressesresponse; args.response.success({ data: items }); @@ -1398,7 +1398,7 @@ $.ajax({ url: createURL('listPublicIpAddresses'), data: { - networkid: args.context.networks[0].id, + associatednetworkid: args.context.networks[0].id, isstaticnat: true, listall: true }, @@ -3503,8 +3503,8 @@ url: createURL('listPublicIpAddresses'), async: false, data: { - vpcid: args.context.vpc[0].id, - listAll: true + vpcid: args.context.vpc[0].id, + listAll: true }, success: function(json) { publicIpAddresses = json.listpublicipaddressesresponse; @@ -3583,7 +3583,7 @@ $.ajax({ url: createURL('listPublicIpAddresses&listAll=true'), async: false, - data: { networkid: tier.id, forloadbalancing: true }, + data: { associatednetworkid: tier.id, forloadbalancing: true }, success: function(json) { publicLbIps = json.listpublicipaddressesresponse; }, @@ -3596,7 +3596,7 @@ $.ajax({ url: createURL('listPublicIpAddresses&listAll=true'), async: false, - data: { networkid: tier.id, isstaticnat: true }, + data: { associatednetworkid: tier.id, isstaticnat: true }, success: function(json) { staticNatIps = json.listpublicipaddressesresponse; },