open-horizon / anax

Horizon agent control system
https://open-horizon.github.io/docs/anax/docs/
Apache License 2.0
72 stars 99 forks source link

Add edge peer-to-peer support? #253

Open linggao opened 7 years ago

linggao commented 7 years ago

I think before we can implement p2p support in horizon, we have to understand the requirements from several apps, so we can start to see trends of what they need in general, not just do 1-offs.

Or maybe the answer to this is just use kube at the edge.

Or we could at least do this in anax:

  1. Test and document how to make anax run as both device and agbot on the same device.
  2. Give anax the ability to use local workload images
  3. Give a service the ability to add config to the local agbot to create an agreement with a peer edge node
bmpotter commented 7 years ago

Let's call this feature "local agbot", instead of devmode, because egan's view is that they can continue to use a local agbot even when it is making agreements with other devices, if they want.

Also, using local workload images shouldn't be tied to a local agbot. It should be based on the new downloadUrl field in the workload definition that is part of the ms/workload split.