summaryrefslogtreecommitdiffstats
path: root/sdnvpn/lib/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'sdnvpn/lib/utils.py')
-rw-r--r--sdnvpn/lib/utils.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/sdnvpn/lib/utils.py b/sdnvpn/lib/utils.py
index 0ab8b84..44641ee 100644
--- a/sdnvpn/lib/utils.py
+++ b/sdnvpn/lib/utils.py
@@ -777,11 +777,12 @@ def is_fail_mode_secure():
def update_nw_subnet_port_quota(neutron_client, tenant_id, nw_quota,
- subnet_quota, port_quota):
+ subnet_quota, port_quota, router_quota):
json_body = {"quota": {
"network": nw_quota,
"subnet": subnet_quota,
- "port": port_quota
+ "port": port_quota,
+ "router": router_quota
}}
try:
@@ -790,8 +791,9 @@ def update_nw_subnet_port_quota(neutron_client, tenant_id, nw_quota,
return True
except Exception as e:
logger.error("Error [update_nw_subnet_port_quota(neutron_client,"
- " '%s', '%s', '%s', '%s')]: %s" %
- (tenant_id, nw_quota, subnet_quota, port_quota, e))
+ " '%s', '%s', '%s', '%s, %s')]: %s" %
+ (tenant_id, nw_quota, subnet_quota,
+ port_quota, router_quota, e))
return False