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:
Blake Harnden 2020-05-23 01:05:46 -07:00
parent 37ff989aa4
commit c580e15f8e
6 changed files with 14 additions and 25 deletions

View file

@ -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