<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/docker.git/libnetwork/ipamapi, 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>libnetwork: drop DatastoreConfig discovery type</title>
<updated>2023-01-27T16:47:43+00:00</updated>
<author>
<name>Cory Snider</name>
<email>csnider@mirantis.com</email>
</author>
<published>2023-01-24T23:49:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/docker.git/commit/?id=a08a254df38840be8f6b561c91d98cf8acf8d82e'/>
<id>a08a254df38840be8f6b561c91d98cf8acf8d82e</id>
<content type='text'>
The DatastoreConfig discovery type is unused. Remove the constant and
any resulting dead code. Today's biggest loser is the IPAM Allocator:
DatastoreConfig was the only type of discovery event it was listening
for, and there was no other place where a non-nil datastore could be
passed into the allocator. Strip out all the dead persistence code from
Allocator, leaving it as purely an in-memory implementation.

There is no more need to check the consistency of the allocator's
bit-sequences as there is no persistent storage for inconsistent bit
sequences to be loaded from.

Signed-off-by: Cory Snider &lt;csnider@mirantis.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The DatastoreConfig discovery type is unused. Remove the constant and
any resulting dead code. Today's biggest loser is the IPAM Allocator:
DatastoreConfig was the only type of discovery event it was listening
for, and there was no other place where a non-nil datastore could be
passed into the allocator. Strip out all the dead persistence code from
Allocator, leaving it as purely an in-memory implementation.

There is no more need to check the consistency of the allocator's
bit-sequences as there is no persistent storage for inconsistent bit
sequences to be loaded from.

Signed-off-by: Cory Snider &lt;csnider@mirantis.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libnet: un-plumb datastores from IPAM inits</title>
<updated>2023-01-27T16:47:42+00:00</updated>
<author>
<name>Cory Snider</name>
<email>csnider@mirantis.com</email>
</author>
<published>2023-01-24T19:26:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/docker.git/commit/?id=d478e13639980aba8af3a25cb9cbfefb19eaf1f9'/>
<id>d478e13639980aba8af3a25cb9cbfefb19eaf1f9</id>
<content type='text'>
The datastore arguments to the IPAM driver Init() functions are always
nil, even in Swarmkit. The only IPAM driver which consumed the
datastores was builtin; all others (null, remote, windowsipam) simply
ignored it. As the signatures of the IPAM driver init functions cannot
be changed without breaking the Swarmkit build, they have to be left
with the same signatures for the time being. Assert that nil datastores
are always passed into the builtin IPAM driver's init function so that
there is no ambiguity the datastores are no longer respected.

Add new Register functions for the IPAM drivers which are free from the
legacy baggage of the Init functions. (The legacy Init functions can be
removed once Swarmkit is migrated to using the Register functions.) As
the remote IPAM driver is the only one which depends on a PluginGetter,
pass it in explicitly as an argument to Register. The other IPAM drivers
should not be forced to depend on a GetPluginGetter() method they do not
use (Interface Segregation Principle).

Signed-off-by: Cory Snider &lt;csnider@mirantis.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The datastore arguments to the IPAM driver Init() functions are always
nil, even in Swarmkit. The only IPAM driver which consumed the
datastores was builtin; all others (null, remote, windowsipam) simply
ignored it. As the signatures of the IPAM driver init functions cannot
be changed without breaking the Swarmkit build, they have to be left
with the same signatures for the time being. Assert that nil datastores
are always passed into the builtin IPAM driver's init function so that
there is no ambiguity the datastores are no longer respected.

Add new Register functions for the IPAM drivers which are free from the
legacy baggage of the Init functions. (The legacy Init functions can be
removed once Swarmkit is migrated to using the Register functions.) As
the remote IPAM driver is the only one which depends on a PluginGetter,
pass it in explicitly as an argument to Register. The other IPAM drivers
should not be forced to depend on a GetPluginGetter() method they do not
use (Interface Segregation Principle).

Signed-off-by: Cory Snider &lt;csnider@mirantis.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libnetwork/ipamapi: godoc fixes</title>
<updated>2021-08-27T14:52:46+00:00</updated>
<author>
<name>Sebastiaan van Stijn</name>
<email>github@gone.nl</email>
</author>
<published>2021-08-26T08:10:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/docker.git/commit/?id=c23eae311470c831228bcb4749f176a21174c807'/>
<id>c23eae311470c831228bcb4749f176a21174c807</id>
<content type='text'>
Signed-off-by: Sebastiaan van Stijn &lt;github@gone.nl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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>Adding a unit case to verify rollover</title>
<updated>2017-10-03T19:15:34+00:00</updated>
<author>
<name>Abhinandan Prativadi</name>
<email>abhi@docker.com</email>
</author>
<published>2017-06-01T02:41:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/docker.git/commit/?id=3d4497599543a1314318565ebd9b27e9c0f7d6b1'/>
<id>3d4497599543a1314318565ebd9b27e9c0f7d6b1</id>
<content type='text'>
Signed-off-by: Abhinandan Prativadi &lt;abhi@docker.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Abhinandan Prativadi &lt;abhi@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>Update plugingetter import path.</title>
<updated>2016-10-07T19:00:57+00:00</updated>
<author>
<name>Anusha Ragunathan</name>
<email>anusha@docker.com</email>
</author>
<published>2016-10-07T18:58:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/docker.git/commit/?id=5c77ba43e26aa9523cf5c2335466d6da6f364185'/>
<id>5c77ba43e26aa9523cf5c2335466d6da6f364185</id>
<content type='text'>
Signed-off-by: Anusha Ragunathan &lt;anusha@docker.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Anusha Ragunathan &lt;anusha@docker.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Make libnetwork understand pluginv2.</title>
<updated>2016-09-27T22:29:10+00:00</updated>
<author>
<name>Anusha Ragunathan</name>
<email>anusha@docker.com</email>
</author>
<published>2016-09-27T20:54:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/docker.git/commit/?id=003e04775b1a937e2cfb1f0c25c6406141e3a14b'/>
<id>003e04775b1a937e2cfb1f0c25c6406141e3a14b</id>
<content type='text'>
As part of daemon init, network and ipam drivers are passed a
pluginstore object that implements the plugin/getter interface. Use this
interface methods in libnetwork to interact with network plugins. This
interface provides the new and improved pluginv2 functionality and falls
back to pluginv1 (legacy) if necessary.

Signed-off-by: Anusha Ragunathan &lt;anusha@docker.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As part of daemon init, network and ipam drivers are passed a
pluginstore object that implements the plugin/getter interface. Use this
interface methods in libnetwork to interact with network plugins. This
interface provides the new and improved pluginv2 functionality and falls
back to pluginv1 (legacy) if necessary.

Signed-off-by: Anusha Ragunathan &lt;anusha@docker.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1205 from allencloud/fix-typos</title>
<updated>2016-08-01T16:49:31+00:00</updated>
<author>
<name>Jana Radhakrishnan</name>
<email>mrjana@docker.com</email>
</author>
<published>2016-08-01T16:49:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/docker.git/commit/?id=8a225de00dc95bca0c967ed3467763a667eebe61'/>
<id>8a225de00dc95bca0c967ed3467763a667eebe61</id>
<content type='text'>
use grep to find a/an misuse</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
use grep to find a/an misuse</pre>
</div>
</content>
</entry>
</feed>
