This commit is contained in:
2026-02-06 14:49:01 +01:00
parent 3b70e1c5fb
commit 9149976db4
10 changed files with 302 additions and 40 deletions

View File

@@ -0,0 +1,17 @@
switch_name,ip_address,firmware_version
NET-SW01,10.220.1.84,PL.10.16.1006
NET-SW02,10.220.1.85,PL.10.16.1006
NET-SW01,10.220.1.84,PL.10.16.1006
NET-SW02,10.220.1.85,PL.10.16.1006
NET-SW04,10.220.1.86,PL.10.16.1006
NET-SW05,10.220.1.87,PL.10.16.1006
NET-SW06,10.220.1.88,PL.10.16.1006
NET-SW01-CORE,10.220.1.89,LL.10.16.1006
NET-SW07,10.220.1.90,PL.10.16.1006
NET-SW08,10.220.1.91,PL.10.16.1006
NET-SW09,10.220.1.92,PL.10.16.1006
NET-SW10,10.220.1.93,PL.10.16.1006
NET-SW11,10.220.1.94,PL.10.16.1006
NET-SW13,10.220.1.96,PL.10.16.1006
NET-SW16,10.220.1.98,PL.10.16.1006
N/A,10.220.1.99,Auth Failed
1 switch_name ip_address firmware_version
2 NET-SW01 10.220.1.84 PL.10.16.1006
3 NET-SW02 10.220.1.85 PL.10.16.1006
4 NET-SW01 10.220.1.84 PL.10.16.1006
5 NET-SW02 10.220.1.85 PL.10.16.1006
6 NET-SW04 10.220.1.86 PL.10.16.1006
7 NET-SW05 10.220.1.87 PL.10.16.1006
8 NET-SW06 10.220.1.88 PL.10.16.1006
9 NET-SW01-CORE 10.220.1.89 LL.10.16.1006
10 NET-SW07 10.220.1.90 PL.10.16.1006
11 NET-SW08 10.220.1.91 PL.10.16.1006
12 NET-SW09 10.220.1.92 PL.10.16.1006
13 NET-SW10 10.220.1.93 PL.10.16.1006
14 NET-SW11 10.220.1.94 PL.10.16.1006
15 NET-SW13 10.220.1.96 PL.10.16.1006
16 NET-SW16 10.220.1.98 PL.10.16.1006
17 N/A 10.220.1.99 Auth Failed

View File

@@ -0,0 +1,17 @@
switch_name,ip_address,firmware_version
NET-SW01,10.220.1.84,PL.10.16.1006
NET-SW02,10.220.1.85,PL.10.16.1006
NET-SW01,10.220.1.84,PL.10.16.1006
NET-SW02,10.220.1.85,PL.10.16.1006
NET-SW04,10.220.1.86,PL.10.16.1006
NET-SW05,10.220.1.87,PL.10.16.1006
NET-SW06,10.220.1.88,PL.10.16.1006
NET-SW01-CORE,10.220.1.89,LL.10.16.1006
NET-SW07,10.220.1.90,PL.10.16.1006
NET-SW08,10.220.1.91,PL.10.16.1006
NET-SW09,10.220.1.92,PL.10.16.1006
NET-SW10,10.220.1.93,PL.10.16.1006
NET-SW11,10.220.1.94,PL.10.16.1006
NET-SW13,10.220.1.96,PL.10.16.1006
NET-SW16,10.220.1.98,PL.10.16.1006
N/A,10.220.1.99,Auth Failed
1 switch_name ip_address firmware_version
2 NET-SW01 10.220.1.84 PL.10.16.1006
3 NET-SW02 10.220.1.85 PL.10.16.1006
4 NET-SW01 10.220.1.84 PL.10.16.1006
5 NET-SW02 10.220.1.85 PL.10.16.1006
6 NET-SW04 10.220.1.86 PL.10.16.1006
7 NET-SW05 10.220.1.87 PL.10.16.1006
8 NET-SW06 10.220.1.88 PL.10.16.1006
9 NET-SW01-CORE 10.220.1.89 LL.10.16.1006
10 NET-SW07 10.220.1.90 PL.10.16.1006
11 NET-SW08 10.220.1.91 PL.10.16.1006
12 NET-SW09 10.220.1.92 PL.10.16.1006
13 NET-SW10 10.220.1.93 PL.10.16.1006
14 NET-SW11 10.220.1.94 PL.10.16.1006
15 NET-SW13 10.220.1.96 PL.10.16.1006
16 NET-SW16 10.220.1.98 PL.10.16.1006
17 N/A 10.220.1.99 Auth Failed

View File

@@ -1,19 +1,20 @@
{
"network": {
"subnet": "10.101.0.0/24",
"auto_detect": false
},
"scanning": {
"ping_timeout": 0.3,
"ping_delay": 0.001,
"max_threads": 10
},
"database": {
"devices_file": "known_devices.json"
},
"logging": {
"enabled": true,
"log_file": "network_scanner.log",
"log_level": "INFO"
}
}
"switch_ips": [
"10.220.1.84",
"10.220.1.85",
"10.220.1.86",
"10.220.1.87",
"10.220.1.88",
"10.220.1.89",
"10.220.1.90",
"10.220.1.91",
"10.220.1.92",
"10.220.1.93",
"10.220.1.94",
"10.220.1.96",
"10.220.1.98",
"10.220.1.99"
],
"username": "svc.operator",
"password": "NuAaGTNPQWyeneQLI5qr"
}

View File

@@ -101,7 +101,7 @@ if __name__ == "__main__":
PASSWORD = os.getenv('ARUBA_PASSWORD')
PASSWORD = os.getenv('ARUBA_PASSWORD', 'NuAaGTNPQWyeneQLI5qr')
if not PASSWORD:
print("Hiba: Az ARUBA_PASSWORD környezeti változó nincs beállítva.")
exit()