forked from p34709852/monkey
Island: Remove INetworkMapRepository
Replaced by monkey_island.cc.models.Node and INodeRepository
This commit is contained in:
parent
8c69780f4e
commit
5f874356b1
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue