Fix a crash when missing rack id #172

Merged
cyrinux merged 6 commits from fix_a_crash into master 2021-07-20 21:55:47 +02:00

6 commits

Author SHA1 Message Date
Cyril Levis
579482218f
Remove useless check 2021-07-16 09:07:23 +02:00
Cyrinux
225286ed46
Update netbox_agent/server.py
Co-authored-by: Guillaume Gelin <contact@ramnes.eu>
2021-07-09 12:14:49 +02:00
Cyril Levis
bac3350023
Line too long. 2021-07-09 12:12:00 +02:00
Cyril Levis
ba66b3a7d0
Fix a crash 2021-07-09 12:11:59 +02:00
Cyril Levis
3e82ffe2cb
Truncate GPU product name to 50 characteres.
Example: Hi1710 [iBMC Intelligent Management system chip w/VGA support]
This product is too long, the api want max_length = 50 ...
2021-07-09 12:11:54 +02:00
Cyril Levis
d212920d85
Check if lldpctl present, and log debug if no lldpctl output. 2021-07-09 12:09:25 +02:00