#2453 - Correcting errors found from pipeline pre-commit checks

This commit is contained in:
Charlie Crane
2024-04-09 13:34:57 +01:00
parent f8432bf53b
commit c13d3f191f
4 changed files with 192 additions and 230 deletions

View File

@@ -318,6 +318,12 @@ class HostNode(Node):
@property
def arp(self) -> Optional[ARP]:
"""
Return the ARP Cache of the HostNode
:return: ARP Cache for given HostNode
:rtype: Optional[ARP]
"""
return self.software_manager.software.get("ARP")
def _install_system_software(self):

View File

@@ -32,4 +32,10 @@ class NetworkNode(Node):
@property
def arp(self) -> Optional[ARP]:
"""
Return the ARP Cache of the NetworkNode
:return: ARP Cache for given NetworkNode
:rtype: Optional[ARP]
"""
return self.software_manager.software.get("ARP")