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.
This commit is contained in:
Brian Kanyora
2023-06-06 11:03:43 +01:00
parent 8b61fbebe4
commit e52dfababc

View File

@@ -7,7 +7,6 @@ Coding Standards: PEP 8
import logging
import os.path
import time
from datetime import datetime
import yaml