You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a device has last_ip having no WHOIS record, then the WHOIS record should be created and a new location should be created for the device. The location must be updated with latest coordinates when last_ip of device is updated.
When a device (A) has last_ip, which has WHOIS record, then the location of existing device (B) of same ip should be attached to device A, if:
A either has no location or A's location is estimated. If either fails, then location should be created/updated using coordinates from WHOIS record
there is only one existing device with location. In case there are multiple devices with same last_ip and they have locations then a notification must be sent to user notifying them for the same and asking them to resolve this manually.
In case A has a location which is estimated then it should be deleted before attaching an already existing location.
If two devices A and B have same last_ip which implies they are attached to same location then if either device updates their last_ip (suppose A does) then A should have a new location created with the coordinates for the latest last_ip.
is_fuzzyfield (or anything similar) to location modelScenarios to handle:
In case A has a location which is estimated then it should be deleted before attaching an already existing location.