plugins/pkg/ip
Prateek Gogia ad8a052dd3 pkg/ip: Return correct error if container name provided exists, and test cases
If interface name for a container provided by a user is already present,
Veth creation fails with incorrect error.
If os.IsExist error is returned by makeVethPair:
* Check for peer name, if exists generate another random peer name,
* else, IsExist error is due to container interface present, return error.

Fixes #155
2016-08-11 18:51:03 +00:00
..
cidr.go Change copyright from CoreOS to CNI authors 2015-09-29 11:51:33 -07:00
ip_suite_test.go pkg/ip tests: cover SetupVeth and DelLinkByName* 2016-07-22 15:34:53 -07:00
ipforward.go Change copyright from CoreOS to CNI authors 2015-09-29 11:51:33 -07:00
ipmasq.go *: add comment to iptables rules for ipmasq 2016-03-31 18:01:32 +02:00
link_test.go pkg/ip: Return correct error if container name provided exists, and test cases 2016-08-11 18:51:03 +00:00
link.go pkg/ip: Return correct error if container name provided exists, and test cases 2016-08-11 18:51:03 +00:00
route.go Change copyright from CoreOS to CNI authors 2015-09-29 11:51:33 -07:00