moved common variables up and localname to CoreInterface, they were being created in all subclasses and avoids type hinting errors
This commit is contained in:
parent
37ff989aa4
commit
c580e15f8e
6 changed files with 14 additions and 25 deletions
|
@ -243,7 +243,7 @@ class LinuxNetClient:
|
|||
|
||||
def create_interface(self, bridge_name: str, interface_name: str) -> None:
|
||||
"""
|
||||
Create an interface associated with a Linux bridge.
|
||||
Assign interface master to a Linux bridge.
|
||||
|
||||
:param bridge_name: bridge name
|
||||
:param interface_name: interface name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue