{"action":"created","comment":{"url":"https://api.github.com/repos/docker/libnetwork/pulls/comments/61818767","id":61818767,"diff_hunk":"@@ -30,6 +31,86 @@ type nwIface struct {\n \tsync.Mutex\n }\n \n+func (i *nwIface) MarshalJSON() ([]byte, error) {","path":"osl/interface_linux.go","position":12,"original_position":12,"commit_id":"2de632c5f6490ecc9b2abd2d4ad54c46f7774be4","original_commit_id":"2de632c5f6490ecc9b2abd2d4ad54c46f7774be4","user":{"login":"mavenugo","id":5056191,"avatar_url":"https://avatars.githubusercontent.com/u/5056191?v=3","gravatar_id":"","url":"https://api.github.com/users/mavenugo","html_url":"https://github.com/mavenugo","followers_url":"https://api.github.com/users/mavenugo/followers","following_url":"https://api.github.com/users/mavenugo/following{/other_user}","gists_url":"https://api.github.com/users/mavenugo/gists{/gist_id}","starred_url":"https://api.github.com/users/mavenugo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavenugo/subscriptions","organizations_url":"https://api.github.com/users/mavenugo/orgs","repos_url":"https://api.github.com/users/mavenugo/repos","events_url":"https://api.github.com/users/mavenugo/events{/privacy}","received_events_url":"https://api.github.com/users/mavenugo/received_events","type":"User","site_admin":false},"body":"Honestly, I was hoping that the daemon restart with running containers should help us store less states on the store and have an ability to reconstruct states from running instances.\r\n\r\nBut seeing more states going into the db worries me @ the design level.\r\n\r\nI guess we have to think about a design that helps us move away from the need to save more states.","created_at":"2016-05-02T22:55:15Z","updated_at":"2016-05-02T22:55:15Z","html_url":"https://github.com/docker/libnetwork/pull/1135#discussion_r61818767","pull_request_url":"https://api.github.com/repos/docker/libnetwork/pulls/1135","_links":{"self":{"href":"https://api.github.com/repos/docker/libnetwork/pulls/comments/61818767"},"html":{"href":"https://github.com/docker/libnetwork/pull/1135#discussion_r61818767"},"pull_request":{"href":"https://api.github.com/repos/docker/libnetwork/pulls/1135"}}},"pull_request":{"url":"https://api.github.com/repos/docker/libnetwork/pulls/1135","id":67481918,"html_url":"https://github.com/docker/libnetwork/pull/1135","diff_url":"https://github.com/docker/libnetwork/pull/1135.diff","patch_url":"https://github.com/docker/libnetwork/pull/1135.patch","issue_url":"https://api.github.com/repos/docker/libnetwork/issues/1135","number":1135,"state":"open","locked":false,"title":"[WIP] Add network restore to support docker live restore container","user":{"login":"coolljt0725","id":8232360,"avatar_url":"https://avatars.githubusercontent.com/u/8232360?v=3","gravatar_id":"","url":"https://api.github.com/users/coolljt0725","html_url":"https://github.com/coolljt0725","followers_url":"https://api.github.com/users/coolljt0725/followers","following_url":"https://api.github.com/users/coolljt0725/following{/other_user}","gists_url":"https://api.github.com/users/coolljt0725/gists{/gist_id}","starred_url":"https://api.github.com/users/coolljt0725/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coolljt0725/subscriptions","organizations_url":"https://api.github.com/users/coolljt0725/orgs","repos_url":"https://api.github.com/users/coolljt0725/repos","events_url":"https://api.github.com/users/coolljt0725/events{/privacy}","received_events_url":"https://api.github.com/users/coolljt0725/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Lei Jitang <leijitang@huawei.com>\r\n\r\nFix #975 \r\nfor now, it's work for bridge driver\r\nTODO: add more driver support","created_at":"2016-04-22T09:18:35Z","updated_at":"2016-05-02T22:55:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ecc8e2174934e4cee76660fa3c90ed05eb7f42dc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/libnetwork/pulls/1135/commits","review_comments_url":"https://api.github.com/repos/docker/libnetwork/pulls/1135/comments","review_comment_url":"https://api.github.com/repos/docker/libnetwork/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/libnetwork/issues/1135/comments","statuses_url":"https://api.github.com/repos/docker/libnetwork/statuses/2de632c5f6490ecc9b2abd2d4ad54c46f7774be4","head":{"label":"coolljt0725:restore_network","ref":"restore_network","sha":"2de632c5f6490ecc9b2abd2d4ad54c46f7774be4","user":{"login":"coolljt0725","id":8232360,"avatar_url":"https://avatars.githubusercontent.com/u/8232360?v=3","gravatar_id":"","url":"https://api.github.com/users/coolljt0725","html_url":"https://github.com/coolljt0725","followers_url":"https://api.github.com/users/coolljt0725/followers","following_url":"https://api.github.com/users/coolljt0725/following{/other_user}","gists_url":"https://api.github.com/users/coolljt0725/gists{/gist_id}","starred_url":"https://api.github.com/users/coolljt0725/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coolljt0725/subscriptions","organizations_url":"https://api.github.com/users/coolljt0725/orgs","repos_url":"https://api.github.com/users/coolljt0725/repos","events_url":"https://api.github.com/users/coolljt0725/events{/privacy}","received_events_url":"https://api.github.com/users/coolljt0725/received_events","type":"User","site_admin":false},"repo":{"id":56842823,"name":"libnetwork","full_name":"coolljt0725/libnetwork","owner":{"login":"coolljt0725","id":8232360,"avatar_url":"https://avatars.githubusercontent.com/u/8232360?v=3","gravatar_id":"","url":"https://api.github.com/users/coolljt0725","html_url":"https://github.com/coolljt0725","followers_url":"https://api.github.com/users/coolljt0725/followers","following_url":"https://api.github.com/users/coolljt0725/following{/other_user}","gists_url":"https://api.github.com/users/coolljt0725/gists{/gist_id}","starred_url":"https://api.github.com/users/coolljt0725/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coolljt0725/subscriptions","organizations_url":"https://api.github.com/users/coolljt0725/orgs","repos_url":"https://api.github.com/users/coolljt0725/repos","events_url":"https://api.github.com/users/coolljt0725/events{/privacy}","received_events_url":"https://api.github.com/users/coolljt0725/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/coolljt0725/libnetwork","description":"Docker Networking","fork":true,"url":"https://api.github.com/repos/coolljt0725/libnetwork","forks_url":"https://api.github.com/repos/coolljt0725/libnetwork/forks","keys_url":"https://api.github.com/repos/coolljt0725/libnetwork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coolljt0725/libnetwork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coolljt0725/libnetwork/teams","hooks_url":"https://api.github.com/repos/coolljt0725/libnetwork/hooks","issue_events_url":"https://api.github.com/repos/coolljt0725/libnetwork/issues/events{/number}","events_url":"https://api.github.com/repos/coolljt0725/libnetwork/events","assignees_url":"https://api.github.com/repos/coolljt0725/libnetwork/assignees{/user}","branches_url":"https://api.github.com/repos/coolljt0725/libnetwork/branches{/branch}","tags_url":"https://api.github.com/repos/coolljt0725/libnetwork/tags","blobs_url":"https://api.github.com/repos/coolljt0725/libnetwork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coolljt0725/libnetwork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coolljt0725/libnetwork/git/refs{/sha}","trees_url":"https://api.github.com/repos/coolljt0725/libnetwork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coolljt0725/libnetwork/statuses/{sha}","languages_url":"https://api.github.com/repos/coolljt0725/libnetwork/languages","stargazers_url":"https://api.github.com/repos/coolljt0725/libnetwork/stargazers","contributors_url":"https://api.github.com/repos/coolljt0725/libnetwork/contributors","subscribers_url":"https://api.github.com/repos/coolljt0725/libnetwork/subscribers","subscription_url":"https://api.github.com/repos/coolljt0725/libnetwork/subscription","commits_url":"https://api.github.com/repos/coolljt0725/libnetwork/commits{/sha}","git_commits_url":"https://api.github.com/repos/coolljt0725/libnetwork/git/commits{/sha}","comments_url":"https://api.github.com/repos/coolljt0725/libnetwork/comments{/number}","issue_comment_url":"https://api.github.com/repos/coolljt0725/libnetwork/issues/comments{/number}","contents_url":"https://api.github.com/repos/coolljt0725/libnetwork/contents/{+path}","compare_url":"https://api.github.com/repos/coolljt0725/libnetwork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coolljt0725/libnetwork/merges","archive_url":"https://api.github.com/repos/coolljt0725/libnetwork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coolljt0725/libnetwork/downloads","issues_url":"https://api.github.com/repos/coolljt0725/libnetwork/issues{/number}","pulls_url":"https://api.github.com/repos/coolljt0725/libnetwork/pulls{/number}","milestones_url":"https://api.github.com/repos/coolljt0725/libnetwork/milestones{/number}","notifications_url":"https://api.github.com/repos/coolljt0725/libnetwork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coolljt0725/libnetwork/labels{/name}","releases_url":"https://api.github.com/repos/coolljt0725/libnetwork/releases{/id}","deployments_url":"https://api.github.com/repos/coolljt0725/libnetwork/deployments","created_at":"2016-04-22T09:14:02Z","updated_at":"2016-04-22T09:14:03Z","pushed_at":"2016-04-23T08:33:44Z","git_url":"git://github.com/coolljt0725/libnetwork.git","ssh_url":"git@github.com:coolljt0725/libnetwork.git","clone_url":"https://github.com/coolljt0725/libnetwork.git","svn_url":"https://github.com/coolljt0725/libnetwork","homepage":"","size":8711,"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":"docker:master","ref":"master","sha":"0985e5dda4a9ab290f374e7d15e34807f717610e","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":31046054,"name":"libnetwork","full_name":"docker/libnetwork","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/libnetwork","description":"Docker Networking","fork":false,"url":"https://api.github.com/repos/docker/libnetwork","forks_url":"https://api.github.com/repos/docker/libnetwork/forks","keys_url":"https://api.github.com/repos/docker/libnetwork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/libnetwork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/libnetwork/teams","hooks_url":"https://api.github.com/repos/docker/libnetwork/hooks","issue_events_url":"https://api.github.com/repos/docker/libnetwork/issues/events{/number}","events_url":"https://api.github.com/repos/docker/libnetwork/events","assignees_url":"https://api.github.com/repos/docker/libnetwork/assignees{/user}","branches_url":"https://api.github.com/repos/docker/libnetwork/branches{/branch}","tags_url":"https://api.github.com/repos/docker/libnetwork/tags","blobs_url":"https://api.github.com/repos/docker/libnetwork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/libnetwork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/libnetwork/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/libnetwork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/libnetwork/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/libnetwork/languages","stargazers_url":"https://api.github.com/repos/docker/libnetwork/stargazers","contributors_url":"https://api.github.com/repos/docker/libnetwork/contributors","subscribers_url":"https://api.github.com/repos/docker/libnetwork/subscribers","subscription_url":"https://api.github.com/repos/docker/libnetwork/subscription","commits_url":"https://api.github.com/repos/docker/libnetwork/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/libnetwork/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/libnetwork/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/libnetwork/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/libnetwork/contents/{+path}","compare_url":"https://api.github.com/repos/docker/libnetwork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/libnetwork/merges","archive_url":"https://api.github.com/repos/docker/libnetwork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/libnetwork/downloads","issues_url":"https://api.github.com/repos/docker/libnetwork/issues{/number}","pulls_url":"https://api.github.com/repos/docker/libnetwork/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/libnetwork/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/libnetwork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/libnetwork/labels{/name}","releases_url":"https://api.github.com/repos/docker/libnetwork/releases{/id}","deployments_url":"https://api.github.com/repos/docker/libnetwork/deployments","created_at":"2015-02-20T01:20:15Z","updated_at":"2016-05-02T15:49:16Z","pushed_at":"2016-05-02T16:54:00Z","git_url":"git://github.com/docker/libnetwork.git","ssh_url":"git@github.com:docker/libnetwork.git","clone_url":"https://github.com/docker/libnetwork.git","svn_url":"https://github.com/docker/libnetwork","homepage":"","size":13301,"stargazers_count":657,"watchers_count":657,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":300,"mirror_url":null,"open_issues_count":185,"forks":300,"open_issues":185,"watchers":657,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/libnetwork/pulls/1135"},"html":{"href":"https://github.com/docker/libnetwork/pull/1135"},"issue":{"href":"https://api.github.com/repos/docker/libnetwork/issues/1135"},"comments":{"href":"https://api.github.com/repos/docker/libnetwork/issues/1135/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/libnetwork/pulls/1135/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/libnetwork/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/libnetwork/pulls/1135/commits"},"statuses":{"href":"https://api.github.com/repos/docker/libnetwork/statuses/2de632c5f6490ecc9b2abd2d4ad54c46f7774be4"}}}}