aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/IPsecUtil.py
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/python/IPsecUtil.py')
-rw-r--r--resources/libraries/python/IPsecUtil.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/resources/libraries/python/IPsecUtil.py b/resources/libraries/python/IPsecUtil.py
index c52bdc696c..16acb51234 100644
--- a/resources/libraries/python/IPsecUtil.py
+++ b/resources/libraries/python/IPsecUtil.py
@@ -900,10 +900,12 @@ class IPsecUtil(object):
raddr=if1_ip + i * addr_incr))
vat.execute_script(
tmp_fn1, nodes['DUT1'], timeout=1800, json_out=False,
- copy_on_execute=True)
+ copy_on_execute=True,
+ history=False if n_tunnels > 100 else True)
vat.execute_script(
tmp_fn2, nodes['DUT2'], timeout=1800, json_out=False,
- copy_on_execute=True)
+ copy_on_execute=True,
+ history=False if n_tunnels > 100 else True)
os.remove(tmp_fn1)
os.remove(tmp_fn2)
@@ -938,10 +940,12 @@ class IPsecUtil(object):
mask=128 if if2_ip.version == 6 else 32))
vat.execute_script(
tmp_fn1, nodes['DUT1'], timeout=1800, json_out=False,
- copy_on_execute=True)
+ copy_on_execute=True,
+ history=False if n_tunnels > 100 else True)
vat.execute_script(
tmp_fn2, nodes['DUT2'], timeout=1800, json_out=False,
- copy_on_execute=True)
+ copy_on_execute=True,
+ history=False if n_tunnels > 100 else True)
os.remove(tmp_fn1)
os.remove(tmp_fn2)
return