{"action":"opened","number":1039,"pull_request":{"url":"https://api.github.com/repos/contiv/vpp/pulls/1039","id":209116277,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5MTE2Mjc3","html_url":"https://github.com/contiv/vpp/pull/1039","diff_url":"https://github.com/contiv/vpp/pull/1039.diff","patch_url":"https://github.com/contiv/vpp/pull/1039.patch","issue_url":"https://api.github.com/repos/contiv/vpp/issues/1039","number":1039,"state":"open","locked":false,"title":"Expose IPAM state via REST","user":{"login":"deathbeam","id":5115805,"node_id":"MDQ6VXNlcjUxMTU4MDU=","avatar_url":"https://avatars3.githubusercontent.com/u/5115805?v=4","gravatar_id":"","url":"https://api.github.com/users/deathbeam","html_url":"https://github.com/deathbeam","followers_url":"https://api.github.com/users/deathbeam/followers","following_url":"https://api.github.com/users/deathbeam/following{/other_user}","gists_url":"https://api.github.com/users/deathbeam/gists{/gist_id}","starred_url":"https://api.github.com/users/deathbeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deathbeam/subscriptions","organizations_url":"https://api.github.com/users/deathbeam/orgs","repos_url":"https://api.github.com/users/deathbeam/repos","events_url":"https://api.github.com/users/deathbeam/events{/privacy}","received_events_url":"https://api.github.com/users/deathbeam/received_events","type":"User","site_admin":false},"body":"Expose IPAM state:\r\n{\r\n  nodeId,\r\n  nodeIP,\r\n  nodeName,\r\n  podNetwork,\r\n  vppHostNetwork\r\n}\r\n\r\nvia HTPP REST interface (endpoint is GET /ipam).\r\n\r\nExample output:\r\n\r\n```json\r\n$ http 10.0.2.15:9999/ipam\r\nHTTP/1.1 200 OK\r\nContent-Length: 158\r\nContent-Type: application/json; charset=UTF-8\r\nDate: Fri, 17 Aug 2018 11:07:53 GMT\r\n\r\n{\r\n    \"nodeIP\": \"192.168.16.1\",\r\n    \"nodeId\": 1,\r\n    \"nodeName\": \"vagrant-arch.vagrantup.com\",\r\n    \"podNetwork\": \"10.1.1.0/24\",\r\n    \"vppHostNetwork\": \"172.30.1.0/24\"\r\n}\r\n```\r\n\r\nSigned-off-by: Tomas Slusny <slusnucky@gmail.com>","created_at":"2018-08-17T11:08:13Z","updated_at":"2018-08-17T11:08:13Z","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/contiv/vpp/pulls/1039/commits","review_comments_url":"https://api.github.com/repos/contiv/vpp/pulls/1039/comments","review_comment_url":"https://api.github.com/repos/contiv/vpp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/contiv/vpp/issues/1039/comments","statuses_url":"https://api.github.com/repos/contiv/vpp/statuses/16f298c1a81b2a6b254c79e6bc321aa1571b44d8","head":{"label":"deathbeam:add-dump-of-ipam","ref":"add-dump-of-ipam","sha":"16f298c1a81b2a6b254c79e6bc321aa1571b44d8","user":{"login":"deathbeam","id":5115805,"node_id":"MDQ6VXNlcjUxMTU4MDU=","avatar_url":"https://avatars3.githubusercontent.com/u/5115805?v=4","gravatar_id":"","url":"https://api.github.com/users/deathbeam","html_url":"https://github.com/deathbeam","followers_url":"https://api.github.com/users/deathbeam/followers","following_url":"https://api.github.com/users/deathbeam/following{/other_user}","gists_url":"https://api.github.com/users/deathbeam/gists{/gist_id}","starred_url":"https://api.github.com/users/deathbeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deathbeam/subscriptions","organizations_url":"https://api.github.com/users/deathbeam/orgs","repos_url":"https://api.github.com/users/deathbeam/repos","events_url":"https://api.github.com/users/deathbeam/events{/privacy}","received_events_url":"https://api.github.com/users/deathbeam/received_events","type":"User","site_admin":false},"repo":{"id":143426367,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM0MjYzNjc=","name":"vpp","full_name":"deathbeam/vpp","owner":{"login":"deathbeam","id":5115805,"node_id":"MDQ6VXNlcjUxMTU4MDU=","avatar_url":"https://avatars3.githubusercontent.com/u/5115805?v=4","gravatar_id":"","url":"https://api.github.com/users/deathbeam","html_url":"https://github.com/deathbeam","followers_url":"https://api.github.com/users/deathbeam/followers","following_url":"https://api.github.com/users/deathbeam/following{/other_user}","gists_url":"https://api.github.com/users/deathbeam/gists{/gist_id}","starred_url":"https://api.github.com/users/deathbeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deathbeam/subscriptions","organizations_url":"https://api.github.com/users/deathbeam/orgs","repos_url":"https://api.github.com/users/deathbeam/repos","events_url":"https://api.github.com/users/deathbeam/events{/privacy}","received_events_url":"https://api.github.com/users/deathbeam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deathbeam/vpp","description":"Kubernetes CNI plugin based on the FD.io VPP","fork":true,"url":"https://api.github.com/repos/deathbeam/vpp","forks_url":"https://api.github.com/repos/deathbeam/vpp/forks","keys_url":"https://api.github.com/repos/deathbeam/vpp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deathbeam/vpp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deathbeam/vpp/teams","hooks_url":"https://api.github.com/repos/deathbeam/vpp/hooks","issue_events_url":"https://api.github.com/repos/deathbeam/vpp/issues/events{/number}","events_url":"https://api.github.com/repos/deathbeam/vpp/events","assignees_url":"https://api.github.com/repos/deathbeam/vpp/assignees{/user}","branches_url":"https://api.github.com/repos/deathbeam/vpp/branches{/branch}","tags_url":"https://api.github.com/repos/deathbeam/vpp/tags","blobs_url":"https://api.github.com/repos/deathbeam/vpp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deathbeam/vpp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deathbeam/vpp/git/refs{/sha}","trees_url":"https://api.github.com/repos/deathbeam/vpp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deathbeam/vpp/statuses/{sha}","languages_url":"https://api.github.com/repos/deathbeam/vpp/languages","stargazers_url":"https://api.github.com/repos/deathbeam/vpp/stargazers","contributors_url":"https://api.github.com/repos/deathbeam/vpp/contributors","subscribers_url":"https://api.github.com/repos/deathbeam/vpp/subscribers","subscription_url":"https://api.github.com/repos/deathbeam/vpp/subscription","commits_url":"https://api.github.com/repos/deathbeam/vpp/commits{/sha}","git_commits_url":"https://api.github.com/repos/deathbeam/vpp/git/commits{/sha}","comments_url":"https://api.github.com/repos/deathbeam/vpp/comments{/number}","issue_comment_url":"https://api.github.com/repos/deathbeam/vpp/issues/comments{/number}","contents_url":"https://api.github.com/repos/deathbeam/vpp/contents/{+path}","compare_url":"https://api.github.com/repos/deathbeam/vpp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deathbeam/vpp/merges","archive_url":"https://api.github.com/repos/deathbeam/vpp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deathbeam/vpp/downloads","issues_url":"https://api.github.com/repos/deathbeam/vpp/issues{/number}","pulls_url":"https://api.github.com/repos/deathbeam/vpp/pulls{/number}","milestones_url":"https://api.github.com/repos/deathbeam/vpp/milestones{/number}","notifications_url":"https://api.github.com/repos/deathbeam/vpp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deathbeam/vpp/labels{/name}","releases_url":"https://api.github.com/repos/deathbeam/vpp/releases{/id}","deployments_url":"https://api.github.com/repos/deathbeam/vpp/deployments","created_at":"2018-08-03T12:45:51Z","updated_at":"2018-08-03T12:45:53Z","pushed_at":"2018-08-17T11:07:23Z","git_url":"git://github.com/deathbeam/vpp.git","ssh_url":"git@github.com:deathbeam/vpp.git","clone_url":"https://github.com/deathbeam/vpp.git","svn_url":"https://github.com/deathbeam/vpp","homepage":"","size":101741,"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,"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":0,"default_branch":"master"}},"base":{"label":"contiv:master","ref":"master","sha":"68ebcacb4e5228a85b6c1e96c6eefd57aec6c01c","user":{"login":"contiv","id":10272443,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMjcyNDQz","avatar_url":"https://avatars3.githubusercontent.com/u/10272443?v=4","gravatar_id":"","url":"https://api.github.com/users/contiv","html_url":"https://github.com/contiv","followers_url":"https://api.github.com/users/contiv/followers","following_url":"https://api.github.com/users/contiv/following{/other_user}","gists_url":"https://api.github.com/users/contiv/gists{/gist_id}","starred_url":"https://api.github.com/users/contiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contiv/subscriptions","organizations_url":"https://api.github.com/users/contiv/orgs","repos_url":"https://api.github.com/users/contiv/repos","events_url":"https://api.github.com/users/contiv/events{/privacy}","received_events_url":"https://api.github.com/users/contiv/received_events","type":"Organization","site_admin":false},"repo":{"id":105586071,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU1ODYwNzE=","name":"vpp","full_name":"contiv/vpp","owner":{"login":"contiv","id":10272443,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMjcyNDQz","avatar_url":"https://avatars3.githubusercontent.com/u/10272443?v=4","gravatar_id":"","url":"https://api.github.com/users/contiv","html_url":"https://github.com/contiv","followers_url":"https://api.github.com/users/contiv/followers","following_url":"https://api.github.com/users/contiv/following{/other_user}","gists_url":"https://api.github.com/users/contiv/gists{/gist_id}","starred_url":"https://api.github.com/users/contiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contiv/subscriptions","organizations_url":"https://api.github.com/users/contiv/orgs","repos_url":"https://api.github.com/users/contiv/repos","events_url":"https://api.github.com/users/contiv/events{/privacy}","received_events_url":"https://api.github.com/users/contiv/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/contiv/vpp","description":"Kubernetes CNI plugin based on the FD.io VPP","fork":false,"url":"https://api.github.com/repos/contiv/vpp","forks_url":"https://api.github.com/repos/contiv/vpp/forks","keys_url":"https://api.github.com/repos/contiv/vpp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contiv/vpp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contiv/vpp/teams","hooks_url":"https://api.github.com/repos/contiv/vpp/hooks","issue_events_url":"https://api.github.com/repos/contiv/vpp/issues/events{/number}","events_url":"https://api.github.com/repos/contiv/vpp/events","assignees_url":"https://api.github.com/repos/contiv/vpp/assignees{/user}","branches_url":"https://api.github.com/repos/contiv/vpp/branches{/branch}","tags_url":"https://api.github.com/repos/contiv/vpp/tags","blobs_url":"https://api.github.com/repos/contiv/vpp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contiv/vpp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contiv/vpp/git/refs{/sha}","trees_url":"https://api.github.com/repos/contiv/vpp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contiv/vpp/statuses/{sha}","languages_url":"https://api.github.com/repos/contiv/vpp/languages","stargazers_url":"https://api.github.com/repos/contiv/vpp/stargazers","contributors_url":"https://api.github.com/repos/contiv/vpp/contributors","subscribers_url":"https://api.github.com/repos/contiv/vpp/subscribers","subscription_url":"https://api.github.com/repos/contiv/vpp/subscription","commits_url":"https://api.github.com/repos/contiv/vpp/commits{/sha}","git_commits_url":"https://api.github.com/repos/contiv/vpp/git/commits{/sha}","comments_url":"https://api.github.com/repos/contiv/vpp/comments{/number}","issue_comment_url":"https://api.github.com/repos/contiv/vpp/issues/comments{/number}","contents_url":"https://api.github.com/repos/contiv/vpp/contents/{+path}","compare_url":"https://api.github.com/repos/contiv/vpp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contiv/vpp/merges","archive_url":"https://api.github.com/repos/contiv/vpp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contiv/vpp/downloads","issues_url":"https://api.github.com/repos/contiv/vpp/issues{/number}","pulls_url":"https://api.github.com/repos/contiv/vpp/pulls{/number}","milestones_url":"https://api.github.com/repos/contiv/vpp/milestones{/number}","notifications_url":"https://api.github.com/repos/contiv/vpp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contiv/vpp/labels{/name}","releases_url":"https://api.github.com/repos/contiv/vpp/releases{/id}","deployments_url":"https://api.github.com/repos/contiv/vpp/deployments","created_at":"2017-10-02T21:17:26Z","updated_at":"2018-08-16T14:45:48Z","pushed_at":"2018-08-16T18:19:49Z","git_url":"git://github.com/contiv/vpp.git","ssh_url":"git@github.com:contiv/vpp.git","clone_url":"https://github.com/contiv/vpp.git","svn_url":"https://github.com/contiv/vpp","homepage":"","size":90189,"stargazers_count":60,"watchers_count":60,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"archived":false,"open_issues_count":5,"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":39,"open_issues":5,"watchers":60,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/contiv/vpp/pulls/1039"},"html":{"href":"https://github.com/contiv/vpp/pull/1039"},"issue":{"href":"https://api.github.com/repos/contiv/vpp/issues/1039"},"comments":{"href":"https://api.github.com/repos/contiv/vpp/issues/1039/comments"},"review_comments":{"href":"https://api.github.com/repos/contiv/vpp/pulls/1039/comments"},"review_comment":{"href":"https://api.github.com/repos/contiv/vpp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/contiv/vpp/pulls/1039/commits"},"statuses":{"href":"https://api.github.com/repos/contiv/vpp/statuses/16f298c1a81b2a6b254c79e6bc321aa1571b44d8"}},"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":1,"additions":90,"deletions":20,"changed_files":8}}
{"actor":{"display_login":"deathbeam"}}