helium / helium-packet-router

Apache License 2.0
8 stars 8 forks source link

sync routes #303

Closed michaeldjeffrey closed 2 months ago

michaeldjeffrey commented 3 months ago

Added Commands

hpr config route sync [--oui=<oui>] Fetches All Routes for all Orgs (unless otherwise specified). New Routes are run through hpr config route refresh. Leftover Routes are deleted.

hpr config route remove <route_id> Deletes a Route the same way a Delete event from the Config Service would.


If a Route is deleted and an SKF Add comes through the regular event stream, the Route may be recreated before you expect. In this case, syncing will not update the route with new information. But a route refresh will.