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/bridge
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
..
bridge.go Add driver api enhancements for gossip 2016-04-18 19:55:39 -07:00
bridge_store.go Remove kvstore deps from datastore package 2016-04-15 15:36:44 -07:00
bridge_test.go Add driver api enhancements for gossip 2016-04-18 19:55:39 -07:00
errors.go Flip the default for the flag AllowNonDefaultBridge in bridge driver 2015-09-24 02:18:35 -07:00
interface.go Check if present before programming IPv6 in bridge 2016-01-07 09:37:57 -08:00
interface_test.go Move test specific functions to a testutils package. 2015-09-07 13:33:28 -04:00
labels.go Miscellaneous fixes 2016-03-08 15:49:47 -08:00
link.go Seperates the driver-specific and network-specific iptable operations 2015-08-04 17:26:41 -04:00
link_test.go Use gofmt with -s instead of goimports 2016-02-12 14:07:00 +01:00
netlink_deprecated_linux.go Reorganize MAC generation functions 2015-07-30 11:06:16 -07:00
netlink_deprecated_linux_armppc64.go Adding ppc64le build tag to compile on IBM Power 2015-08-27 04:18:34 +00:00
netlink_deprecated_linux_notarm.go Adding ppc64le build tag to compile on IBM Power 2015-08-27 04:18:34 +00:00
netlink_deprecated_unsupported.go Remove dependency on libcontainer 2015-07-16 13:26:26 -07:00
network_test.go Add driver api enhancements for gossip 2016-04-18 19:55:39 -07:00
port_mapping.go Move exposed ports from Endpoint to Sandbox 2016-03-06 09:31:26 -08:00
port_mapping_test.go Add driver api enhancements for gossip 2016-04-18 19:55:39 -07:00
resolvconf.go Move bridge to drivers/ 2015-02-24 11:29:06 -08:00
resolvconf_test.go Test coverage on bridge 2015-02-24 18:41:17 -08:00
setup.go Support network options in rest api 2015-05-23 20:12:29 -07:00
setup_bridgenetfiltering.go Replaced reference to dockerinit by dockerenv for func isRunningInContainer() 2015-12-12 13:23:40 +04:00
setup_bridgenetfiltering_test.go Refactor of docker PR #11405 2015-07-08 10:15:08 -04:00
setup_device.go Fixed a few more issues observed during docker integration 2015-09-25 09:40:42 -07:00
setup_device_test.go Fixed a few more issues observed during docker integration 2015-09-25 09:40:42 -07:00
setup_firewalld.go Seperates the driver-specific and network-specific iptable operations 2015-08-04 17:26:41 -04:00
setup_ip_forwarding.go modify /proc/sys only if needed 2015-08-05 13:46:28 +02:00
setup_ip_forwarding_test.go Remove unused config check 2015-08-04 01:04:11 +02:00
setup_ip_tables.go Merge pull request #670 from aboch/it 2016-03-15 12:39:15 -07:00
setup_ip_tables_test.go Change isolation rules for multiple bridge networks 2015-12-23 15:45:27 -08:00
setup_ipv4.go Phase-2 bridge driver changes to support IPAM 2015-10-08 16:22:03 -07:00
setup_ipv4_test.go Phase-2 bridge driver changes to support IPAM 2015-10-08 16:22:03 -07:00
setup_ipv6.go Check if present before programming IPv6 in bridge 2016-01-07 09:37:57 -08:00
setup_ipv6_test.go Phase-2 bridge driver changes to support IPAM 2015-10-08 16:22:03 -07:00
setup_verify.go Check if present before programming IPv6 in bridge 2016-01-07 09:37:57 -08:00
setup_verify_test.go Move test specific functions to a testutils package. 2015-09-07 13:33:28 -04:00