{"action":"created","comment":{"url":"https://api.github.com/repos/ligato/bgp-agent/pulls/comments/141391831","pull_request_review_id":65598712,"id":141391831,"diff_hunk":"@@ -0,0 +1,154 @@\n+// Copyright (c) 2017 Pantheon technologies s.r.o.\n+//\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at:\n+//\n+//     http://www.apache.org/licenses/LICENSE-2.0\n+//\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS,\n+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+// See the License for the specific language governing permissions and\n+// limitations under the License.\n+\n+//Package gobgp contains Ligato GoBGP BGP Plugin implementation\n+package gobgp\n+\n+import (\n+\tlog \"github.com/ligato/cn-infra/logging/logrus\"\n+\tgoBgpConfig \"github.com/osrg/gobgp/config\"\n+\tgoBgpServer \"github.com/osrg/gobgp/server\"\n+\t\"github.com/ligato/bgp-agent/bgp\"\n+\t\"github.com/ligato/bgp-agent/bgp/nlri\"\n+\t\"github.com/ligato/bgp-agent/utils/gobgp\"","path":"bgp/gobgp/plugin.go","position":24,"original_position":24,"commit_id":"53cb81f7c7ef97e33892e1ec33d3350a96ce0ddd","original_commit_id":"53cb81f7c7ef97e33892e1ec33d3350a96ce0ddd","user":{"login":"jozef-slezak","id":16844103,"avatar_url":"https://avatars2.githubusercontent.com/u/16844103?v=4","gravatar_id":"","url":"https://api.github.com/users/jozef-slezak","html_url":"https://github.com/jozef-slezak","followers_url":"https://api.github.com/users/jozef-slezak/followers","following_url":"https://api.github.com/users/jozef-slezak/following{/other_user}","gists_url":"https://api.github.com/users/jozef-slezak/gists{/gist_id}","starred_url":"https://api.github.com/users/jozef-slezak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jozef-slezak/subscriptions","organizations_url":"https://api.github.com/users/jozef-slezak/orgs","repos_url":"https://api.github.com/users/jozef-slezak/repos","events_url":"https://api.github.com/users/jozef-slezak/events{/privacy}","received_events_url":"https://api.github.com/users/jozef-slezak/received_events","type":"User","site_admin":false},"body":"We do not need this, just have a constant","created_at":"2017-09-27T16:05:25Z","updated_at":"2017-09-27T16:05:26Z","html_url":"https://github.com/ligato/bgp-agent/pull/1#discussion_r141391831","pull_request_url":"https://api.github.com/repos/ligato/bgp-agent/pulls/1","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ligato/bgp-agent/pulls/comments/141391831"},"html":{"href":"https://github.com/ligato/bgp-agent/pull/1#discussion_r141391831"},"pull_request":{"href":"https://api.github.com/repos/ligato/bgp-agent/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/ligato/bgp-agent/pulls/1","id":143395312,"html_url":"https://github.com/ligato/bgp-agent/pull/1","diff_url":"https://github.com/ligato/bgp-agent/pull/1.diff","patch_url":"https://github.com/ligato/bgp-agent/pull/1.patch","issue_url":"https://api.github.com/repos/ligato/bgp-agent/issues/1","number":1,"state":"open","locked":false,"title":"GoBGP plugin impl + vendor,glide files","user":{"login":"fgschwan","id":20972999,"avatar_url":"https://avatars3.githubusercontent.com/u/20972999?v=4","gravatar_id":"","url":"https://api.github.com/users/fgschwan","html_url":"https://github.com/fgschwan","followers_url":"https://api.github.com/users/fgschwan/followers","following_url":"https://api.github.com/users/fgschwan/following{/other_user}","gists_url":"https://api.github.com/users/fgschwan/gists{/gist_id}","starred_url":"https://api.github.com/users/fgschwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgschwan/subscriptions","organizations_url":"https://api.github.com/users/fgschwan/orgs","repos_url":"https://api.github.com/users/fgschwan/repos","events_url":"https://api.github.com/users/fgschwan/events{/privacy}","received_events_url":"https://api.github.com/users/fgschwan/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-09-27T13:40:06Z","updated_at":"2017-09-27T16:05:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"530dd5657f574f1f0b95d3e335663f488ae079e1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ligato/bgp-agent/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ligato/bgp-agent/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ligato/bgp-agent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ligato/bgp-agent/issues/1/comments","statuses_url":"https://api.github.com/repos/ligato/bgp-agent/statuses/53cb81f7c7ef97e33892e1ec33d3350a96ce0ddd","head":{"label":"fgschwan:master","ref":"master","sha":"53cb81f7c7ef97e33892e1ec33d3350a96ce0ddd","user":{"login":"fgschwan","id":20972999,"avatar_url":"https://avatars3.githubusercontent.com/u/20972999?v=4","gravatar_id":"","url":"https://api.github.com/users/fgschwan","html_url":"https://github.com/fgschwan","followers_url":"https://api.github.com/users/fgschwan/followers","following_url":"https://api.github.com/users/fgschwan/following{/other_user}","gists_url":"https://api.github.com/users/fgschwan/gists{/gist_id}","starred_url":"https://api.github.com/users/fgschwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgschwan/subscriptions","organizations_url":"https://api.github.com/users/fgschwan/orgs","repos_url":"https://api.github.com/users/fgschwan/repos","events_url":"https://api.github.com/users/fgschwan/events{/privacy}","received_events_url":"https://api.github.com/users/fgschwan/received_events","type":"User","site_admin":false},"repo":{"id":105016796,"name":"bgp-agent","full_name":"fgschwan/bgp-agent","owner":{"login":"fgschwan","id":20972999,"avatar_url":"https://avatars3.githubusercontent.com/u/20972999?v=4","gravatar_id":"","url":"https://api.github.com/users/fgschwan","html_url":"https://github.com/fgschwan","followers_url":"https://api.github.com/users/fgschwan/followers","following_url":"https://api.github.com/users/fgschwan/following{/other_user}","gists_url":"https://api.github.com/users/fgschwan/gists{/gist_id}","starred_url":"https://api.github.com/users/fgschwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgschwan/subscriptions","organizations_url":"https://api.github.com/users/fgschwan/orgs","repos_url":"https://api.github.com/users/fgschwan/repos","events_url":"https://api.github.com/users/fgschwan/events{/privacy}","received_events_url":"https://api.github.com/users/fgschwan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fgschwan/bgp-agent","description":"Cloud-native BGP","fork":true,"url":"https://api.github.com/repos/fgschwan/bgp-agent","forks_url":"https://api.github.com/repos/fgschwan/bgp-agent/forks","keys_url":"https://api.github.com/repos/fgschwan/bgp-agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fgschwan/bgp-agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fgschwan/bgp-agent/teams","hooks_url":"https://api.github.com/repos/fgschwan/bgp-agent/hooks","issue_events_url":"https://api.github.com/repos/fgschwan/bgp-agent/issues/events{/number}","events_url":"https://api.github.com/repos/fgschwan/bgp-agent/events","assignees_url":"https://api.github.com/repos/fgschwan/bgp-agent/assignees{/user}","branches_url":"https://api.github.com/repos/fgschwan/bgp-agent/branches{/branch}","tags_url":"https://api.github.com/repos/fgschwan/bgp-agent/tags","blobs_url":"https://api.github.com/repos/fgschwan/bgp-agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fgschwan/bgp-agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fgschwan/bgp-agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/fgschwan/bgp-agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fgschwan/bgp-agent/statuses/{sha}","languages_url":"https://api.github.com/repos/fgschwan/bgp-agent/languages","stargazers_url":"https://api.github.com/repos/fgschwan/bgp-agent/stargazers","contributors_url":"https://api.github.com/repos/fgschwan/bgp-agent/contributors","subscribers_url":"https://api.github.com/repos/fgschwan/bgp-agent/subscribers","subscription_url":"https://api.github.com/repos/fgschwan/bgp-agent/subscription","commits_url":"https://api.github.com/repos/fgschwan/bgp-agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/fgschwan/bgp-agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/fgschwan/bgp-agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/fgschwan/bgp-agent/issues/comments{/number}","contents_url":"https://api.github.com/repos/fgschwan/bgp-agent/contents/{+path}","compare_url":"https://api.github.com/repos/fgschwan/bgp-agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fgschwan/bgp-agent/merges","archive_url":"https://api.github.com/repos/fgschwan/bgp-agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fgschwan/bgp-agent/downloads","issues_url":"https://api.github.com/repos/fgschwan/bgp-agent/issues{/number}","pulls_url":"https://api.github.com/repos/fgschwan/bgp-agent/pulls{/number}","milestones_url":"https://api.github.com/repos/fgschwan/bgp-agent/milestones{/number}","notifications_url":"https://api.github.com/repos/fgschwan/bgp-agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fgschwan/bgp-agent/labels{/name}","releases_url":"https://api.github.com/repos/fgschwan/bgp-agent/releases{/id}","deployments_url":"https://api.github.com/repos/fgschwan/bgp-agent/deployments","created_at":"2017-09-27T12:42:13Z","updated_at":"2017-09-27T13:37:17Z","pushed_at":"2017-09-27T13:55:50Z","git_url":"git://github.com/fgschwan/bgp-agent.git","ssh_url":"git@github.com:fgschwan/bgp-agent.git","clone_url":"https://github.com/fgschwan/bgp-agent.git","svn_url":"https://github.com/fgschwan/bgp-agent","homepage":null,"size":14054,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ligato:master","ref":"master","sha":"e9d6f96a65c1a46bc931bfeb26870ddab7c417b4","user":{"login":"ligato","id":28989152,"avatar_url":"https://avatars0.githubusercontent.com/u/28989152?v=4","gravatar_id":"","url":"https://api.github.com/users/ligato","html_url":"https://github.com/ligato","followers_url":"https://api.github.com/users/ligato/followers","following_url":"https://api.github.com/users/ligato/following{/other_user}","gists_url":"https://api.github.com/users/ligato/gists{/gist_id}","starred_url":"https://api.github.com/users/ligato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligato/subscriptions","organizations_url":"https://api.github.com/users/ligato/orgs","repos_url":"https://api.github.com/users/ligato/repos","events_url":"https://api.github.com/users/ligato/events{/privacy}","received_events_url":"https://api.github.com/users/ligato/received_events","type":"Organization","site_admin":false},"repo":{"id":105001064,"name":"bgp-agent","full_name":"ligato/bgp-agent","owner":{"login":"ligato","id":28989152,"avatar_url":"https://avatars0.githubusercontent.com/u/28989152?v=4","gravatar_id":"","url":"https://api.github.com/users/ligato","html_url":"https://github.com/ligato","followers_url":"https://api.github.com/users/ligato/followers","following_url":"https://api.github.com/users/ligato/following{/other_user}","gists_url":"https://api.github.com/users/ligato/gists{/gist_id}","starred_url":"https://api.github.com/users/ligato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligato/subscriptions","organizations_url":"https://api.github.com/users/ligato/orgs","repos_url":"https://api.github.com/users/ligato/repos","events_url":"https://api.github.com/users/ligato/events{/privacy}","received_events_url":"https://api.github.com/users/ligato/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ligato/bgp-agent","description":"Cloud-native BGP","fork":false,"url":"https://api.github.com/repos/ligato/bgp-agent","forks_url":"https://api.github.com/repos/ligato/bgp-agent/forks","keys_url":"https://api.github.com/repos/ligato/bgp-agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ligato/bgp-agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ligato/bgp-agent/teams","hooks_url":"https://api.github.com/repos/ligato/bgp-agent/hooks","issue_events_url":"https://api.github.com/repos/ligato/bgp-agent/issues/events{/number}","events_url":"https://api.github.com/repos/ligato/bgp-agent/events","assignees_url":"https://api.github.com/repos/ligato/bgp-agent/assignees{/user}","branches_url":"https://api.github.com/repos/ligato/bgp-agent/branches{/branch}","tags_url":"https://api.github.com/repos/ligato/bgp-agent/tags","blobs_url":"https://api.github.com/repos/ligato/bgp-agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ligato/bgp-agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ligato/bgp-agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/ligato/bgp-agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ligato/bgp-agent/statuses/{sha}","languages_url":"https://api.github.com/repos/ligato/bgp-agent/languages","stargazers_url":"https://api.github.com/repos/ligato/bgp-agent/stargazers","contributors_url":"https://api.github.com/repos/ligato/bgp-agent/contributors","subscribers_url":"https://api.github.com/repos/ligato/bgp-agent/subscribers","subscription_url":"https://api.github.com/repos/ligato/bgp-agent/subscription","commits_url":"https://api.github.com/repos/ligato/bgp-agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/ligato/bgp-agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/ligato/bgp-agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/ligato/bgp-agent/issues/comments{/number}","contents_url":"https://api.github.com/repos/ligato/bgp-agent/contents/{+path}","compare_url":"https://api.github.com/repos/ligato/bgp-agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ligato/bgp-agent/merges","archive_url":"https://api.github.com/repos/ligato/bgp-agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ligato/bgp-agent/downloads","issues_url":"https://api.github.com/repos/ligato/bgp-agent/issues{/number}","pulls_url":"https://api.github.com/repos/ligato/bgp-agent/pulls{/number}","milestones_url":"https://api.github.com/repos/ligato/bgp-agent/milestones{/number}","notifications_url":"https://api.github.com/repos/ligato/bgp-agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ligato/bgp-agent/labels{/name}","releases_url":"https://api.github.com/repos/ligato/bgp-agent/releases{/id}","deployments_url":"https://api.github.com/repos/ligato/bgp-agent/deployments","created_at":"2017-09-27T09:45:44Z","updated_at":"2017-09-27T09:46:04Z","pushed_at":"2017-09-27T13:55:51Z","git_url":"git://github.com/ligato/bgp-agent.git","ssh_url":"git@github.com:ligato/bgp-agent.git","clone_url":"https://github.com/ligato/bgp-agent.git","svn_url":"https://github.com/ligato/bgp-agent","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ligato/bgp-agent/pulls/1"},"html":{"href":"https://github.com/ligato/bgp-agent/pull/1"},"issue":{"href":"https://api.github.com/repos/ligato/bgp-agent/issues/1"},"comments":{"href":"https://api.github.com/repos/ligato/bgp-agent/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ligato/bgp-agent/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ligato/bgp-agent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ligato/bgp-agent/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ligato/bgp-agent/statuses/53cb81f7c7ef97e33892e1ec33d3350a96ce0ddd"}},"author_association":"NONE"}}
{"actor":{"display_login":"jozef-slezak"}}