-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Ubnt serial and SSID detection #657
Conversation
Show SSID names instead of radio ifname on GLPI UI and fix Serial getting on UniFi AP series.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for your contribution. It seems interesting for UBnT support.
Can you check my comments and change your code accordingly ?
It would be nice if you can also provide a full snmpwalk in the expected format for testing.
Co-authored-by: Guillaume Bougard <gbougard@teclib.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for the changes.
I still see few things to update.
So can you check my comments ? One is just a question you must clarify.
Also can you provide the snmpwalk I requested so I can include it in our private tests and validate this PR works as expected ?
Co-authored-by: Guillaume Bougard <gbougard@teclib.com>
Here's the snmpwalk output as you requested: Some Radios will not be reported with their respective names (will still be shown as "raX" or "raiX") as there's some Radios which are used internally for Mesh and Discovery, so there's no SSID associated to them, but user created SSID will report their names as expected. There also seems that Ubiquiti reports those Edit: I was wrong about |
Co-authored-by: Guillaume Bougard <gbougard@teclib.com>
Co-authored-by: Guillaume Bougard <gbougard@teclib.com>
I removed the whitespaces and replaced the default iftype so the Radio interfaces are reported as WiFi as discussed in glpi-project/glpi#16981 so the sysadmin could provide related to those radios, like "Wifi protocol version" and "Wifi mode", and also associate a "Wifi network". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, I missed few needed checks yesterday. Nothing really critical, but this is just to make your code perfect.
Another point, packaging building is failing and I've included fixes in develop branch. Can you rebase your branch to include that GH Actions fixes ?
Co-authored-by: Guillaume Bougard <gbougard@teclib.com>
Co-authored-by: Guillaume Bougard <gbougard@teclib.com>
Hello, I've applied your changes and tested them on production, they seem to be working fine. Also rebase my repo. |
Show SSID names instead of radio ifname on GLPI UI and fix Serial getting on UniFi AP series.