Change-Id: Ic15d639332ce4898010cb98c458ce4accffbef29
Signed-off-by: Yaroslav Brustinov <[email protected]>
def setUp(self):
CStlGeneral_Test.setUp(self)
- if self.is_virt_nics:
+ if self.is_virt_nics or CTRexScenario.setup_name == 'trex21':
self.percentage = 5
self.pps = 500
else:
self.pps = 50000
# strict mode is only for 'wire only' connection
- self.strict = True if (self.is_loopback and not self.is_virt_nics) else False
+ if self.is_loopback and not (self.is_virt_nics or CTRexScenario.setup_name == 'trex21'):
+ self.strict = True
+ else:
+ self.strict = False
assert 'bi' in CTRexScenario.stl_ports_map
packet_hook : Callable or function
will be applied to every packet
- is_split : str
+ split_mode : str
should this PCAP be split to two profiles based on IPs / MACs
used for dual mode
can be 'MAC' or 'IP'