{"action":"created","comment":{"url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/pulls/comments/205393746","pull_request_review_id":140652252,"id":205393746,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTM5Mzc0Ng==","diff_hunk":"@@ -292,12 +286,14 @@ def bond_setup(self, arg1, arg2):\n             for val in self.peer_interfaces:\n                 cmd += 'ip link set %s down;' % val\n             cmd += 'modprobe bonding;'\n-            cmd += 'echo +%s > /sys/class/net/bonding_masters;'\\\n-                   % self.bond_name\n-            cmd += 'echo 0 > /sys/class/net/%s/bonding/mode;'\\\n-                   % self.bond_name\n-            cmd += 'echo 100 > /sys/class/net/%s/bonding/miimon;'\\\n-                   % self.bond_name\n+            cmd += 'echo +%s > %s;'\\\n+                   % (self.bond_name, self.net_path)","path":"io/net/bonding.py","position":138,"original_position":138,"commit_id":"c0aaacd99ecac10f6960bc233aa667fa8784dfc7","original_commit_id":"c0aaacd99ecac10f6960bc233aa667fa8784dfc7","user":{"login":"harish-24","id":17269437,"node_id":"MDQ6VXNlcjE3MjY5NDM3","avatar_url":"https://avatars1.githubusercontent.com/u/17269437?v=4","gravatar_id":"","url":"https://api.github.com/users/harish-24","html_url":"https://github.com/harish-24","followers_url":"https://api.github.com/users/harish-24/followers","following_url":"https://api.github.com/users/harish-24/following{/other_user}","gists_url":"https://api.github.com/users/harish-24/gists{/gist_id}","starred_url":"https://api.github.com/users/harish-24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harish-24/subscriptions","organizations_url":"https://api.github.com/users/harish-24/orgs","repos_url":"https://api.github.com/users/harish-24/repos","events_url":"https://api.github.com/users/harish-24/events{/privacy}","received_events_url":"https://api.github.com/users/harish-24/received_events","type":"User","site_admin":false},"body":"Is this not `(self.bond_name, self.bonding_masters_file)`?","created_at":"2018-07-26T09:41:42Z","updated_at":"2018-07-26T09:41:42Z","html_url":"https://github.com/avocado-framework-tests/avocado-misc-tests/pull/964#discussion_r205393746","pull_request_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/pulls/964","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/pulls/comments/205393746"},"html":{"href":"https://github.com/avocado-framework-tests/avocado-misc-tests/pull/964#discussion_r205393746"},"pull_request":{"href":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/pulls/964"}}},"pull_request":{"url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/pulls/964","id":204039134,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MDM5MTM0","html_url":"https://github.com/avocado-framework-tests/avocado-misc-tests/pull/964","diff_url":"https://github.com/avocado-framework-tests/avocado-misc-tests/pull/964.diff","patch_url":"https://github.com/avocado-framework-tests/avocado-misc-tests/pull/964.patch","issue_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/issues/964","number":964,"state":"open","locked":false,"title":"Bonding enhancements","user":{"login":"narasimhan-v","id":16101053,"node_id":"MDQ6VXNlcjE2MTAxMDUz","avatar_url":"https://avatars3.githubusercontent.com/u/16101053?v=4","gravatar_id":"","url":"https://api.github.com/users/narasimhan-v","html_url":"https://github.com/narasimhan-v","followers_url":"https://api.github.com/users/narasimhan-v/followers","following_url":"https://api.github.com/users/narasimhan-v/following{/other_user}","gists_url":"https://api.github.com/users/narasimhan-v/gists{/gist_id}","starred_url":"https://api.github.com/users/narasimhan-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narasimhan-v/subscriptions","organizations_url":"https://api.github.com/users/narasimhan-v/orgs","repos_url":"https://api.github.com/users/narasimhan-v/repos","events_url":"https://api.github.com/users/narasimhan-v/events{/privacy}","received_events_url":"https://api.github.com/users/narasimhan-v/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-26T06:21:57Z","updated_at":"2018-07-26T09:41:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9d8231f8be410347015be8396a4ef678e7472fde","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/pulls/964/commits","review_comments_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/pulls/964/comments","review_comment_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/issues/964/comments","statuses_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/statuses/c0aaacd99ecac10f6960bc233aa667fa8784dfc7","head":{"label":"narasimhan-v:bonding_enhancements","ref":"bonding_enhancements","sha":"c0aaacd99ecac10f6960bc233aa667fa8784dfc7","user":{"login":"narasimhan-v","id":16101053,"node_id":"MDQ6VXNlcjE2MTAxMDUz","avatar_url":"https://avatars3.githubusercontent.com/u/16101053?v=4","gravatar_id":"","url":"https://api.github.com/users/narasimhan-v","html_url":"https://github.com/narasimhan-v","followers_url":"https://api.github.com/users/narasimhan-v/followers","following_url":"https://api.github.com/users/narasimhan-v/following{/other_user}","gists_url":"https://api.github.com/users/narasimhan-v/gists{/gist_id}","starred_url":"https://api.github.com/users/narasimhan-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narasimhan-v/subscriptions","organizations_url":"https://api.github.com/users/narasimhan-v/orgs","repos_url":"https://api.github.com/users/narasimhan-v/repos","events_url":"https://api.github.com/users/narasimhan-v/events{/privacy}","received_events_url":"https://api.github.com/users/narasimhan-v/received_events","type":"User","site_admin":false},"repo":{"id":66548368,"node_id":"MDEwOlJlcG9zaXRvcnk2NjU0ODM2OA==","name":"avocado-misc-tests-1","full_name":"narasimhan-v/avocado-misc-tests-1","owner":{"login":"narasimhan-v","id":16101053,"node_id":"MDQ6VXNlcjE2MTAxMDUz","avatar_url":"https://avatars3.githubusercontent.com/u/16101053?v=4","gravatar_id":"","url":"https://api.github.com/users/narasimhan-v","html_url":"https://github.com/narasimhan-v","followers_url":"https://api.github.com/users/narasimhan-v/followers","following_url":"https://api.github.com/users/narasimhan-v/following{/other_user}","gists_url":"https://api.github.com/users/narasimhan-v/gists{/gist_id}","starred_url":"https://api.github.com/users/narasimhan-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narasimhan-v/subscriptions","organizations_url":"https://api.github.com/users/narasimhan-v/orgs","repos_url":"https://api.github.com/users/narasimhan-v/repos","events_url":"https://api.github.com/users/narasimhan-v/events{/privacy}","received_events_url":"https://api.github.com/users/narasimhan-v/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/narasimhan-v/avocado-misc-tests-1","description":"Community maintained Avocado tests repository","fork":true,"url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1","forks_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/forks","keys_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/teams","hooks_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/hooks","issue_events_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/issues/events{/number}","events_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/events","assignees_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/assignees{/user}","branches_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/branches{/branch}","tags_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/tags","blobs_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/statuses/{sha}","languages_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/languages","stargazers_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/stargazers","contributors_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/contributors","subscribers_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/subscribers","subscription_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/subscription","commits_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/contents/{+path}","compare_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/merges","archive_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/downloads","issues_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/issues{/number}","pulls_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/pulls{/number}","milestones_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/milestones{/number}","notifications_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/labels{/name}","releases_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/releases{/id}","deployments_url":"https://api.github.com/repos/narasimhan-v/avocado-misc-tests-1/deployments","created_at":"2016-08-25T10:22:14Z","updated_at":"2018-07-25T06:16:40Z","pushed_at":"2018-07-26T06:20:47Z","git_url":"git://github.com/narasimhan-v/avocado-misc-tests-1.git","ssh_url":"git@github.com:narasimhan-v/avocado-misc-tests-1.git","clone_url":"https://github.com/narasimhan-v/avocado-misc-tests-1.git","svn_url":"https://github.com/narasimhan-v/avocado-misc-tests-1","homepage":"","size":2781,"stargazers_count":0,"watchers_count":0,"language":"Python","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,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"avocado-framework-tests:master","ref":"master","sha":"6ae32a86cf76ded361b79777a33da95400b586c2","user":{"login":"avocado-framework-tests","id":21237888,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMjM3ODg4","avatar_url":"https://avatars1.githubusercontent.com/u/21237888?v=4","gravatar_id":"","url":"https://api.github.com/users/avocado-framework-tests","html_url":"https://github.com/avocado-framework-tests","followers_url":"https://api.github.com/users/avocado-framework-tests/followers","following_url":"https://api.github.com/users/avocado-framework-tests/following{/other_user}","gists_url":"https://api.github.com/users/avocado-framework-tests/gists{/gist_id}","starred_url":"https://api.github.com/users/avocado-framework-tests/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avocado-framework-tests/subscriptions","organizations_url":"https://api.github.com/users/avocado-framework-tests/orgs","repos_url":"https://api.github.com/users/avocado-framework-tests/repos","events_url":"https://api.github.com/users/avocado-framework-tests/events{/privacy}","received_events_url":"https://api.github.com/users/avocado-framework-tests/received_events","type":"Organization","site_admin":false},"repo":{"id":66541747,"node_id":"MDEwOlJlcG9zaXRvcnk2NjU0MTc0Nw==","name":"avocado-misc-tests","full_name":"avocado-framework-tests/avocado-misc-tests","owner":{"login":"avocado-framework-tests","id":21237888,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMjM3ODg4","avatar_url":"https://avatars1.githubusercontent.com/u/21237888?v=4","gravatar_id":"","url":"https://api.github.com/users/avocado-framework-tests","html_url":"https://github.com/avocado-framework-tests","followers_url":"https://api.github.com/users/avocado-framework-tests/followers","following_url":"https://api.github.com/users/avocado-framework-tests/following{/other_user}","gists_url":"https://api.github.com/users/avocado-framework-tests/gists{/gist_id}","starred_url":"https://api.github.com/users/avocado-framework-tests/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avocado-framework-tests/subscriptions","organizations_url":"https://api.github.com/users/avocado-framework-tests/orgs","repos_url":"https://api.github.com/users/avocado-framework-tests/repos","events_url":"https://api.github.com/users/avocado-framework-tests/events{/privacy}","received_events_url":"https://api.github.com/users/avocado-framework-tests/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/avocado-framework-tests/avocado-misc-tests","description":"Community maintained Avocado tests repository","fork":false,"url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests","forks_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/forks","keys_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/teams","hooks_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/hooks","issue_events_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/issues/events{/number}","events_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/events","assignees_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/assignees{/user}","branches_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/branches{/branch}","tags_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/tags","blobs_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/languages","stargazers_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/stargazers","contributors_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/contributors","subscribers_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/subscribers","subscription_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/subscription","commits_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/contents/{+path}","compare_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/merges","archive_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/downloads","issues_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/issues{/number}","pulls_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/labels{/name}","releases_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/releases{/id}","deployments_url":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/deployments","created_at":"2016-08-25T08:50:54Z","updated_at":"2018-07-24T05:25:41Z","pushed_at":"2018-07-26T06:21:58Z","git_url":"git://github.com/avocado-framework-tests/avocado-misc-tests.git","ssh_url":"git@github.com:avocado-framework-tests/avocado-misc-tests.git","clone_url":"https://github.com/avocado-framework-tests/avocado-misc-tests.git","svn_url":"https://github.com/avocado-framework-tests/avocado-misc-tests","homepage":"","size":2760,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"archived":false,"open_issues_count":24,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":42,"open_issues":24,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/pulls/964"},"html":{"href":"https://github.com/avocado-framework-tests/avocado-misc-tests/pull/964"},"issue":{"href":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/issues/964"},"comments":{"href":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/issues/964/comments"},"review_comments":{"href":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/pulls/964/comments"},"review_comment":{"href":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/pulls/964/commits"},"statuses":{"href":"https://api.github.com/repos/avocado-framework-tests/avocado-misc-tests/statuses/c0aaacd99ecac10f6960bc233aa667fa8784dfc7"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"harish-24"}}