1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/libnetwork/drivers/macvlan
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
..
macvlan.go Add driver api enhancements for gossip 2016-04-18 19:55:39 -07:00
macvlan_endpoint.go Use osl.InitOSContext appropriately 2016-03-10 16:30:10 -08:00
macvlan_joinleave.go Use osl.InitOSContext appropriately 2016-03-10 16:30:10 -08:00
macvlan_network.go Add driver api enhancements for gossip 2016-04-18 19:55:39 -07:00
macvlan_setup.go Removed experimental drivers modprobe check 2016-03-11 17:00:36 -05:00
macvlan_setup_test.go Make macvlan and ipvlan drivers as experimental 2016-03-09 19:43:20 -05:00
macvlan_state.go Make macvlan and ipvlan drivers as experimental 2016-03-09 19:43:20 -05:00
macvlan_store.go Remove kvstore deps from datastore package 2016-04-15 15:36:44 -07:00
macvlan_test.go Added macvlan and ipvlan drivers 2016-03-02 06:22:36 -05:00