Island: Remove INetworkMapRepository

Replaced by monkey_island.cc.models.Node and INodeRepository
This commit is contained in:
Mike Salvatore 2022-09-07 09:43:27 -04:00
parent 8c69780f4e
commit 5f874356b1
2 changed files with 0 additions and 14 deletions

View File

@ -1,11 +0,0 @@
from abc import ABC
class INetworkMapRepository(ABC):
# TODO Define NetMap object
def get_map(self) -> NetMap: # noqa: F821
pass
def save_netmap(self, netmap: NetMap): # noqa: F821
pass

View File

@ -18,7 +18,6 @@ from monkey_island.cc.repository.i_attack_repository import IAttackRepository
from monkey_island.cc.repository.i_config_repository import IConfigRepository
from monkey_island.cc.repository.i_log_repository import ILogRepository
from monkey_island.cc.repository.i_machine_repository import IMachineRepository
from monkey_island.cc.repository.i_network_map_repository import INetworkMapRepository
from monkey_island.cc.repository.i_report_repository import IReportRepository
from monkey_island.cc.repository.i_simulation_repository import ISimulationRepository
from monkey_island.cc.repository.i_telemetry_repository import ITelemetryRepository
@ -257,8 +256,6 @@ IMachineRepository.upsert_machine
IMachineRepository.get_machine_by_id
IMachineRepository.get_machine_by_hardware_id
IMachineRepository.get_machines_by_ip
INetworkMapRepository.get_map
INetworkMapRepository.save_netmap
INodeRepository
INodeRepository.upsert_communication
INodeRepository.communication_type