#2453 - Corrected flake8 linting errors ahead of creating PR, after finally managing to get it to run locally. This should now be ready for review
This commit is contained in:
@@ -322,7 +322,7 @@ class HostNode(Node):
|
|||||||
Return the ARP Cache of the HostNode.
|
Return the ARP Cache of the HostNode.
|
||||||
|
|
||||||
:return: ARP Cache for given HostNode
|
:return: ARP Cache for given HostNode
|
||||||
:rtype: Optional[ARP]
|
:rtype: Optional[ARP]
|
||||||
"""
|
"""
|
||||||
return self.software_manager.software.get("ARP")
|
return self.software_manager.software.get("ARP")
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ from primaite.simulator.network.hardware.base import NetworkInterface, Node
|
|||||||
from primaite.simulator.network.transmission.data_link_layer import Frame
|
from primaite.simulator.network.transmission.data_link_layer import Frame
|
||||||
from primaite.simulator.system.services.arp.arp import ARP
|
from primaite.simulator.system.services.arp.arp import ARP
|
||||||
|
|
||||||
|
|
||||||
class NetworkNode(Node):
|
class NetworkNode(Node):
|
||||||
"""
|
"""
|
||||||
Represents an abstract base class for a network node that can receive and process network frames.
|
Represents an abstract base class for a network node that can receive and process network frames.
|
||||||
@@ -36,6 +37,6 @@ class NetworkNode(Node):
|
|||||||
Return the ARP Cache of the NetworkNode.
|
Return the ARP Cache of the NetworkNode.
|
||||||
|
|
||||||
:return: ARP Cache for given NetworkNode
|
:return: ARP Cache for given NetworkNode
|
||||||
:rtype: Optional[ARP]
|
:rtype: Optional[ARP]
|
||||||
"""
|
"""
|
||||||
return self.software_manager.software.get("ARP")
|
return self.software_manager.software.get("ARP")
|
||||||
|
|||||||
Reference in New Issue
Block a user