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:
Blake Harnden 2022-04-05 15:22:01 -07:00
parent 7440c1d949
commit 443c0e708f
9 changed files with 12 additions and 47 deletions

View file

@ -10,7 +10,7 @@ import netaddr
from core.emulator.data import InterfaceData, LinkOptions
from core.emulator.distributed import DistributedServer
from core.emulator.enumerations import NodeTypes, TransportType
from core.emulator.enumerations import TransportType
from core.errors import CoreCommandError, CoreError
from core.executables import BASH, TEST, UMOUNT
from core.nodes.base import CoreNode, CoreNodeBase
@ -28,8 +28,6 @@ class Rj45Node(CoreNodeBase):
network.
"""
apitype: NodeTypes = NodeTypes.RJ45
def __init__(
self,
session: "Session",