Commit 756f878b authored by Jonas Kaufmann's avatar Jonas Kaufmann Committed by Antoine Kaufmann
Browse files

fix i40e simulator stuck at timestamp 500

parent ff954ae3
......@@ -51,6 +51,7 @@ class NodeConfig(object):
def __init__(self):
"""Manages the configuration for a node."""
super().__init__()
self.sim = 'qemu'
"""Name of simulator to run."""
self.ip = '10.0.0.1'
......
......@@ -118,8 +118,8 @@ class NICSim(PCIDevSim):
def basic_args(self, env, extra=None):
cmd = (
f'{env.dev_pci_path(self)} {env.nic_eth_path(self)}'
f' {env.dev_shm_path(self)} {self.sync_mode} {self.sync_period}'
f' {self.start_tick} {self.pci_latency} {self.eth_latency}'
f' {env.dev_shm_path(self)} {self.sync_mode} {self.start_tick}'
f' {self.sync_period} {self.pci_latency} {self.eth_latency}'
)
if self.mac is not None:
cmd += ' ' + (''.join(reversed(self.mac.split(':'))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment