moby--moby/libnetwork/drivers/overlay
Jana Radhakrishnan 6fb69f0816 Add driver api enhancements for gossip
With the introduction of a driver generic gossip in libnetwork it is not
necessary for drivers to run their own gossip protocol (like what
overlay driver is doing currently) but instead rely on the gossip
instance run centrally in libnetwork. In order to achieve this, certain
enhancements to driver api are needed. This api aims to provide these
enhancements.

The new api provides a way for drivers to register interest on table
names of their choice by returning a list of table names of interest as
a response to CreateNetwork. By doing that they will get notified if a
CRUD operation happened on the tables of their interest, via the newly
added EventNotify call.

Drivers themselves can add entries to any table during a Join call by
invoking AddTableEntry method any number of times during the Join
call. These entries lifetime is the same as the endpoint itself. As soon
as the container leaves the endpoint, those entries added by driver
during that endpoint's Join call will be automatically removed by
libnetwork. This action may trigger notification of such deletion to all
driver instances in the cluster who have registered interest in that
table's notification.

Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
2016-04-18 19:55:39 -07:00
..
ovmanager Add driver api enhancements for gossip 2016-04-18 19:55:39 -07:00
filter.go Overlay driver to check for chain presence 2016-04-13 10:47:42 -07:00
joinleave.go Handle endpoint & network object in notifyEvent avoiding id lookup 2016-03-29 11:19:23 -07:00
ov_endpoint.go Delete the interface on endpoint delete in overlay 2016-01-29 16:04:14 -08:00
ov_network.go Add driver api enhancements for gossip 2016-04-18 19:55:39 -07:00
ov_serf.go Handle endpoint & network object in notifyEvent avoiding id lookup 2016-03-29 11:19:23 -07:00
ov_utils.go Check existence of network chain before creating 2015-12-22 11:22:03 -08:00
overlay.go Handle endpoint & network object in notifyEvent avoiding id lookup 2016-03-29 11:19:23 -07:00
overlay_test.go Handle datastore update in Ipam and overlay drivers 2016-02-16 13:49:49 -08:00
peerdb.go Fix mutex copy 2015-12-07 14:20:13 -08:00