#3062 - rename identifier to discriminator
This commit is contained in:
@@ -24,7 +24,7 @@ from primaite.utils.validation.port import PORT_LOOKUP
|
||||
_LOGGER = getLogger(__name__)
|
||||
|
||||
|
||||
class ExtendedApplication(Application, identifier="ExtendedApplication"):
|
||||
class ExtendedApplication(Application, discriminator="ExtendedApplication"):
|
||||
"""
|
||||
Clone of web browser that uses the extension framework instead of being part of PrimAITE directly.
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ from primaite.simulator.network.hardware.nodes.network.switch import SwitchPort
|
||||
from primaite.simulator.network.transmission.data_link_layer import Frame
|
||||
|
||||
|
||||
class GigaSwitch(NetworkNode, identifier="gigaswitch"):
|
||||
class GigaSwitch(NetworkNode, discriminator="gigaswitch"):
|
||||
"""
|
||||
A class representing a Layer 2 network switch.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ from primaite.simulator.system.services.ftp.ftp_client import FTPClient
|
||||
from primaite.utils.validation.ipv4_address import IPV4Address
|
||||
|
||||
|
||||
class SuperComputer(HostNode, identifier="supercomputer"):
|
||||
class SuperComputer(HostNode, discriminator="supercomputer"):
|
||||
"""
|
||||
A basic Computer class.
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ from primaite.utils.validation.port import PORT_LOOKUP
|
||||
_LOGGER = getLogger(__name__)
|
||||
|
||||
|
||||
class ExtendedService(Service, identifier="ExtendedService"):
|
||||
class ExtendedService(Service, discriminator="ExtendedService"):
|
||||
"""
|
||||
A copy of DatabaseService that uses the extension framework instead of being part of PrimAITE.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user