Moving streams
This MR adds move
and follow
configuration options for the policy-endpoint.lua
script:
- move: If true, listens for
target.node
metadata key, and moves associated endpoints to the new target (destroys current link and creates a new one using the new target) - follow: If true, listens for default endpoint metadata key changes, and moves all endpoints that were using the previous default endpoint to the newly changed default endpoint.