Skip to content

Commit

Permalink
major refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
KaSaNaa committed Dec 11, 2024
1 parent b837682 commit aef954f
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion utils/__init__.py → core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
from .snmp_manager import SNMPManager
from .database_manager import DatabaseManager
from .graph_manager import GraphManager
from .screen_utils import ScreenUtils
from .screen_utils import ScreenUtils
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion utils/snmp_manager.py → core/snmp_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from pysnmp.hlapi import CommunityData, UsmUserData, SnmpEngine, UdpTransportTarget, ContextData, ObjectType, ObjectIdentity, nextCmd, getCmd
from pysnmp.hlapi.auth import usmHMACMD5AuthProtocol, usmHMACSHAAuthProtocol
from pysnmp.hlapi import usmDESPrivProtocol, usm3DESEDEPrivProtocol, usmAesCfb128Protocol, usmAesCfb192Protocol, usmAesCfb256Protocol
from utils.misc import ensure_directory_exists
from core.utils import ensure_directory_exists

class SNMPManager:
def __init__(self, version, community=None, user=None, auth_key=None, priv_key=None, auth_protocol=None, priv_protocol=None):
Expand Down
2 changes: 1 addition & 1 deletion utils/tests/test_db.py → core/tests/test_db.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from utils.database_manager import DatabaseManager
from core.database_manager import DatabaseManager

def main_test():
db_manager = DatabaseManager()
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit aef954f

Please sign in to comment.