The change makes "weave expose" to call the "/expose" HTTP endpoint implemented in router which exposes the bridge. Such architectural change required as we need to know whether NPC is enabled when exposing the bridge and weaver knows this fact the best. Unfortunately, this change makes impossible to "weave expose" when weaver is not running.
Weave network driver extension for Docker and Kubernetes
This directory implements both a Docker plugin to integrate Weave Net with Docker, and a Container Network Interface (CNI) plugin, to integrate Weave Net with Kubernetes.
The Docker plugin runs automatically when you weave launch, provided your
Docker daemon is version 1.9 or newer.
More detail on the Docker plugin here.
More detail on the CNI plugin here.