summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolas Hermanns <nikolas.hermanns@ericsson.com>2017-03-06 11:59:58 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-06 11:59:58 +0000
commita0280e4f218481fbe3a762e117f67a877111c45b (patch)
tree53f82facb597cf3f8a3811096ba3fd3114bba59d
parente6dc7ddf5f072f3ce477e08cd8f4373e47a93470 (diff)
parenta38877e38255693ffd46c8a574c8f3cc6b51189d (diff)
Merge "Set unlimited network and subnet quotas to fix CI"
-rw-r--r--sdnvpn/test/functest/run_tests.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/sdnvpn/test/functest/run_tests.py b/sdnvpn/test/functest/run_tests.py
index 5ca7691..e828af3 100644
--- a/sdnvpn/test/functest/run_tests.py
+++ b/sdnvpn/test/functest/run_tests.py
@@ -10,6 +10,7 @@
import argparse
import importlib
+import os
import sys
import time
import yaml
@@ -42,6 +43,12 @@ def push_results(testname, start_time, end_time, criteria, details):
def main():
+ # Workaround for https://jira.opnfv.org/projects/SDNVPN/issues/SDNVPN-100
+ cmd_line = "neutron quota-update --subnet -1 --network -1"
+ logger.info("Setting subnet/net quota to unlimited : %s" % cmd_line)
+ cmd = os.popen(cmd_line)
+ output = cmd.read()
+ logger.debug(output)
with open(COMMON_CONFIG.config_file) as f:
config_yaml = yaml.safe_load(f)