{"action":"created","comment":{"url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/pulls/comments/27710906","id":27710906,"diff_hunk":"@@ -0,0 +1,150 @@\n+/*\r\n+* Copyright (c) 2014 Microsoft Open Technologies, Inc.\r\n+*\r\n+*    Licensed under the Apache License, Version 2.0 (the \"License\"); you may\r\n+*    not use this file except in compliance with the License. You may obtain\r\n+*    a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\r\n+*\r\n+*    THIS CODE IS PROVIDED ON AN  *AS IS* BASIS, WITHOUT WARRANTIES OR\r\n+*    CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT\r\n+*    LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS\r\n+*    FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT.\r\n+*\r\n+*    See the Apache Version 2.0 License for specific language governing\r\n+*    permissions and limitations under the License.\r\n+*\r\n+*    Microsoft would like to thank the following companies for their review and\r\n+*    assistance with these files: Intel Corporation, Mellanox Technologies Ltd,\r\n+*    Dell Products, L.P., Facebook, Inc\r\n+*\r\n+* Module Name:\r\n+*\r\n+*    saitunnel.h\r\n+*\r\n+* Abstract:\r\n+*\r\n+*    This module defines SAI Tunnel API\r\n+*\r\n+*/\r\n+\r\n+#if !defined (__SAITUNNEL_H_)\r\n+#define __SAITUNNEL_H_\r\n+\r\n+#include <saitypes.h>\r\n+\r\n+/*\r\n+* Tunnel type\r\n+*/\r\n+typedef enum _sai_tunnel_type_t\r\n+{\r\n+    /* The IP-in-IP tunnel type */\r\n+    SAI_TUNNEL_IP_IN_IP,\r\n+\r\n+} sai_tunnel_type_t;\r\n+\r\n+/*\r\n+*  Attribute id for tunnel\r\n+*/\r\n+typedef enum _sai_tunnel_attr_t\r\n+{\r\n+    /* READ-ONLY */\r\n+\r\n+    /* READ-WRITE */\r\n+\r\n+    /* Tunnel entry source ip address [sai_ip_address_t] (MANDATORY_ON_CREATE|CREATE_ONLY) */\r\n+    SAI_TUNNEL_ATTR_SIP,\r\n+\r\n+    /* Tunnel entry destination ip address [sai_ip_address_t] (MANDATORY_ON_CREATE|CREATE_ONLY) */\r","path":"sai/inc/saitunnel.h","position":57,"original_position":57,"commit_id":"69905799767552be190260968b37b549deaa676f","original_commit_id":"69905799767552be190260968b37b549deaa676f","user":{"login":"lguohan","id":2293967,"avatar_url":"https://avatars.githubusercontent.com/u/2293967?v=3","gravatar_id":"","url":"https://api.github.com/users/lguohan","html_url":"https://github.com/lguohan","followers_url":"https://api.github.com/users/lguohan/followers","following_url":"https://api.github.com/users/lguohan/following{/other_user}","gists_url":"https://api.github.com/users/lguohan/gists{/gist_id}","starred_url":"https://api.github.com/users/lguohan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lguohan/subscriptions","organizations_url":"https://api.github.com/users/lguohan/orgs","repos_url":"https://api.github.com/users/lguohan/repos","events_url":"https://api.github.com/users/lguohan/events{/privacy}","received_events_url":"https://api.github.com/users/lguohan/received_events","type":"User","site_admin":false},"body":"CREATE_ONLY->CREATE_AND_SET","created_at":"2015-04-03T01:17:55Z","updated_at":"2015-04-03T01:17:55Z","html_url":"https://github.com/lguohan/OCP-Networking-Project-Community-Contributions/pull/1#discussion_r27710906","pull_request_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/pulls/comments/27710906"},"html":{"href":"https://github.com/lguohan/OCP-Networking-Project-Community-Contributions/pull/1#discussion_r27710906"},"pull_request":{"href":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/pulls/1","id":32563974,"html_url":"https://github.com/lguohan/OCP-Networking-Project-Community-Contributions/pull/1","diff_url":"https://github.com/lguohan/OCP-Networking-Project-Community-Contributions/pull/1.diff","patch_url":"https://github.com/lguohan/OCP-Networking-Project-Community-Contributions/pull/1.patch","issue_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/issues/1","number":1,"state":"open","locked":false,"title":"Sai tunnel API","user":{"login":"jiacao","id":11776559,"avatar_url":"https://avatars.githubusercontent.com/u/11776559?v=3","gravatar_id":"","url":"https://api.github.com/users/jiacao","html_url":"https://github.com/jiacao","followers_url":"https://api.github.com/users/jiacao/followers","following_url":"https://api.github.com/users/jiacao/following{/other_user}","gists_url":"https://api.github.com/users/jiacao/gists{/gist_id}","starred_url":"https://api.github.com/users/jiacao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiacao/subscriptions","organizations_url":"https://api.github.com/users/jiacao/orgs","repos_url":"https://api.github.com/users/jiacao/repos","events_url":"https://api.github.com/users/jiacao/events{/privacy}","received_events_url":"https://api.github.com/users/jiacao/received_events","type":"User","site_admin":false},"body":"Sai tunnel API","created_at":"2015-04-03T01:11:46Z","updated_at":"2015-04-03T01:17:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"483d5cd42cd1beabde86bd5cee11ce0cb800f75a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/pulls/1/commits","review_comments_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/pulls/1/comments","review_comment_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/issues/1/comments","statuses_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/statuses/69905799767552be190260968b37b549deaa676f","head":{"label":"jiacao:v0.9.2","ref":"v0.9.2","sha":"69905799767552be190260968b37b549deaa676f","user":{"login":"jiacao","id":11776559,"avatar_url":"https://avatars.githubusercontent.com/u/11776559?v=3","gravatar_id":"","url":"https://api.github.com/users/jiacao","html_url":"https://github.com/jiacao","followers_url":"https://api.github.com/users/jiacao/followers","following_url":"https://api.github.com/users/jiacao/following{/other_user}","gists_url":"https://api.github.com/users/jiacao/gists{/gist_id}","starred_url":"https://api.github.com/users/jiacao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiacao/subscriptions","organizations_url":"https://api.github.com/users/jiacao/orgs","repos_url":"https://api.github.com/users/jiacao/repos","events_url":"https://api.github.com/users/jiacao/events{/privacy}","received_events_url":"https://api.github.com/users/jiacao/received_events","type":"User","site_admin":false},"repo":{"id":33329665,"name":"OCP-Networking-Project-Community-Contributions","full_name":"jiacao/OCP-Networking-Project-Community-Contributions","owner":{"login":"jiacao","id":11776559,"avatar_url":"https://avatars.githubusercontent.com/u/11776559?v=3","gravatar_id":"","url":"https://api.github.com/users/jiacao","html_url":"https://github.com/jiacao","followers_url":"https://api.github.com/users/jiacao/followers","following_url":"https://api.github.com/users/jiacao/following{/other_user}","gists_url":"https://api.github.com/users/jiacao/gists{/gist_id}","starred_url":"https://api.github.com/users/jiacao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiacao/subscriptions","organizations_url":"https://api.github.com/users/jiacao/orgs","repos_url":"https://api.github.com/users/jiacao/repos","events_url":"https://api.github.com/users/jiacao/events{/privacy}","received_events_url":"https://api.github.com/users/jiacao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jiacao/OCP-Networking-Project-Community-Contributions","description":"WARNING: This repository will hold software contributions that are being worked on collaboratively by the OCP Networking Community. Code in this repository has not yet been approved and accepted by the OCP Incubation Committee.  Software in this repository should be not be used on production machines and should be treated as you would any Alpha/Beta release or any software that is in development.","fork":true,"url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions","forks_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/forks","keys_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/teams","hooks_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/hooks","issue_events_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/issues/events{/number}","events_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/events","assignees_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/assignees{/user}","branches_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/branches{/branch}","tags_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/tags","blobs_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/git/refs{/sha}","trees_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/statuses/{sha}","languages_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/languages","stargazers_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/stargazers","contributors_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/contributors","subscribers_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/subscribers","subscription_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/subscription","commits_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/commits{/sha}","git_commits_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/git/commits{/sha}","comments_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/comments{/number}","issue_comment_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/issues/comments{/number}","contents_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/contents/{+path}","compare_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/merges","archive_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/downloads","issues_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/issues{/number}","pulls_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/pulls{/number}","milestones_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/milestones{/number}","notifications_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/labels{/name}","releases_url":"https://api.github.com/repos/jiacao/OCP-Networking-Project-Community-Contributions/releases{/id}","created_at":"2015-04-02T20:13:57Z","updated_at":"2015-04-02T20:13:58Z","pushed_at":"2015-04-03T00:19:55Z","git_url":"git://github.com/jiacao/OCP-Networking-Project-Community-Contributions.git","ssh_url":"git@github.com:jiacao/OCP-Networking-Project-Community-Contributions.git","clone_url":"https://github.com/jiacao/OCP-Networking-Project-Community-Contributions.git","svn_url":"https://github.com/jiacao/OCP-Networking-Project-Community-Contributions","homepage":"","size":3111,"stargazers_count":0,"watchers_count":0,"language":"C","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":"lguohan:v0.9.2","ref":"v0.9.2","sha":"66e47352ed67ad92a33550995a8be8baf2109b7a","user":{"login":"lguohan","id":2293967,"avatar_url":"https://avatars.githubusercontent.com/u/2293967?v=3","gravatar_id":"","url":"https://api.github.com/users/lguohan","html_url":"https://github.com/lguohan","followers_url":"https://api.github.com/users/lguohan/followers","following_url":"https://api.github.com/users/lguohan/following{/other_user}","gists_url":"https://api.github.com/users/lguohan/gists{/gist_id}","starred_url":"https://api.github.com/users/lguohan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lguohan/subscriptions","organizations_url":"https://api.github.com/users/lguohan/orgs","repos_url":"https://api.github.com/users/lguohan/repos","events_url":"https://api.github.com/users/lguohan/events{/privacy}","received_events_url":"https://api.github.com/users/lguohan/received_events","type":"User","site_admin":false},"repo":{"id":27297206,"name":"OCP-Networking-Project-Community-Contributions","full_name":"lguohan/OCP-Networking-Project-Community-Contributions","owner":{"login":"lguohan","id":2293967,"avatar_url":"https://avatars.githubusercontent.com/u/2293967?v=3","gravatar_id":"","url":"https://api.github.com/users/lguohan","html_url":"https://github.com/lguohan","followers_url":"https://api.github.com/users/lguohan/followers","following_url":"https://api.github.com/users/lguohan/following{/other_user}","gists_url":"https://api.github.com/users/lguohan/gists{/gist_id}","starred_url":"https://api.github.com/users/lguohan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lguohan/subscriptions","organizations_url":"https://api.github.com/users/lguohan/orgs","repos_url":"https://api.github.com/users/lguohan/repos","events_url":"https://api.github.com/users/lguohan/events{/privacy}","received_events_url":"https://api.github.com/users/lguohan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lguohan/OCP-Networking-Project-Community-Contributions","description":"WARNING: This repository will hold software contributions that are being worked on collaboratively by the OCP Networking Community. Code in this repository has not yet been approved and accepted by the OCP Incubation Committee.  Software in this repository should be not be used on production machines and should be treated as you would any Alpha/Beta release or any software that is in development.","fork":true,"url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions","forks_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/forks","keys_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/teams","hooks_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/hooks","issue_events_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/issues/events{/number}","events_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/events","assignees_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/assignees{/user}","branches_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/branches{/branch}","tags_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/tags","blobs_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/git/refs{/sha}","trees_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/statuses/{sha}","languages_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/languages","stargazers_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/stargazers","contributors_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/contributors","subscribers_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/subscribers","subscription_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/subscription","commits_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/commits{/sha}","git_commits_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/git/commits{/sha}","comments_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/comments{/number}","issue_comment_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/issues/comments{/number}","contents_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/contents/{+path}","compare_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/merges","archive_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/downloads","issues_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/issues{/number}","pulls_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/pulls{/number}","milestones_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/milestones{/number}","notifications_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/labels{/name}","releases_url":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/releases{/id}","created_at":"2014-11-29T09:22:11Z","updated_at":"2015-02-26T17:38:39Z","pushed_at":"2015-04-03T01:11:46Z","git_url":"git://github.com/lguohan/OCP-Networking-Project-Community-Contributions.git","ssh_url":"git@github.com:lguohan/OCP-Networking-Project-Community-Contributions.git","clone_url":"https://github.com/lguohan/OCP-Networking-Project-Community-Contributions.git","svn_url":"https://github.com/lguohan/OCP-Networking-Project-Community-Contributions","homepage":"","size":1851,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/pulls/1"},"html":{"href":"https://github.com/lguohan/OCP-Networking-Project-Community-Contributions/pull/1"},"issue":{"href":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/issues/1"},"comments":{"href":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/lguohan/OCP-Networking-Project-Community-Contributions/statuses/69905799767552be190260968b37b549deaa676f"}}}}