Commit ad934131e064c15493c9343f931bb679141bd306
Exists in
master
Adiciona carga de arquivos XML dos resultados após om scan completo das redes.
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
cocar/commands/scan_commands.py
@@ -282,7 +282,12 @@ class ScanCommands(command.Command): | @@ -282,7 +282,12 @@ class ScanCommands(command.Command): | ||
282 | print("*** Aperente CTRL+C para encerrar a execução ***") | 282 | print("*** Aperente CTRL+C para encerrar a execução ***") |
283 | 283 | ||
284 | while True: | 284 | while True: |
285 | + log.info("Iniciando scan de redes...") | ||
285 | self.scan_networks() | 286 | self.scan_networks() |
287 | + log.info("Scan de redes finalizado. Iniciando procedimento de " | ||
288 | + "identificação de ativos de rede, computadores e impressoras") | ||
289 | + self.load_network_files() | ||
290 | + log.info("SCAN DE REDE COMPLETO FINALIZADO!!!") | ||
286 | 291 | ||
287 | def printer_scan(self): | 292 | def printer_scan(self): |
288 | """ | 293 | """ |