removed devname from linkconfig as the only usage was of it was using a parametr that was already being passed in
This commit is contained in:
parent
dd13bc8379
commit
26b0868f65
8 changed files with 9 additions and 45 deletions
|
@ -151,16 +151,13 @@ class PhysicalNode(CoreNodeBase):
|
|||
duplicate: float = None,
|
||||
jitter: float = None,
|
||||
netif2: CoreInterface = None,
|
||||
devname: str = None,
|
||||
) -> None:
|
||||
"""
|
||||
Apply tc queing disciplines using linkconfig.
|
||||
"""
|
||||
linux_bridge = CoreNetwork(session=self.session, start=False)
|
||||
linux_bridge.up = True
|
||||
linux_bridge.linkconfig(
|
||||
netif, bw, delay, loss, duplicate, jitter, netif2, devname
|
||||
)
|
||||
linux_bridge.linkconfig(netif, bw, delay, loss, duplicate, jitter, netif2)
|
||||
del linux_bridge
|
||||
|
||||
def newifindex(self) -> int:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue