daemon: removed linktype and apitype from node classes, as they are no longer needed, made adjustments where needed to compensate
This commit is contained in:
parent
7440c1d949
commit
443c0e708f
9 changed files with 12 additions and 47 deletions
|
@ -14,7 +14,6 @@ import netaddr
|
|||
from core import utils
|
||||
from core.configservice.dependencies import ConfigServiceDependencies
|
||||
from core.emulator.data import InterfaceData, LinkOptions
|
||||
from core.emulator.enumerations import NodeTypes
|
||||
from core.errors import CoreCommandError, CoreError
|
||||
from core.executables import BASH, MOUNT, TEST, VCMD, VNODED
|
||||
from core.nodes.interface import DEFAULT_MTU, CoreInterface
|
||||
|
@ -39,8 +38,6 @@ class NodeBase(abc.ABC):
|
|||
Base class for CORE nodes (nodes and networks)
|
||||
"""
|
||||
|
||||
apitype: Optional[NodeTypes] = None
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
session: "Session",
|
||||
|
@ -458,8 +455,6 @@ class CoreNode(CoreNodeBase):
|
|||
Provides standard core node logic.
|
||||
"""
|
||||
|
||||
apitype: NodeTypes = NodeTypes.DEFAULT
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
session: "Session",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue