{"action":"opened","number":1292,"pull_request":{"url":"https://api.github.com/repos/docker/libnetwork/pulls/1292","id":75187385,"html_url":"https://github.com/docker/libnetwork/pull/1292","diff_url":"https://github.com/docker/libnetwork/pull/1292.diff","patch_url":"https://github.com/docker/libnetwork/pull/1292.patch","issue_url":"https://api.github.com/repos/docker/libnetwork/issues/1292","number":1292,"state":"open","locked":false,"title":"Index service on both id and portconfigs","user":{"login":"mrjana","id":1693482,"avatar_url":"https://avatars.githubusercontent.com/u/1693482?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjana","html_url":"https://github.com/mrjana","followers_url":"https://api.github.com/users/mrjana/followers","following_url":"https://api.github.com/users/mrjana/following{/other_user}","gists_url":"https://api.github.com/users/mrjana/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjana/subscriptions","organizations_url":"https://api.github.com/users/mrjana/orgs","repos_url":"https://api.github.com/users/mrjana/repos","events_url":"https://api.github.com/users/mrjana/events{/privacy}","received_events_url":"https://api.github.com/users/mrjana/received_events","type":"User","site_admin":false},"body":"While trying to update loadbalancer state index the service both on id\r\nand portconfig. From libnetwork point of view a service is not just\r\ndefined by its id but also the ports it exposes. When a service updates\r\nits port its id remains the same but its portconfigs change which should\r\nbe treated as a new service in libnetwork in order to ensure proper\r\ncleanup of old LB state and creation of new LB state.\r\n\r\nSigned-off-by: Jana Radhakrishnan <mrjana@docker.com>","created_at":"2016-06-24T23:40:36Z","updated_at":"2016-06-24T23:40:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/docker/libnetwork/pulls/1292/commits","review_comments_url":"https://api.github.com/repos/docker/libnetwork/pulls/1292/comments","review_comment_url":"https://api.github.com/repos/docker/libnetwork/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/libnetwork/issues/1292/comments","statuses_url":"https://api.github.com/repos/docker/libnetwork/statuses/80f843097285e6eefaaf3263ae9c867e961a9a82","head":{"label":"mrjana:lb","ref":"lb","sha":"80f843097285e6eefaaf3263ae9c867e961a9a82","user":{"login":"mrjana","id":1693482,"avatar_url":"https://avatars.githubusercontent.com/u/1693482?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjana","html_url":"https://github.com/mrjana","followers_url":"https://api.github.com/users/mrjana/followers","following_url":"https://api.github.com/users/mrjana/following{/other_user}","gists_url":"https://api.github.com/users/mrjana/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjana/subscriptions","organizations_url":"https://api.github.com/users/mrjana/orgs","repos_url":"https://api.github.com/users/mrjana/repos","events_url":"https://api.github.com/users/mrjana/events{/privacy}","received_events_url":"https://api.github.com/users/mrjana/received_events","type":"User","site_admin":false},"repo":{"id":33910102,"name":"libnetwork","full_name":"mrjana/libnetwork","owner":{"login":"mrjana","id":1693482,"avatar_url":"https://avatars.githubusercontent.com/u/1693482?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjana","html_url":"https://github.com/mrjana","followers_url":"https://api.github.com/users/mrjana/followers","following_url":"https://api.github.com/users/mrjana/following{/other_user}","gists_url":"https://api.github.com/users/mrjana/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjana/subscriptions","organizations_url":"https://api.github.com/users/mrjana/orgs","repos_url":"https://api.github.com/users/mrjana/repos","events_url":"https://api.github.com/users/mrjana/events{/privacy}","received_events_url":"https://api.github.com/users/mrjana/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrjana/libnetwork","description":"networking for containers","fork":true,"url":"https://api.github.com/repos/mrjana/libnetwork","forks_url":"https://api.github.com/repos/mrjana/libnetwork/forks","keys_url":"https://api.github.com/repos/mrjana/libnetwork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrjana/libnetwork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrjana/libnetwork/teams","hooks_url":"https://api.github.com/repos/mrjana/libnetwork/hooks","issue_events_url":"https://api.github.com/repos/mrjana/libnetwork/issues/events{/number}","events_url":"https://api.github.com/repos/mrjana/libnetwork/events","assignees_url":"https://api.github.com/repos/mrjana/libnetwork/assignees{/user}","branches_url":"https://api.github.com/repos/mrjana/libnetwork/branches{/branch}","tags_url":"https://api.github.com/repos/mrjana/libnetwork/tags","blobs_url":"https://api.github.com/repos/mrjana/libnetwork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrjana/libnetwork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrjana/libnetwork/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrjana/libnetwork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrjana/libnetwork/statuses/{sha}","languages_url":"https://api.github.com/repos/mrjana/libnetwork/languages","stargazers_url":"https://api.github.com/repos/mrjana/libnetwork/stargazers","contributors_url":"https://api.github.com/repos/mrjana/libnetwork/contributors","subscribers_url":"https://api.github.com/repos/mrjana/libnetwork/subscribers","subscription_url":"https://api.github.com/repos/mrjana/libnetwork/subscription","commits_url":"https://api.github.com/repos/mrjana/libnetwork/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrjana/libnetwork/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrjana/libnetwork/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrjana/libnetwork/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrjana/libnetwork/contents/{+path}","compare_url":"https://api.github.com/repos/mrjana/libnetwork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrjana/libnetwork/merges","archive_url":"https://api.github.com/repos/mrjana/libnetwork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrjana/libnetwork/downloads","issues_url":"https://api.github.com/repos/mrjana/libnetwork/issues{/number}","pulls_url":"https://api.github.com/repos/mrjana/libnetwork/pulls{/number}","milestones_url":"https://api.github.com/repos/mrjana/libnetwork/milestones{/number}","notifications_url":"https://api.github.com/repos/mrjana/libnetwork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrjana/libnetwork/labels{/name}","releases_url":"https://api.github.com/repos/mrjana/libnetwork/releases{/id}","deployments_url":"https://api.github.com/repos/mrjana/libnetwork/deployments","created_at":"2015-04-14T04:08:13Z","updated_at":"2015-04-17T04:44:34Z","pushed_at":"2016-06-24T23:39:53Z","git_url":"git://github.com/mrjana/libnetwork.git","ssh_url":"git@github.com:mrjana/libnetwork.git","clone_url":"https://github.com/mrjana/libnetwork.git","svn_url":"https://github.com/mrjana/libnetwork","homepage":"","size":9834,"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":"bbe048cb072baea026208c0f77388599ea822ad6","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-06-24T10:51:51Z","pushed_at":"2016-06-24T22:33:20Z","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":13926,"stargazers_count":686,"watchers_count":686,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":322,"mirror_url":null,"open_issues_count":217,"forks":322,"open_issues":217,"watchers":686,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/libnetwork/pulls/1292"},"html":{"href":"https://github.com/docker/libnetwork/pull/1292"},"issue":{"href":"https://api.github.com/repos/docker/libnetwork/issues/1292"},"comments":{"href":"https://api.github.com/repos/docker/libnetwork/issues/1292/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/libnetwork/pulls/1292/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/libnetwork/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/libnetwork/pulls/1292/commits"},"statuses":{"href":"https://api.github.com/repos/docker/libnetwork/statuses/80f843097285e6eefaaf3263ae9c867e961a9a82"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":39,"deletions":7,"changed_files":3}}
{"actor":{"display_login":"mrjana"}}