{"action":"created","comment":{"url":"https://api.github.com/repos/clearcontainers/tests/pulls/comments/150034378","pull_request_review_id":75524492,"id":150034378,"diff_hunk":"@@ -0,0 +1,39 @@\n+# Clear Containers remote networking test\n+\n+- The`remote-networking-iperf3.sh` script measures bandwidth using `iperf3` using a remote setup. Host A will run \n+a container that will act as a server while host B will run a container that will act as a client. \n+The network bandwidth will be measured across the containers.\n+\n+## Prerequisite\n+\n+An automatic login from host A (user A) to host B (user B) is needed. You must setup authentication \n+keys to do an ssh login without password.\n+\n+## Running the remote networking test\n+\n+`remote-networking-iperf3.sh` should run in host A. The script needs the following inputs to run:\n+- Argument of the test to run. In this case this argument is `-b` or `--bandwidth`.\n+- Interface name where swarm will run.\n+- User of the host B.\n+- IP address of the host B.\n+\n+The `remote-networking-iperf3.sh` test may be run manually:\n+\n+```\n+$ cd metrics\n+$ bash metrics/network/remote_network/remote-networking-iperf3.sh \"$argument\" \"$interface_name\" \"$user\" \"$ip_address\"","path":"metrics/network/remote_network/README.md","position":24,"original_position":24,"commit_id":"e9e57323ee18116ba6a79a70fd5d793a97c451af","original_commit_id":"e9e57323ee18116ba6a79a70fd5d793a97c451af","user":{"login":"iphutch","id":21109162,"avatar_url":"https://avatars3.githubusercontent.com/u/21109162?v=4","gravatar_id":"","url":"https://api.github.com/users/iphutch","html_url":"https://github.com/iphutch","followers_url":"https://api.github.com/users/iphutch/followers","following_url":"https://api.github.com/users/iphutch/following{/other_user}","gists_url":"https://api.github.com/users/iphutch/gists{/gist_id}","starred_url":"https://api.github.com/users/iphutch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iphutch/subscriptions","organizations_url":"https://api.github.com/users/iphutch/orgs","repos_url":"https://api.github.com/users/iphutch/repos","events_url":"https://api.github.com/users/iphutch/events{/privacy}","received_events_url":"https://api.github.com/users/iphutch/received_events","type":"User","site_admin":false},"body":"Hi Mario, \r\nGood points. We can keep a cd line for clarity but cd all the way to the remote_network dir. Typically we use <> when the user is expected to change what is in the example. I suggest the following but leave it to @GabyCT to decide whether to include the \"[options]\":\r\n```\r\ncd metrics/network/remote_network\r\nbash remote-networking-iperf3.sh \"[options]\" \"<interface name>\" \"<user>\" \"<ip address>\"\r\n```","created_at":"2017-11-09T17:39:50Z","updated_at":"2017-11-09T17:39:50Z","html_url":"https://github.com/clearcontainers/tests/pull/674#discussion_r150034378","pull_request_url":"https://api.github.com/repos/clearcontainers/tests/pulls/674","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/clearcontainers/tests/pulls/comments/150034378"},"html":{"href":"https://github.com/clearcontainers/tests/pull/674#discussion_r150034378"},"pull_request":{"href":"https://api.github.com/repos/clearcontainers/tests/pulls/674"}},"in_reply_to_id":150021849},"pull_request":{"url":"https://api.github.com/repos/clearcontainers/tests/pulls/674","id":150595738,"html_url":"https://github.com/clearcontainers/tests/pull/674","diff_url":"https://github.com/clearcontainers/tests/pull/674.diff","patch_url":"https://github.com/clearcontainers/tests/pull/674.patch","issue_url":"https://api.github.com/repos/clearcontainers/tests/issues/674","number":674,"state":"open","locked":false,"title":"metrics: Add remote iperf3 bandwidth test","user":{"login":"GabyCT","id":20359065,"avatar_url":"https://avatars1.githubusercontent.com/u/20359065?v=4","gravatar_id":"","url":"https://api.github.com/users/GabyCT","html_url":"https://github.com/GabyCT","followers_url":"https://api.github.com/users/GabyCT/followers","following_url":"https://api.github.com/users/GabyCT/following{/other_user}","gists_url":"https://api.github.com/users/GabyCT/gists{/gist_id}","starred_url":"https://api.github.com/users/GabyCT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabyCT/subscriptions","organizations_url":"https://api.github.com/users/GabyCT/orgs","repos_url":"https://api.github.com/users/GabyCT/repos","events_url":"https://api.github.com/users/GabyCT/events{/privacy}","received_events_url":"https://api.github.com/users/GabyCT/received_events","type":"User","site_admin":false},"body":"Add remote bandwidth test using iperf3. Where one host will run\r\na container that will act as a client and another host will run\r\na container that will act as a server and bandwidth will be\r\nmeasure across the containers.\r\n\r\nFixes #673\r\n\r\nSigned-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>","created_at":"2017-11-03T18:13:22Z","updated_at":"2017-11-09T17:39:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d6c938b6ec25172abe3fde966e46d579f1381235","assignee":null,"assignees":[],"requested_reviewers":[{"login":"grahamwhaley","id":4761717,"avatar_url":"https://avatars3.githubusercontent.com/u/4761717?v=4","gravatar_id":"","url":"https://api.github.com/users/grahamwhaley","html_url":"https://github.com/grahamwhaley","followers_url":"https://api.github.com/users/grahamwhaley/followers","following_url":"https://api.github.com/users/grahamwhaley/following{/other_user}","gists_url":"https://api.github.com/users/grahamwhaley/gists{/gist_id}","starred_url":"https://api.github.com/users/grahamwhaley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grahamwhaley/subscriptions","organizations_url":"https://api.github.com/users/grahamwhaley/orgs","repos_url":"https://api.github.com/users/grahamwhaley/repos","events_url":"https://api.github.com/users/grahamwhaley/events{/privacy}","received_events_url":"https://api.github.com/users/grahamwhaley/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/clearcontainers/tests/pulls/674/commits","review_comments_url":"https://api.github.com/repos/clearcontainers/tests/pulls/674/comments","review_comment_url":"https://api.github.com/repos/clearcontainers/tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clearcontainers/tests/issues/674/comments","statuses_url":"https://api.github.com/repos/clearcontainers/tests/statuses/e9e57323ee18116ba6a79a70fd5d793a97c451af","head":{"label":"GabyCT:topic/remotebandwidth","ref":"topic/remotebandwidth","sha":"e9e57323ee18116ba6a79a70fd5d793a97c451af","user":{"login":"GabyCT","id":20359065,"avatar_url":"https://avatars1.githubusercontent.com/u/20359065?v=4","gravatar_id":"","url":"https://api.github.com/users/GabyCT","html_url":"https://github.com/GabyCT","followers_url":"https://api.github.com/users/GabyCT/followers","following_url":"https://api.github.com/users/GabyCT/following{/other_user}","gists_url":"https://api.github.com/users/GabyCT/gists{/gist_id}","starred_url":"https://api.github.com/users/GabyCT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabyCT/subscriptions","organizations_url":"https://api.github.com/users/GabyCT/orgs","repos_url":"https://api.github.com/users/GabyCT/repos","events_url":"https://api.github.com/users/GabyCT/events{/privacy}","received_events_url":"https://api.github.com/users/GabyCT/received_events","type":"User","site_admin":false},"repo":{"id":92962967,"name":"tests","full_name":"GabyCT/tests","owner":{"login":"GabyCT","id":20359065,"avatar_url":"https://avatars1.githubusercontent.com/u/20359065?v=4","gravatar_id":"","url":"https://api.github.com/users/GabyCT","html_url":"https://github.com/GabyCT","followers_url":"https://api.github.com/users/GabyCT/followers","following_url":"https://api.github.com/users/GabyCT/following{/other_user}","gists_url":"https://api.github.com/users/GabyCT/gists{/gist_id}","starred_url":"https://api.github.com/users/GabyCT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabyCT/subscriptions","organizations_url":"https://api.github.com/users/GabyCT/orgs","repos_url":"https://api.github.com/users/GabyCT/repos","events_url":"https://api.github.com/users/GabyCT/events{/privacy}","received_events_url":"https://api.github.com/users/GabyCT/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GabyCT/tests","description":"Clear Container Tests Repository","fork":true,"url":"https://api.github.com/repos/GabyCT/tests","forks_url":"https://api.github.com/repos/GabyCT/tests/forks","keys_url":"https://api.github.com/repos/GabyCT/tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GabyCT/tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GabyCT/tests/teams","hooks_url":"https://api.github.com/repos/GabyCT/tests/hooks","issue_events_url":"https://api.github.com/repos/GabyCT/tests/issues/events{/number}","events_url":"https://api.github.com/repos/GabyCT/tests/events","assignees_url":"https://api.github.com/repos/GabyCT/tests/assignees{/user}","branches_url":"https://api.github.com/repos/GabyCT/tests/branches{/branch}","tags_url":"https://api.github.com/repos/GabyCT/tests/tags","blobs_url":"https://api.github.com/repos/GabyCT/tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GabyCT/tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GabyCT/tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/GabyCT/tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GabyCT/tests/statuses/{sha}","languages_url":"https://api.github.com/repos/GabyCT/tests/languages","stargazers_url":"https://api.github.com/repos/GabyCT/tests/stargazers","contributors_url":"https://api.github.com/repos/GabyCT/tests/contributors","subscribers_url":"https://api.github.com/repos/GabyCT/tests/subscribers","subscription_url":"https://api.github.com/repos/GabyCT/tests/subscription","commits_url":"https://api.github.com/repos/GabyCT/tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/GabyCT/tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/GabyCT/tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/GabyCT/tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/GabyCT/tests/contents/{+path}","compare_url":"https://api.github.com/repos/GabyCT/tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GabyCT/tests/merges","archive_url":"https://api.github.com/repos/GabyCT/tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GabyCT/tests/downloads","issues_url":"https://api.github.com/repos/GabyCT/tests/issues{/number}","pulls_url":"https://api.github.com/repos/GabyCT/tests/pulls{/number}","milestones_url":"https://api.github.com/repos/GabyCT/tests/milestones{/number}","notifications_url":"https://api.github.com/repos/GabyCT/tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GabyCT/tests/labels{/name}","releases_url":"https://api.github.com/repos/GabyCT/tests/releases{/id}","deployments_url":"https://api.github.com/repos/GabyCT/tests/deployments","created_at":"2017-05-31T15:51:10Z","updated_at":"2017-05-31T15:51:12Z","pushed_at":"2017-11-09T16:51:06Z","git_url":"git://github.com/GabyCT/tests.git","ssh_url":"git@github.com:GabyCT/tests.git","clone_url":"https://github.com/GabyCT/tests.git","svn_url":"https://github.com/GabyCT/tests","homepage":null,"size":4807,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"clearcontainers:master","ref":"master","sha":"e25785c3841fa6319907dc1a3602d78825966a12","user":{"login":"clearcontainers","id":24325390,"avatar_url":"https://avatars1.githubusercontent.com/u/24325390?v=4","gravatar_id":"","url":"https://api.github.com/users/clearcontainers","html_url":"https://github.com/clearcontainers","followers_url":"https://api.github.com/users/clearcontainers/followers","following_url":"https://api.github.com/users/clearcontainers/following{/other_user}","gists_url":"https://api.github.com/users/clearcontainers/gists{/gist_id}","starred_url":"https://api.github.com/users/clearcontainers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clearcontainers/subscriptions","organizations_url":"https://api.github.com/users/clearcontainers/orgs","repos_url":"https://api.github.com/users/clearcontainers/repos","events_url":"https://api.github.com/users/clearcontainers/events{/privacy}","received_events_url":"https://api.github.com/users/clearcontainers/received_events","type":"Organization","site_admin":false},"repo":{"id":89639557,"name":"tests","full_name":"clearcontainers/tests","owner":{"login":"clearcontainers","id":24325390,"avatar_url":"https://avatars1.githubusercontent.com/u/24325390?v=4","gravatar_id":"","url":"https://api.github.com/users/clearcontainers","html_url":"https://github.com/clearcontainers","followers_url":"https://api.github.com/users/clearcontainers/followers","following_url":"https://api.github.com/users/clearcontainers/following{/other_user}","gists_url":"https://api.github.com/users/clearcontainers/gists{/gist_id}","starred_url":"https://api.github.com/users/clearcontainers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clearcontainers/subscriptions","organizations_url":"https://api.github.com/users/clearcontainers/orgs","repos_url":"https://api.github.com/users/clearcontainers/repos","events_url":"https://api.github.com/users/clearcontainers/events{/privacy}","received_events_url":"https://api.github.com/users/clearcontainers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clearcontainers/tests","description":"Clear Container Tests Repository","fork":false,"url":"https://api.github.com/repos/clearcontainers/tests","forks_url":"https://api.github.com/repos/clearcontainers/tests/forks","keys_url":"https://api.github.com/repos/clearcontainers/tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clearcontainers/tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clearcontainers/tests/teams","hooks_url":"https://api.github.com/repos/clearcontainers/tests/hooks","issue_events_url":"https://api.github.com/repos/clearcontainers/tests/issues/events{/number}","events_url":"https://api.github.com/repos/clearcontainers/tests/events","assignees_url":"https://api.github.com/repos/clearcontainers/tests/assignees{/user}","branches_url":"https://api.github.com/repos/clearcontainers/tests/branches{/branch}","tags_url":"https://api.github.com/repos/clearcontainers/tests/tags","blobs_url":"https://api.github.com/repos/clearcontainers/tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clearcontainers/tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clearcontainers/tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/clearcontainers/tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clearcontainers/tests/statuses/{sha}","languages_url":"https://api.github.com/repos/clearcontainers/tests/languages","stargazers_url":"https://api.github.com/repos/clearcontainers/tests/stargazers","contributors_url":"https://api.github.com/repos/clearcontainers/tests/contributors","subscribers_url":"https://api.github.com/repos/clearcontainers/tests/subscribers","subscription_url":"https://api.github.com/repos/clearcontainers/tests/subscription","commits_url":"https://api.github.com/repos/clearcontainers/tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/clearcontainers/tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/clearcontainers/tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/clearcontainers/tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/clearcontainers/tests/contents/{+path}","compare_url":"https://api.github.com/repos/clearcontainers/tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clearcontainers/tests/merges","archive_url":"https://api.github.com/repos/clearcontainers/tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clearcontainers/tests/downloads","issues_url":"https://api.github.com/repos/clearcontainers/tests/issues{/number}","pulls_url":"https://api.github.com/repos/clearcontainers/tests/pulls{/number}","milestones_url":"https://api.github.com/repos/clearcontainers/tests/milestones{/number}","notifications_url":"https://api.github.com/repos/clearcontainers/tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clearcontainers/tests/labels{/name}","releases_url":"https://api.github.com/repos/clearcontainers/tests/releases{/id}","deployments_url":"https://api.github.com/repos/clearcontainers/tests/deployments","created_at":"2017-04-27T20:54:34Z","updated_at":"2017-09-11T20:04:54Z","pushed_at":"2017-11-09T16:51:28Z","git_url":"git://github.com/clearcontainers/tests.git","ssh_url":"git@github.com:clearcontainers/tests.git","clone_url":"https://github.com/clearcontainers/tests.git","svn_url":"https://github.com/clearcontainers/tests","homepage":null,"size":4800,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":60,"forks":16,"open_issues":60,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clearcontainers/tests/pulls/674"},"html":{"href":"https://github.com/clearcontainers/tests/pull/674"},"issue":{"href":"https://api.github.com/repos/clearcontainers/tests/issues/674"},"comments":{"href":"https://api.github.com/repos/clearcontainers/tests/issues/674/comments"},"review_comments":{"href":"https://api.github.com/repos/clearcontainers/tests/pulls/674/comments"},"review_comment":{"href":"https://api.github.com/repos/clearcontainers/tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clearcontainers/tests/pulls/674/commits"},"statuses":{"href":"https://api.github.com/repos/clearcontainers/tests/statuses/e9e57323ee18116ba6a79a70fd5d793a97c451af"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"iphutch"}}