Skip to content
Snippets Groups Projects
Verified Commit 4890485d authored by Karel Koci's avatar Karel Koci :metal:
Browse files

nsfarm/board: remove obsolete abstractproperty

The abstractproperty is deprecaterd since Python 3.3.
parent be82335c
Branches
Tags
No related merge requests found
......@@ -95,23 +95,27 @@ class Board(abc.ABC):
It has to implement TFTP uboot routines.
"""
@abc.abstractproperty
@property
@abc.abstractmethod
def wan(self):
"""Network interface name for WAN interface in router"""
@abc.abstractproperty
@property
@abc.abstractmethod
def lan1(self):
"""Network interface name for LAN1 interface in router
Note that this not matches lan1 port on router but rather is primary lan port.
"""
@abc.abstractproperty
@property
@abc.abstractmethod
def lan2(self):
"""Network interface name for LAN2 interface in router
Note that this not matches lan2 port on router but rather is secondary test port (such as different switch).
"""
@abc.abstractproperty
@property
@abc.abstractmethod
def lan3(self):
"""Network interface name for LAN3 interface in router
Note that this not matches lan3 port on router but rather is tercial test port (such as different switch).
......
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