<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/docker.git/libnetwork/drivers/null, branch master</title>
<subtitle>github.com: dotcloud/docker.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/docker.git/'/>
<entry>
<title>libnet: convert to new-style driver registration</title>
<updated>2023-01-27T16:47:42+00:00</updated>
<author>
<name>Cory Snider</name>
<email>csnider@mirantis.com</email>
</author>
<published>2023-01-24T23:19:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/docker.git/commit/?id=28edc8e2d692cb47f1ec6bb32a6e346777e1250d'/>
<id>28edc8e2d692cb47f1ec6bb32a6e346777e1250d</id>
<content type='text'>
Per the Interface Segregation Principle, network drivers should not have
to depend on GetPluginGetter methods they do not use. The remote network
driver is the only one which needs a PluginGetter, and it is already
special-cased in Controller so there is no sense warping the interfaces
to achieve a foolish consistency. Replace all other network drivers' Init
functions with Register functions which take a driverapi.Registerer
argument instead of a driverapi.DriverCallback. Add back in Init wrapper
functions for only the drivers which Swarmkit references so that
Swarmkit can continue to build.

Refactor the libnetwork Controller to use the new drvregistry.Networks
and drvregistry.IPAMs driver registries in place of the legacy ones.

Signed-off-by: Cory Snider &lt;csnider@mirantis.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Per the Interface Segregation Principle, network drivers should not have
to depend on GetPluginGetter methods they do not use. The remote network
driver is the only one which needs a PluginGetter, and it is already
special-cased in Controller so there is no sense warping the interfaces
to achieve a foolish consistency. Replace all other network drivers' Init
functions with Register functions which take a driverapi.Registerer
argument instead of a driverapi.DriverCallback. Add back in Init wrapper
functions for only the drivers which Swarmkit references so that
Swarmkit can continue to build.

Refactor the libnetwork Controller to use the new drvregistry.Networks
and drvregistry.IPAMs driver registries in place of the legacy ones.

Signed-off-by: Cory Snider &lt;csnider@mirantis.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libnetwork: remove unused "testutils" imports</title>
<updated>2021-08-18T12:20:37+00:00</updated>
<author>
<name>Sebastiaan van Stijn</name>
<email>github@gone.nl</email>
</author>
<published>2021-08-18T12:17:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/docker.git/commit/?id=427ad30c0545c1fc5e9448b6f9a12ef255e03f8d'/>
<id>427ad30c0545c1fc5e9448b6f9a12ef255e03f8d</id>
<content type='text'>
Perhaps the testutils package in the past had an `init()` function to set up
specific things, but it no longer has. so these imports were doing nothing.

Signed-off-by: Sebastiaan van Stijn &lt;github@gone.nl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Perhaps the testutils package in the past had an `init()` function to set up
specific things, but it no longer has. so these imports were doing nothing.

Signed-off-by: Sebastiaan van Stijn &lt;github@gone.nl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixup libnetwork lint errors</title>
<updated>2021-06-01T23:48:32+00:00</updated>
<author>
<name>Brian Goff</name>
<email>cpuguy83@gmail.com</email>
</author>
<published>2021-05-28T00:15:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/docker.git/commit/?id=4b981436fe26724883cee71c15f218993ab53c5b'/>
<id>4b981436fe26724883cee71c15f218993ab53c5b</id>
<content type='text'>
Signed-off-by: Brian Goff &lt;cpuguy83@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Brian Goff &lt;cpuguy83@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix libnetwork imports</title>
<updated>2021-06-01T21:51:23+00:00</updated>
<author>
<name>Brian Goff</name>
<email>cpuguy83@gmail.com</email>
</author>
<published>2021-04-06T00:24:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/docker.git/commit/?id=a0a473125bad04b66042aaafb331243dfd2d77f9'/>
<id>a0a473125bad04b66042aaafb331243dfd2d77f9</id>
<content type='text'>
After moving libnetwork to this repo, we need to update all the import
paths for libnetwork to point to docker/docker/libnetwork instead of
docker/libnetwork.
This change implements that.

Signed-off-by: Brian Goff &lt;cpuguy83@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After moving libnetwork to this repo, we need to update all the import
paths for libnetwork to point to docker/docker/libnetwork instead of
docker/libnetwork.
This change implements that.

Signed-off-by: Brian Goff &lt;cpuguy83@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>swarm mode network inspect should provide cluser-wide task details</title>
<updated>2017-03-11T03:12:00+00:00</updated>
<author>
<name>Santhosh Manohar</name>
<email>santhosh@docker.com</email>
</author>
<published>2017-03-02T07:57:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/docker.git/commit/?id=bfab379411e8c821481d109627c21327b0d8b357'/>
<id>bfab379411e8c821481d109627c21327b0d8b357</id>
<content type='text'>
Signed-off-by: Santhosh Manohar &lt;santhosh@docker.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Santhosh Manohar &lt;santhosh@docker.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Internal interface to differentiate built-in drivers from remote</title>
<updated>2016-12-19T13:17:42+00:00</updated>
<author>
<name>Madhu Venugopal</name>
<email>madhu@docker.com</email>
</author>
<published>2016-12-19T03:56:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/docker.git/commit/?id=1b28c5e01d1cab44672899382ea145878490e796'/>
<id>1b28c5e01d1cab44672899382ea145878490e796</id>
<content type='text'>
Signed-off-by: Madhu Venugopal &lt;madhu@docker.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Madhu Venugopal &lt;madhu@docker.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add driver api enhancements for gossip</title>
<updated>2016-04-19T02:55:39+00:00</updated>
<author>
<name>Jana Radhakrishnan</name>
<email>mrjana@docker.com</email>
</author>
<published>2016-04-19T02:55:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/docker.git/commit/?id=6fb69f0816bfb08733bc3336453c4903c58f6700'/>
<id>6fb69f0816bfb08733bc3336453c4903c58f6700</id>
<content type='text'>
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 &lt;mrjana@docker.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;mrjana@docker.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add overlay manager driver</title>
<updated>2016-04-14T17:37:42+00:00</updated>
<author>
<name>Jana Radhakrishnan</name>
<email>mrjana@docker.com</email>
</author>
<published>2016-02-26T19:54:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/docker.git/commit/?id=c0162f53a611f004ec0b9048f6f7a99d43924aee'/>
<id>c0162f53a611f004ec0b9048f6f7a99d43924aee</id>
<content type='text'>
Because overlay is a builtin driver and global allocation of overlay
resources is probably going to happen in a different node (a single
node) and the actual plumbing of the network is probably going to happen
in all nodes, it makes sense to split the functionality of allocation
into two different packages. The central component(this package) only
implements the NetworkAllocate/Free apis while the distributed
component(the existing overlay driver) implements the rest of the driver
api. This way we can reduce the memory footprint overall.

Signed-off-by: Jana Radhakrishnan &lt;mrjana@docker.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because overlay is a builtin driver and global allocation of overlay
resources is probably going to happen in a different node (a single
node) and the actual plumbing of the network is probably going to happen
in all nodes, it makes sense to split the functionality of allocation
into two different packages. The central component(this package) only
implements the NetworkAllocate/Free apis while the distributed
component(the existing overlay driver) implements the rest of the driver
api. This way we can reduce the memory footprint overall.

Signed-off-by: Jana Radhakrishnan &lt;mrjana@docker.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add NetworkAllocate/Free to driver api</title>
<updated>2016-04-11T23:38:22+00:00</updated>
<author>
<name>Jana Radhakrishnan</name>
<email>mrjana@docker.com</email>
</author>
<published>2016-02-26T19:53:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/docker.git/commit/?id=b6d5c12ea2d33aff3e2f5b4bf5b7e373568e940e'/>
<id>b6d5c12ea2d33aff3e2f5b4bf5b7e373568e940e</id>
<content type='text'>
Added NetworkAllocate and NetworkFree apis to the list of
driver apis. The intention of the api is to provide a
centralized way of allocating and freeing network resources
for a network which is cross-host.

Signed-off-by: Jana Radhakrishnan &lt;mrjana@docker.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added NetworkAllocate and NetworkFree apis to the list of
driver apis. The intention of the api is to provide a
centralized way of allocating and freeing network resources
for a network which is cross-host.

Signed-off-by: Jana Radhakrishnan &lt;mrjana@docker.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Move exposed ports from Endpoint to Sandbox</title>
<updated>2016-03-06T17:31:26+00:00</updated>
<author>
<name>Alessandro Boch</name>
<email>aboch@docker.com</email>
</author>
<published>2015-12-07T22:45:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/docker.git/commit/?id=1638fbdf279b1646ee0d50387b3ed291bbc3ac45'/>
<id>1638fbdf279b1646ee0d50387b3ed291bbc3ac45</id>
<content type='text'>
Signed-off-by: Alessandro Boch &lt;aboch@docker.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alessandro Boch &lt;aboch@docker.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
