From e52dfababc9d90d7a88b62c618dbf4f63dde8e7c Mon Sep 17 00:00:00 2001 From: Brian Kanyora Date: Tue, 6 Jun 2023 11:03:43 +0100 Subject: [PATCH] feature\898: Fixed the resetting operating state to set compromised or overwhelmed services or operating system back to a good state. Added a reset count that switches the node into a good state. Created a "SHUTTING DOWN" operating state to last for a (configurable) and a "BOOTING" operating state to last for a (configurable). Created a test file to test the reset changes the node to a good state when its set to a COMPROMISED state. The last two test tests makes sure that the node boots and shutdowns correctly. Lastly, updated the docs file as well. --- src/primaite/main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/primaite/main.py b/src/primaite/main.py index 44938ed7..8d1e02f3 100644 --- a/src/primaite/main.py +++ b/src/primaite/main.py @@ -7,7 +7,6 @@ Coding Standards: PEP 8 import logging import os.path -import time from datetime import datetime import yaml