-
Notifications
You must be signed in to change notification settings - Fork 99
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
[monitoring] Allow collecting ARP table information in DeviceData.data #34
Comments
@nemesisdesign I'm close to finishing ARP table data collection. What kind of tests are appropriate to include? As I understand, JSON-schema validates the data received from the device but the validation is very simple (e.g. it does not check if the string received in the |
@PabloCastellano it should be possible to specify that it should be an ip, don't worry about it now, let's do a few iterations |
…penwisp#34 * Enable json schema format checker Closes openwisp#34
…penwisp#34 * Enable json schema format checker Closes openwisp#34
…penwisp#34 * Enable json schema format checker Closes openwisp#34
* Enable json schema format checker Closes #34
…penwisp#34 * Enable json schema format checker Closes openwisp#34
Like #33, but with ARP table information.
Incoming ARP table data:
The schema in
openwisp_monitoring.device.schema
will have to be updated accordingly.Once the data is saved and validated correctly (a few tests will need to ensure bogus arp info will be rejected) we will have to ensure the arp table info is shown in the device status tab (type, flags and mask can be ignored for the moment):
https://github.com/openwisp/openwisp-monitoring/blob/master/openwisp_monitoring/device/templates/admin/config/device/change_form.html#L66-L124
If the arp table info is not available, do not mention this in the admin UI.
Will need openwisp/openwrt-openwisp-monitoring#3 to be implemented in order to send the ARP information from the device.
The text was updated successfully, but these errors were encountered: