#2887 - Node class changes to address some test failures. Addressed some inconsistencies around operating_state, amended instantiation of some Nodes in test environments
This commit is contained in:
@@ -46,7 +46,7 @@ class Router(NetworkNode, identifier="router"):
|
||||
|
||||
num_ports: int = 5
|
||||
|
||||
hostname: ClassVar[str] = "Router"
|
||||
hostname: str = "Router"
|
||||
|
||||
ports: list = []
|
||||
|
||||
@@ -55,4 +55,4 @@ class Router(NetworkNode, identifier="router"):
|
||||
Changes to YAML file.
|
||||
=====================
|
||||
|
||||
Nodes defined within configuration YAML files for use with PrimAITE 3.X should still be compatible following these changes.
|
||||
Nodes defined within configuration YAML files for use with PrimAITE 3.X should still be compatible following these changes.
|
||||
|
||||
Reference in New Issue
Block a user