{"action":"opened","number":529,"pull_request":{"url":"https://api.github.com/repos/cloudnativelabs/kube-router/pulls/529","id":212896542,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyODk2NTQy","html_url":"https://github.com/cloudnativelabs/kube-router/pull/529","diff_url":"https://github.com/cloudnativelabs/kube-router/pull/529.diff","patch_url":"https://github.com/cloudnativelabs/kube-router/pull/529.patch","issue_url":"https://api.github.com/repos/cloudnativelabs/kube-router/issues/529","number":529,"state":"open","locked":false,"title":"Use ipset to manage multiple CIDRs in a network policy rule","user":{"login":"jimmy-zh","id":6128641,"node_id":"MDQ6VXNlcjYxMjg2NDE=","avatar_url":"https://avatars1.githubusercontent.com/u/6128641?v=4","gravatar_id":"","url":"https://api.github.com/users/jimmy-zh","html_url":"https://github.com/jimmy-zh","followers_url":"https://api.github.com/users/jimmy-zh/followers","following_url":"https://api.github.com/users/jimmy-zh/following{/other_user}","gists_url":"https://api.github.com/users/jimmy-zh/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmy-zh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmy-zh/subscriptions","organizations_url":"https://api.github.com/users/jimmy-zh/orgs","repos_url":"https://api.github.com/users/jimmy-zh/repos","events_url":"https://api.github.com/users/jimmy-zh/events{/privacy}","received_events_url":"https://api.github.com/users/jimmy-zh/received_events","type":"User","site_admin":false},"body":"There are some advantages of using ipset to manage multiple CIDRs in a network policy rule:\r\n1. Fewer iptables rules and better performance.\r\n2. Lay the foundation for supporting the semantics of `except`. I will contribute another PR later to implement this feature.","created_at":"2018-09-04T08:37:53Z","updated_at":"2018-09-04T08:37:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cloudnativelabs/kube-router/pulls/529/commits","review_comments_url":"https://api.github.com/repos/cloudnativelabs/kube-router/pulls/529/comments","review_comment_url":"https://api.github.com/repos/cloudnativelabs/kube-router/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudnativelabs/kube-router/issues/529/comments","statuses_url":"https://api.github.com/repos/cloudnativelabs/kube-router/statuses/712701c8e78e3b08455f7d4cb3f249c1cb810d66","head":{"label":"jimmy-zh:using-ipset-to-manage-multiple-CIDRs","ref":"using-ipset-to-manage-multiple-CIDRs","sha":"712701c8e78e3b08455f7d4cb3f249c1cb810d66","user":{"login":"jimmy-zh","id":6128641,"node_id":"MDQ6VXNlcjYxMjg2NDE=","avatar_url":"https://avatars1.githubusercontent.com/u/6128641?v=4","gravatar_id":"","url":"https://api.github.com/users/jimmy-zh","html_url":"https://github.com/jimmy-zh","followers_url":"https://api.github.com/users/jimmy-zh/followers","following_url":"https://api.github.com/users/jimmy-zh/following{/other_user}","gists_url":"https://api.github.com/users/jimmy-zh/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmy-zh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmy-zh/subscriptions","organizations_url":"https://api.github.com/users/jimmy-zh/orgs","repos_url":"https://api.github.com/users/jimmy-zh/repos","events_url":"https://api.github.com/users/jimmy-zh/events{/privacy}","received_events_url":"https://api.github.com/users/jimmy-zh/received_events","type":"User","site_admin":false},"repo":{"id":139698140,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk2OTgxNDA=","name":"kube-router","full_name":"jimmy-zh/kube-router","owner":{"login":"jimmy-zh","id":6128641,"node_id":"MDQ6VXNlcjYxMjg2NDE=","avatar_url":"https://avatars1.githubusercontent.com/u/6128641?v=4","gravatar_id":"","url":"https://api.github.com/users/jimmy-zh","html_url":"https://github.com/jimmy-zh","followers_url":"https://api.github.com/users/jimmy-zh/followers","following_url":"https://api.github.com/users/jimmy-zh/following{/other_user}","gists_url":"https://api.github.com/users/jimmy-zh/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmy-zh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmy-zh/subscriptions","organizations_url":"https://api.github.com/users/jimmy-zh/orgs","repos_url":"https://api.github.com/users/jimmy-zh/repos","events_url":"https://api.github.com/users/jimmy-zh/events{/privacy}","received_events_url":"https://api.github.com/users/jimmy-zh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jimmy-zh/kube-router","description":"Kube-router, a turnkey solution for Kubernetes networking.","fork":true,"url":"https://api.github.com/repos/jimmy-zh/kube-router","forks_url":"https://api.github.com/repos/jimmy-zh/kube-router/forks","keys_url":"https://api.github.com/repos/jimmy-zh/kube-router/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jimmy-zh/kube-router/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jimmy-zh/kube-router/teams","hooks_url":"https://api.github.com/repos/jimmy-zh/kube-router/hooks","issue_events_url":"https://api.github.com/repos/jimmy-zh/kube-router/issues/events{/number}","events_url":"https://api.github.com/repos/jimmy-zh/kube-router/events","assignees_url":"https://api.github.com/repos/jimmy-zh/kube-router/assignees{/user}","branches_url":"https://api.github.com/repos/jimmy-zh/kube-router/branches{/branch}","tags_url":"https://api.github.com/repos/jimmy-zh/kube-router/tags","blobs_url":"https://api.github.com/repos/jimmy-zh/kube-router/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jimmy-zh/kube-router/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jimmy-zh/kube-router/git/refs{/sha}","trees_url":"https://api.github.com/repos/jimmy-zh/kube-router/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jimmy-zh/kube-router/statuses/{sha}","languages_url":"https://api.github.com/repos/jimmy-zh/kube-router/languages","stargazers_url":"https://api.github.com/repos/jimmy-zh/kube-router/stargazers","contributors_url":"https://api.github.com/repos/jimmy-zh/kube-router/contributors","subscribers_url":"https://api.github.com/repos/jimmy-zh/kube-router/subscribers","subscription_url":"https://api.github.com/repos/jimmy-zh/kube-router/subscription","commits_url":"https://api.github.com/repos/jimmy-zh/kube-router/commits{/sha}","git_commits_url":"https://api.github.com/repos/jimmy-zh/kube-router/git/commits{/sha}","comments_url":"https://api.github.com/repos/jimmy-zh/kube-router/comments{/number}","issue_comment_url":"https://api.github.com/repos/jimmy-zh/kube-router/issues/comments{/number}","contents_url":"https://api.github.com/repos/jimmy-zh/kube-router/contents/{+path}","compare_url":"https://api.github.com/repos/jimmy-zh/kube-router/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jimmy-zh/kube-router/merges","archive_url":"https://api.github.com/repos/jimmy-zh/kube-router/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jimmy-zh/kube-router/downloads","issues_url":"https://api.github.com/repos/jimmy-zh/kube-router/issues{/number}","pulls_url":"https://api.github.com/repos/jimmy-zh/kube-router/pulls{/number}","milestones_url":"https://api.github.com/repos/jimmy-zh/kube-router/milestones{/number}","notifications_url":"https://api.github.com/repos/jimmy-zh/kube-router/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jimmy-zh/kube-router/labels{/name}","releases_url":"https://api.github.com/repos/jimmy-zh/kube-router/releases{/id}","deployments_url":"https://api.github.com/repos/jimmy-zh/kube-router/deployments","created_at":"2018-07-04T09:12:40Z","updated_at":"2018-08-07T12:22:15Z","pushed_at":"2018-09-04T06:47:27Z","git_url":"git://github.com/jimmy-zh/kube-router.git","ssh_url":"git@github.com:jimmy-zh/kube-router.git","clone_url":"https://github.com/jimmy-zh/kube-router.git","svn_url":"https://github.com/jimmy-zh/kube-router","homepage":"https://kube-router.io","size":50048,"stargazers_count":1,"watchers_count":1,"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,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"cloudnativelabs:master","ref":"master","sha":"7496b00ddda85f4f489ae2248c52b9a2b773e3b4","user":{"login":"cloudnativelabs","id":25678764,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1Njc4NzY0","avatar_url":"https://avatars1.githubusercontent.com/u/25678764?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudnativelabs","html_url":"https://github.com/cloudnativelabs","followers_url":"https://api.github.com/users/cloudnativelabs/followers","following_url":"https://api.github.com/users/cloudnativelabs/following{/other_user}","gists_url":"https://api.github.com/users/cloudnativelabs/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudnativelabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudnativelabs/subscriptions","organizations_url":"https://api.github.com/users/cloudnativelabs/orgs","repos_url":"https://api.github.com/users/cloudnativelabs/repos","events_url":"https://api.github.com/users/cloudnativelabs/events{/privacy}","received_events_url":"https://api.github.com/users/cloudnativelabs/received_events","type":"Organization","site_admin":false},"repo":{"id":88471725,"node_id":"MDEwOlJlcG9zaXRvcnk4ODQ3MTcyNQ==","name":"kube-router","full_name":"cloudnativelabs/kube-router","owner":{"login":"cloudnativelabs","id":25678764,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1Njc4NzY0","avatar_url":"https://avatars1.githubusercontent.com/u/25678764?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudnativelabs","html_url":"https://github.com/cloudnativelabs","followers_url":"https://api.github.com/users/cloudnativelabs/followers","following_url":"https://api.github.com/users/cloudnativelabs/following{/other_user}","gists_url":"https://api.github.com/users/cloudnativelabs/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudnativelabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudnativelabs/subscriptions","organizations_url":"https://api.github.com/users/cloudnativelabs/orgs","repos_url":"https://api.github.com/users/cloudnativelabs/repos","events_url":"https://api.github.com/users/cloudnativelabs/events{/privacy}","received_events_url":"https://api.github.com/users/cloudnativelabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudnativelabs/kube-router","description":"Kube-router, a turnkey solution for Kubernetes networking.","fork":false,"url":"https://api.github.com/repos/cloudnativelabs/kube-router","forks_url":"https://api.github.com/repos/cloudnativelabs/kube-router/forks","keys_url":"https://api.github.com/repos/cloudnativelabs/kube-router/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudnativelabs/kube-router/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudnativelabs/kube-router/teams","hooks_url":"https://api.github.com/repos/cloudnativelabs/kube-router/hooks","issue_events_url":"https://api.github.com/repos/cloudnativelabs/kube-router/issues/events{/number}","events_url":"https://api.github.com/repos/cloudnativelabs/kube-router/events","assignees_url":"https://api.github.com/repos/cloudnativelabs/kube-router/assignees{/user}","branches_url":"https://api.github.com/repos/cloudnativelabs/kube-router/branches{/branch}","tags_url":"https://api.github.com/repos/cloudnativelabs/kube-router/tags","blobs_url":"https://api.github.com/repos/cloudnativelabs/kube-router/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudnativelabs/kube-router/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudnativelabs/kube-router/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudnativelabs/kube-router/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudnativelabs/kube-router/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudnativelabs/kube-router/languages","stargazers_url":"https://api.github.com/repos/cloudnativelabs/kube-router/stargazers","contributors_url":"https://api.github.com/repos/cloudnativelabs/kube-router/contributors","subscribers_url":"https://api.github.com/repos/cloudnativelabs/kube-router/subscribers","subscription_url":"https://api.github.com/repos/cloudnativelabs/kube-router/subscription","commits_url":"https://api.github.com/repos/cloudnativelabs/kube-router/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudnativelabs/kube-router/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudnativelabs/kube-router/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudnativelabs/kube-router/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudnativelabs/kube-router/contents/{+path}","compare_url":"https://api.github.com/repos/cloudnativelabs/kube-router/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudnativelabs/kube-router/merges","archive_url":"https://api.github.com/repos/cloudnativelabs/kube-router/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudnativelabs/kube-router/downloads","issues_url":"https://api.github.com/repos/cloudnativelabs/kube-router/issues{/number}","pulls_url":"https://api.github.com/repos/cloudnativelabs/kube-router/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudnativelabs/kube-router/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudnativelabs/kube-router/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudnativelabs/kube-router/labels{/name}","releases_url":"https://api.github.com/repos/cloudnativelabs/kube-router/releases{/id}","deployments_url":"https://api.github.com/repos/cloudnativelabs/kube-router/deployments","created_at":"2017-04-17T04:58:06Z","updated_at":"2018-09-04T07:34:26Z","pushed_at":"2018-09-04T07:03:09Z","git_url":"git://github.com/cloudnativelabs/kube-router.git","ssh_url":"git@github.com:cloudnativelabs/kube-router.git","clone_url":"https://github.com/cloudnativelabs/kube-router.git","svn_url":"https://github.com/cloudnativelabs/kube-router","homepage":"https://kube-router.io","size":50041,"stargazers_count":839,"watchers_count":839,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":152,"mirror_url":null,"archived":false,"open_issues_count":133,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":152,"open_issues":133,"watchers":839,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudnativelabs/kube-router/pulls/529"},"html":{"href":"https://github.com/cloudnativelabs/kube-router/pull/529"},"issue":{"href":"https://api.github.com/repos/cloudnativelabs/kube-router/issues/529"},"comments":{"href":"https://api.github.com/repos/cloudnativelabs/kube-router/issues/529/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudnativelabs/kube-router/pulls/529/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudnativelabs/kube-router/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudnativelabs/kube-router/pulls/529/commits"},"statuses":{"href":"https://api.github.com/repos/cloudnativelabs/kube-router/statuses/712701c8e78e3b08455f7d4cb3f249c1cb810d66"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":59,"deletions":24,"changed_files":1}}
{"actor":{"display_login":"jimmy-zh"}}