moby--moby/daemon/cluster
Yong Tang cafed80cd0 Update `FindUniqueNetwork` to address network name duplications
This fix is part of the effort to address 30242 where
issue arise because of the fact that multiple networks
may share the same name (within or across local/swarm scopes).

The focus of this fix is to allow creation of service
when a network in local scope has the same name as the
service network.

An integration test has been added.

This fix fixes 30242.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2018-01-06 01:55:28 +00:00
..
controllers/plugin Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
convert Added support for swarm service isolation mode 2017-10-30 16:16:18 +01:00
executor Update `FindUniqueNetwork` to address network name duplications 2018-01-06 01:55:28 +00:00
provider Add engine-api types to docker 2016-09-07 11:05:58 -07:00
cluster.go Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
configs.go Add config APIs 2017-05-11 10:08:21 -07:00
errors.go "docker swarm init --force-new-cluster" use limit 2017-09-26 12:05:19 +08:00
filters.go Make plugin emit strongly typed, consumable events 2017-07-06 14:26:06 -04:00
filters_test.go arg filt 2017-05-19 13:47:32 +08:00
helpers.go Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
listen_addr.go Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
listen_addr_linux.go Remove Solaris files 2017-12-18 17:22:25 +01:00
listen_addr_others.go Remove solaris build tag and `contrib/mkimage/solaris 2017-11-02 00:01:46 +00:00
networks.go Update `FindUniqueNetwork` to address network name duplications 2018-01-06 01:55:28 +00:00
noderunner.go Cancelation errors should not be logged 2017-11-14 20:32:20 -05:00
nodes.go Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
secrets.go use make slice to store objects to improve efficiency 2017-04-14 11:02:28 +08:00
services.go Replace uses of filters.Include() with filters.Contains() 2017-09-26 13:39:56 +02:00
swarm.go Validate/sanitize swarmkit spec name. 2017-12-06 11:55:04 -08:00
tasks.go Replace uses of filters.ToParam(), FromParam() with filters.ToJSON(), FromJSON() 2017-09-26 13:59:45 +02:00
utils.go Rather than remove the swarm directory and re-create, remove the swarm subdirs 2017-03-01 11:56:39 -08:00