Searched refs:port_index (Results 1 – 1 of 1) sorted by relevance
366 for port_index in range(port_count):367 self.nsims.append(NetdevSim(self, port_index, ifnames[port_index]))413 f.write("%u" % nsim.port_index)420 def __init__(self, nsimdev, port_index, ifname): argument425 if match and int(match.groups()[0]) != port_index + 1:429 self.port_index = port_index431 self.dfs_dir = "%s/ports/%u/" % (nsimdev.dfs_dir, port_index)