cablelabs / lpwanserver

LPWAN Provisioning & Management Server
https://lpwanserver.com
Apache License 2.0
37 stars 11 forks source link

Pull from remote network. #8

Closed dmalas closed 6 years ago

dmalas commented 6 years ago

Pull company/application/device definitions from a remote network so we can add a new network and then import their data.

JimCAtSentosa commented 6 years ago

When creating new applications/devices/deviceProfiles from a remote network, use the remote network's description field (if available) to populate our new description field (issue to be entered). If we already have the application/device/deviceProfile in question, do NOT take the remote network's description field (reason below).

After PULL completes, a PUSH should happen to make sure newly loaded data is propagated to other networks, at least of that same networkType.

The PUSH (or for that matter, any create or update to a remote network) should set the remote description (name field in a pinch, depending on what the network supports) to be or include something like, ***Managed by LPWAN Server, modify via LPWAN interface only***, or some such language. (This is why we don't take the field on an update - otherwise we'd have this in the LPWAN description - very confusing to the user.)

This is intended to at least warn people that modifying the data we also have in LPWAN Server would likely mess stuff up for them.