{"action":"created","comment":{"url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/pulls/comments/93444420","pull_request_review_id":13971845,"id":93444420,"diff_hunk":"@@ -1,44 +1,27 @@\n-package main\n+package default_environment\n \n import (\n-\t\"context\"\n \t\"fmt\"\n \t\"math/rand\"\n-\t\"os\"\n-\t\"os/exec\"\n \t\"regexp\"\n-\t\"strings\"\n-\t\"time\"\n \n-\tetcdclient \"github.com/coreos/etcd/client\"\n-\t\"github.com/docker/docker/api/types/network\"\n-\tdockerclient \"github.com/docker/docker/client\"\n \t. \"github.com/onsi/ginkgo\"\n \t. \"github.com/onsi/gomega\"\n \t. \"github.com/onsi/gomega/gbytes\"\n \t. \"github.com/onsi/gomega/gexec\"\n \tmathutils \"github.com/projectcalico/libnetwork-plugin/utils/math\"\n+\t. \"github.com/projectcalico/libnetwork-plugin/utils/test\"","path":"tests/default_environment/libnetwork_test.go","position":22,"original_position":22,"commit_id":"e0c816d685ca3e117f4d61528e670348d767a2d0","original_commit_id":"e0c816d685ca3e117f4d61528e670348d767a2d0","user":{"login":"robbrockbank","id":3227729,"avatar_url":"https://avatars.githubusercontent.com/u/3227729?v=3","gravatar_id":"","url":"https://api.github.com/users/robbrockbank","html_url":"https://github.com/robbrockbank","followers_url":"https://api.github.com/users/robbrockbank/followers","following_url":"https://api.github.com/users/robbrockbank/following{/other_user}","gists_url":"https://api.github.com/users/robbrockbank/gists{/gist_id}","starred_url":"https://api.github.com/users/robbrockbank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbrockbank/subscriptions","organizations_url":"https://api.github.com/users/robbrockbank/orgs","repos_url":"https://api.github.com/users/robbrockbank/repos","events_url":"https://api.github.com/users/robbrockbank/events{/privacy}","received_events_url":"https://api.github.com/users/robbrockbank/received_events","type":"User","site_admin":false},"body":"ditto","created_at":"2016-12-21T14:15:43Z","updated_at":"2016-12-21T14:15:43Z","html_url":"https://github.com/projectcalico/libnetwork-plugin/pull/124#discussion_r93444420","pull_request_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/pulls/124","_links":{"self":{"href":"https://api.github.com/repos/projectcalico/libnetwork-plugin/pulls/comments/93444420"},"html":{"href":"https://github.com/projectcalico/libnetwork-plugin/pull/124#discussion_r93444420"},"pull_request":{"href":"https://api.github.com/repos/projectcalico/libnetwork-plugin/pulls/124"}}},"pull_request":{"url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/pulls/124","id":98928349,"html_url":"https://github.com/projectcalico/libnetwork-plugin/pull/124","diff_url":"https://github.com/projectcalico/libnetwork-plugin/pull/124.diff","patch_url":"https://github.com/projectcalico/libnetwork-plugin/pull/124.patch","issue_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/issues/124","number":124,"state":"open","locked":false,"title":"tests: Add test for custom interface prefix","user":{"login":"tomdee","id":6635,"avatar_url":"https://avatars.githubusercontent.com/u/6635?v=3","gravatar_id":"","url":"https://api.github.com/users/tomdee","html_url":"https://github.com/tomdee","followers_url":"https://api.github.com/users/tomdee/followers","following_url":"https://api.github.com/users/tomdee/following{/other_user}","gists_url":"https://api.github.com/users/tomdee/gists{/gist_id}","starred_url":"https://api.github.com/users/tomdee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomdee/subscriptions","organizations_url":"https://api.github.com/users/tomdee/orgs","repos_url":"https://api.github.com/users/tomdee/repos","events_url":"https://api.github.com/users/tomdee/events{/privacy}","received_events_url":"https://api.github.com/users/tomdee/received_events","type":"User","site_admin":false},"body":"Split the tests into two suites. This allows the tests to be run in\r\ndifferent environments.","created_at":"2016-12-21T12:58:29Z","updated_at":"2016-12-21T14:15:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f61481d96bc1fdc879f2cd4260edc62d4963594","assignee":{"login":"robbrockbank","id":3227729,"avatar_url":"https://avatars.githubusercontent.com/u/3227729?v=3","gravatar_id":"","url":"https://api.github.com/users/robbrockbank","html_url":"https://github.com/robbrockbank","followers_url":"https://api.github.com/users/robbrockbank/followers","following_url":"https://api.github.com/users/robbrockbank/following{/other_user}","gists_url":"https://api.github.com/users/robbrockbank/gists{/gist_id}","starred_url":"https://api.github.com/users/robbrockbank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbrockbank/subscriptions","organizations_url":"https://api.github.com/users/robbrockbank/orgs","repos_url":"https://api.github.com/users/robbrockbank/repos","events_url":"https://api.github.com/users/robbrockbank/events{/privacy}","received_events_url":"https://api.github.com/users/robbrockbank/received_events","type":"User","site_admin":false},"assignees":[{"login":"robbrockbank","id":3227729,"avatar_url":"https://avatars.githubusercontent.com/u/3227729?v=3","gravatar_id":"","url":"https://api.github.com/users/robbrockbank","html_url":"https://github.com/robbrockbank","followers_url":"https://api.github.com/users/robbrockbank/followers","following_url":"https://api.github.com/users/robbrockbank/following{/other_user}","gists_url":"https://api.github.com/users/robbrockbank/gists{/gist_id}","starred_url":"https://api.github.com/users/robbrockbank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbrockbank/subscriptions","organizations_url":"https://api.github.com/users/robbrockbank/orgs","repos_url":"https://api.github.com/users/robbrockbank/repos","events_url":"https://api.github.com/users/robbrockbank/events{/privacy}","received_events_url":"https://api.github.com/users/robbrockbank/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/pulls/124/commits","review_comments_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/pulls/124/comments","review_comment_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/issues/124/comments","statuses_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/statuses/e0c816d685ca3e117f4d61528e670348d767a2d0","head":{"label":"tomdee:if_prefix_test","ref":"if_prefix_test","sha":"e0c816d685ca3e117f4d61528e670348d767a2d0","user":{"login":"tomdee","id":6635,"avatar_url":"https://avatars.githubusercontent.com/u/6635?v=3","gravatar_id":"","url":"https://api.github.com/users/tomdee","html_url":"https://github.com/tomdee","followers_url":"https://api.github.com/users/tomdee/followers","following_url":"https://api.github.com/users/tomdee/following{/other_user}","gists_url":"https://api.github.com/users/tomdee/gists{/gist_id}","starred_url":"https://api.github.com/users/tomdee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomdee/subscriptions","organizations_url":"https://api.github.com/users/tomdee/orgs","repos_url":"https://api.github.com/users/tomdee/repos","events_url":"https://api.github.com/users/tomdee/events{/privacy}","received_events_url":"https://api.github.com/users/tomdee/received_events","type":"User","site_admin":false},"repo":{"id":42885600,"name":"libnetwork-plugin","full_name":"tomdee/libnetwork-plugin","owner":{"login":"tomdee","id":6635,"avatar_url":"https://avatars.githubusercontent.com/u/6635?v=3","gravatar_id":"","url":"https://api.github.com/users/tomdee","html_url":"https://github.com/tomdee","followers_url":"https://api.github.com/users/tomdee/followers","following_url":"https://api.github.com/users/tomdee/following{/other_user}","gists_url":"https://api.github.com/users/tomdee/gists{/gist_id}","starred_url":"https://api.github.com/users/tomdee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomdee/subscriptions","organizations_url":"https://api.github.com/users/tomdee/orgs","repos_url":"https://api.github.com/users/tomdee/repos","events_url":"https://api.github.com/users/tomdee/events{/privacy}","received_events_url":"https://api.github.com/users/tomdee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomdee/libnetwork-plugin","description":"Docker libnetwork plugin for Project Calico","fork":true,"url":"https://api.github.com/repos/tomdee/libnetwork-plugin","forks_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/forks","keys_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/teams","hooks_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/hooks","issue_events_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/events","assignees_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/tags","blobs_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/languages","stargazers_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/stargazers","contributors_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/contributors","subscribers_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/subscribers","subscription_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/subscription","commits_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/merges","archive_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/downloads","issues_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/labels{/name}","releases_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/tomdee/libnetwork-plugin/deployments","created_at":"2015-09-21T18:26:11Z","updated_at":"2016-12-15T17:41:27Z","pushed_at":"2016-12-21T13:38:06Z","git_url":"git://github.com/tomdee/libnetwork-plugin.git","ssh_url":"git@github.com:tomdee/libnetwork-plugin.git","clone_url":"https://github.com/tomdee/libnetwork-plugin.git","svn_url":"https://github.com/tomdee/libnetwork-plugin","homepage":"http://www.projectcalico.org","size":3169,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"projectcalico:master","ref":"master","sha":"08d85cab392d66e0f0bd02968d5a06f53426116e","user":{"login":"projectcalico","id":12304728,"avatar_url":"https://avatars.githubusercontent.com/u/12304728?v=3","gravatar_id":"","url":"https://api.github.com/users/projectcalico","html_url":"https://github.com/projectcalico","followers_url":"https://api.github.com/users/projectcalico/followers","following_url":"https://api.github.com/users/projectcalico/following{/other_user}","gists_url":"https://api.github.com/users/projectcalico/gists{/gist_id}","starred_url":"https://api.github.com/users/projectcalico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectcalico/subscriptions","organizations_url":"https://api.github.com/users/projectcalico/orgs","repos_url":"https://api.github.com/users/projectcalico/repos","events_url":"https://api.github.com/users/projectcalico/events{/privacy}","received_events_url":"https://api.github.com/users/projectcalico/received_events","type":"Organization","site_admin":false},"repo":{"id":40562997,"name":"libnetwork-plugin","full_name":"projectcalico/libnetwork-plugin","owner":{"login":"projectcalico","id":12304728,"avatar_url":"https://avatars.githubusercontent.com/u/12304728?v=3","gravatar_id":"","url":"https://api.github.com/users/projectcalico","html_url":"https://github.com/projectcalico","followers_url":"https://api.github.com/users/projectcalico/followers","following_url":"https://api.github.com/users/projectcalico/following{/other_user}","gists_url":"https://api.github.com/users/projectcalico/gists{/gist_id}","starred_url":"https://api.github.com/users/projectcalico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectcalico/subscriptions","organizations_url":"https://api.github.com/users/projectcalico/orgs","repos_url":"https://api.github.com/users/projectcalico/repos","events_url":"https://api.github.com/users/projectcalico/events{/privacy}","received_events_url":"https://api.github.com/users/projectcalico/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectcalico/libnetwork-plugin","description":"Docker libnetwork plugin for Calico","fork":false,"url":"https://api.github.com/repos/projectcalico/libnetwork-plugin","forks_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/forks","keys_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/teams","hooks_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/hooks","issue_events_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/events","assignees_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/tags","blobs_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/languages","stargazers_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/stargazers","contributors_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/contributors","subscribers_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/subscribers","subscription_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/subscription","commits_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/merges","archive_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/downloads","issues_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/labels{/name}","releases_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/projectcalico/libnetwork-plugin/deployments","created_at":"2015-08-11T20:13:56Z","updated_at":"2016-12-18T03:30:50Z","pushed_at":"2016-12-21T13:38:07Z","git_url":"git://github.com/projectcalico/libnetwork-plugin.git","ssh_url":"git@github.com:projectcalico/libnetwork-plugin.git","clone_url":"https://github.com/projectcalico/libnetwork-plugin.git","svn_url":"https://github.com/projectcalico/libnetwork-plugin","homepage":"http://www.projectcalico.org","size":1815,"stargazers_count":21,"watchers_count":21,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":12,"forks":19,"open_issues":12,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectcalico/libnetwork-plugin/pulls/124"},"html":{"href":"https://github.com/projectcalico/libnetwork-plugin/pull/124"},"issue":{"href":"https://api.github.com/repos/projectcalico/libnetwork-plugin/issues/124"},"comments":{"href":"https://api.github.com/repos/projectcalico/libnetwork-plugin/issues/124/comments"},"review_comments":{"href":"https://api.github.com/repos/projectcalico/libnetwork-plugin/pulls/124/comments"},"review_comment":{"href":"https://api.github.com/repos/projectcalico/libnetwork-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectcalico/libnetwork-plugin/pulls/124/commits"},"statuses":{"href":"https://api.github.com/repos/projectcalico/libnetwork-plugin/statuses/e0c816d685ca3e117f4d61528e670348d767a2d0"}}}}
{"actor":{"display_login":"robbrockbank"}}