self.stl_trex.clear_stats()
sleep(1)
self.stl_trex.add_streams(profile)
- self.stl_trex.start(mult = '10%')
+ mult = '1%' if self.is_virt_nics else '10%'
+ self.stl_trex.start(mult = mult)
start_time = time()
for i in range(timeout + 1):
devices[pci]['MAC'] = mac
table = texttable.Texttable(max_width=-1)
- table.header(['ID', 'NUMA', 'PCI', 'MAC', 'Name', 'Driver', 'Linux interface', 'Active'])
+ table.header(['ID', 'NUMA', 'PCI', 'MAC', 'Name', 'Driver', 'Linux IF', 'Active'])
for id, pci in enumerate(sorted(devices.keys())):
d = devices[pci]
table.add_row([id, d['NUMA'], d['Slot_str'], d.get('MAC', ''), d['Device_str'], d.get('Driver_str', ''), d['Interface'], d['Active']])