Skip to content

Commit

Permalink
Closes-Bug: #1420804 - Config : Need to provide provision from UI 's …
Browse files Browse the repository at this point in the history
…Quotas page to update new quota attributes as per the schema

Change-Id: Ieaf369a05f327b50b1294e041b1e3158b52e2171
  • Loading branch information
sbavanasi committed Feb 11, 2015
1 parent ec47713 commit c32ed49
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
12 changes: 10 additions & 2 deletions webroot/config/quotas/api/quotasconfig.api.js
Expand Up @@ -114,7 +114,11 @@ function setProjectQuotas(projectIdStr, appData, data, callback) {
"virtual_network": -1,
"virtual_DNS": null,
"floating_ip_pool": null,
"logical_router": -1
"logical_router": -1,
"loadbalancer_pool":-1,
"loadbalancer_member":-1,
"loadbalancer_healthmonitor":-1,
"virtual_ip":-1
};
getProjectQuotasCb(null, data, appData, callback);
}
Expand Down Expand Up @@ -187,7 +191,11 @@ function getProjectQuotaUsedInfo(request, response, appData)
{key : 'virtual-machine-interfaces', value : 'virtual_machine_interface'},
{key : 'access-control-lists', value : 'access_control_list'},
{key : 'network-policys', value : 'network_policy'},
{key : 'logical-routers', value : 'logical_router'}
{key : 'logical-routers', value : 'logical_router'},
{key : 'loadbalancer-pools', value : 'loadbalancer_pool'},
{key : 'loadbalancer-members', value : 'loadbalancer_member'},
{key : 'loadbalancer-healthmonitors', value : 'loadbalancer_healthmonitor'},
{key : 'virtual-ips', value : 'virtual_ip'}
];
var callObj = [];
for(var featureCnt = 0; featureCnt < resources.length; featureCnt ++) {
Expand Down
6 changes: 5 additions & 1 deletion webroot/config/quotas/ui/js/quotas_config.js
Expand Up @@ -18,7 +18,11 @@
{key : "network_ipam", name :"Network IPAMs"},
{key : "service_instance", name :"Service Instances"},
{key : "security_group", name :"Security Groups"},
{key : "security_group_rule", name :"Security Group Rules"}
{key : "security_group_rule", name :"Security Group Rules"},
{key : "loadbalancer_pool", name :"Loadbalancer Pools"},
{key : "loadbalancer_member", name :"Loadbalancer Members"},
{key : "loadbalancer_healthmonitor", name :"Loadbalancer Health monitor"},
{key : "virtual_ip", name :"Virtual IPs"}
];
//Grids
var gridQuotas, updateData;
Expand Down

0 comments on commit c32ed49

Please sign in to comment.