Remove deprecated host-discovery and overlay networks with external k/v#42247
Remove deprecated host-discovery and overlay networks with external k/v#42247thaJeztah merged 15 commits intomoby:masterfrom
Conversation
f2c836b to
2f6b9fc
Compare
|
Two tests failing that could be related |
430a285 to
5a3e155
Compare
This part looks fishy; did I mess up a copy/paste? |
ac28201 to
6b739e4
Compare
498e593 to
103c0d8
Compare
103c0d8 to
adf76de
Compare
bd33afa to
1b19325
Compare
I think you meant |
1b19325 to
2e96e81
Compare
| LocalScope = "local" | ||
| // GlobalScope indicates to store the KV object in global datastore such as etcd | ||
| // GlobalScope indicates to store the KV object in global datastore | ||
| GlobalScope = "global" |
There was a problem hiding this comment.
Possibly, this const (and its use) can also be removed, but leaving that for a separate PR (as it's used in quite some places)
|
|
||
| func registerKVStores() { | ||
| etcd.Register() | ||
| boltdb.Register() |
There was a problem hiding this comment.
Also need to check if this store is actually used (I thought it was, because I know libnetwork uses boltdb for some things), but not sure if this code is actually used for that.
2e96e81 to
574dc56
Compare
574dc56 to
998bc96
Compare
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Use unique names to prevent tests from interfering, using a shorter name, as there's a maximum length for these. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Anca Iordache <anca.iordache@docker.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Based on randomLocalStore() in libnetwork/ipam/allocator_test.go Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
998bc96 to
7b692a4
Compare
| if [ "$nip" != "" ]; then | ||
| neighbors=${nip} | ||
| fi | ||
|
|
||
| discovery="" | ||
| provider="" | ||
| address="" |
There was a problem hiding this comment.
This indentation is technically "wrong" now, but IMO it's not important enough to put this through CI/edits again (maybe something someone can fix as a separate PR).
There was a problem hiding this comment.
oh, yeah, quite likely; I mostly tried to make my "remote X" commits clear on what I was removing, which I why I removed the bits that were related, but I think none of these are used anymore, so we likely can just remove everything here. now (I'll keep that for a follow-up)
|
okay, i'm gonna "YOLO" and bring this one in 🙈, then look at the follow-up rebasing to make the Thanks for reviewing!! ❤️ |
closes #40383
currently vendoring libnetwork changes from moby/libnetwork#2521- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)