Initial backup commit

This commit is contained in:
root
2025-12-25 09:43:54 -08:00
commit c0543ca125
3 changed files with 176 additions and 0 deletions

13
test.py Normal file
View File

@@ -0,0 +1,13 @@
from routeros_api import RouterOsApiPool
api_pool = RouterOsApiPool(
"10.10.10.1",
username="fail2ban",
password="password",
port=8728,
plaintext_login=True
)
api = api_pool.get_api()
print("API LOGIN OK")
api_pool.disconnect()