aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/IPsecUtil.py
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2019-07-09 13:44:32 +0000
committerPeter Mikus <pmikus@cisco.com>2019-07-23 17:08:16 +0000
commit141d5420a065734671ea17bbee8c4e927ae10dff (patch)
tree46275a02bcc1c417e327a094b3d8463cba5b38f3 /resources/libraries/python/IPsecUtil.py
parent01d9a0df1ed8143daa4fdcd0a05bfdcf3f34e7a6 (diff)
Add scale ipsec tunnel tests 40K, 60K
Change-Id: Iecfd7e69a72c8d5893a703fa93439cde0a3edf5f Signed-off-by: Peter Mikus <pmikus@cisco.com>
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