{"action":"created","comment":{"url":"https://api.github.com/repos/fog/fog-openstack/pulls/comments/55665384","id":55665384,"diff_hunk":"@@ -0,0 +1,41 @@\n+Shindo.tests(\"Fog::Network[:openstack] | ipsec_policy\", ['openstack']) do\n+  tests('success') do\n+\n+    tests('#create').succeeds do\n+      @instance = Fog::Network[:openstack].ipsec_policies.create(:name                 => 'test-ipsec-policy',\n+                                                                 :description          => 'Test VPN ipsec Policy',\n+                                                                 :tenant_id            => 'tenant_id',\n+                                                                 :auth_algorithm       => 'sha1',\n+                                                                 :encryption_algorithm => 'aes-128',\n+                                                                 :pfs                  => 'group5',\n+                                                                 :transform_protocol   => 'esp',\n+                                                                 :lifetime             => {\n+                                                                   'units' => 'seconds',\n+                                                                   'value' => 3600\n+                                                                 },\n+                                                                 :encapsulation_mode   => 'tunnel')\n+      !@instance.id.nil?\n+    end\n+\n+    tests('#update').succeeds do\n+      @instance.name = 'rename-test-ipsec-policy'\n+      @instance.description = 'Test VPN ipsec Policy'\n+      @instance.tenant_id = 'baz'\n+      @instance.auth_algorithm = 'sha27'\n+      @instance.encryption_algorithm = 'aes-18'\n+      @instance.pfs = 'group52'\n+      @instance.transform_protocol = 'espn'\n+      @instance.lifetime = {\n+       'units' => 'seconds',","path":"tests/openstack/models/network/ipsec_policy_tests.rb","position":29,"original_position":29,"commit_id":"240a486c2a6eff35752583b8ed9ca6fc2192d3d9","original_commit_id":"240a486c2a6eff35752583b8ed9ca6fc2192d3d9","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Use 2 spaces for indentation in a hash, relative to the start of the line where the left curly brace is.","created_at":"2016-03-10T11:17:34Z","updated_at":"2016-03-10T11:17:34Z","html_url":"https://github.com/fog/fog-openstack/pull/34#discussion_r55665384","pull_request_url":"https://api.github.com/repos/fog/fog-openstack/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/fog/fog-openstack/pulls/comments/55665384"},"html":{"href":"https://github.com/fog/fog-openstack/pull/34#discussion_r55665384"},"pull_request":{"href":"https://api.github.com/repos/fog/fog-openstack/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/fog/fog-openstack/pulls/34","id":62203136,"html_url":"https://github.com/fog/fog-openstack/pull/34","diff_url":"https://github.com/fog/fog-openstack/pull/34.diff","patch_url":"https://github.com/fog/fog-openstack/pull/34.patch","issue_url":"https://api.github.com/repos/fog/fog-openstack/issues/34","number":34,"state":"open","locked":false,"title":"Integrate VPNaaS endpoints","user":{"login":"seanhandley","id":98526,"avatar_url":"https://avatars.githubusercontent.com/u/98526?v=3","gravatar_id":"","url":"https://api.github.com/users/seanhandley","html_url":"https://github.com/seanhandley","followers_url":"https://api.github.com/users/seanhandley/followers","following_url":"https://api.github.com/users/seanhandley/following{/other_user}","gists_url":"https://api.github.com/users/seanhandley/gists{/gist_id}","starred_url":"https://api.github.com/users/seanhandley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanhandley/subscriptions","organizations_url":"https://api.github.com/users/seanhandley/orgs","repos_url":"https://api.github.com/users/seanhandley/repos","events_url":"https://api.github.com/users/seanhandley/events{/privacy}","received_events_url":"https://api.github.com/users/seanhandley/received_events","type":"User","site_admin":false},"body":"- [x] VPN Services\r\n- [x] IKE Policies\r\n- [x] IPSec Policies\r\n- [x] IPSec Site Connections","created_at":"2016-03-09T09:51:51Z","updated_at":"2016-03-10T11:17:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"74c87e103178fc9dd796b497a32ab4710f11887b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fog/fog-openstack/pulls/34/commits","review_comments_url":"https://api.github.com/repos/fog/fog-openstack/pulls/34/comments","review_comment_url":"https://api.github.com/repos/fog/fog-openstack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fog/fog-openstack/issues/34/comments","statuses_url":"https://api.github.com/repos/fog/fog-openstack/statuses/240a486c2a6eff35752583b8ed9ca6fc2192d3d9","head":{"label":"fog:vpnaas","ref":"vpnaas","sha":"240a486c2a6eff35752583b8ed9ca6fc2192d3d9","user":{"login":"fog","id":991149,"avatar_url":"https://avatars.githubusercontent.com/u/991149?v=3","gravatar_id":"","url":"https://api.github.com/users/fog","html_url":"https://github.com/fog","followers_url":"https://api.github.com/users/fog/followers","following_url":"https://api.github.com/users/fog/following{/other_user}","gists_url":"https://api.github.com/users/fog/gists{/gist_id}","starred_url":"https://api.github.com/users/fog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fog/subscriptions","organizations_url":"https://api.github.com/users/fog/orgs","repos_url":"https://api.github.com/users/fog/repos","events_url":"https://api.github.com/users/fog/events{/privacy}","received_events_url":"https://api.github.com/users/fog/received_events","type":"Organization","site_admin":false},"repo":{"id":52039406,"name":"fog-openstack","full_name":"fog/fog-openstack","owner":{"login":"fog","id":991149,"avatar_url":"https://avatars.githubusercontent.com/u/991149?v=3","gravatar_id":"","url":"https://api.github.com/users/fog","html_url":"https://github.com/fog","followers_url":"https://api.github.com/users/fog/followers","following_url":"https://api.github.com/users/fog/following{/other_user}","gists_url":"https://api.github.com/users/fog/gists{/gist_id}","starred_url":"https://api.github.com/users/fog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fog/subscriptions","organizations_url":"https://api.github.com/users/fog/orgs","repos_url":"https://api.github.com/users/fog/repos","events_url":"https://api.github.com/users/fog/events{/privacy}","received_events_url":"https://api.github.com/users/fog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fog/fog-openstack","description":"Fog for OpenStack Platform","fork":false,"url":"https://api.github.com/repos/fog/fog-openstack","forks_url":"https://api.github.com/repos/fog/fog-openstack/forks","keys_url":"https://api.github.com/repos/fog/fog-openstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fog/fog-openstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fog/fog-openstack/teams","hooks_url":"https://api.github.com/repos/fog/fog-openstack/hooks","issue_events_url":"https://api.github.com/repos/fog/fog-openstack/issues/events{/number}","events_url":"https://api.github.com/repos/fog/fog-openstack/events","assignees_url":"https://api.github.com/repos/fog/fog-openstack/assignees{/user}","branches_url":"https://api.github.com/repos/fog/fog-openstack/branches{/branch}","tags_url":"https://api.github.com/repos/fog/fog-openstack/tags","blobs_url":"https://api.github.com/repos/fog/fog-openstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fog/fog-openstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fog/fog-openstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/fog/fog-openstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fog/fog-openstack/statuses/{sha}","languages_url":"https://api.github.com/repos/fog/fog-openstack/languages","stargazers_url":"https://api.github.com/repos/fog/fog-openstack/stargazers","contributors_url":"https://api.github.com/repos/fog/fog-openstack/contributors","subscribers_url":"https://api.github.com/repos/fog/fog-openstack/subscribers","subscription_url":"https://api.github.com/repos/fog/fog-openstack/subscription","commits_url":"https://api.github.com/repos/fog/fog-openstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/fog/fog-openstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/fog/fog-openstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/fog/fog-openstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/fog/fog-openstack/contents/{+path}","compare_url":"https://api.github.com/repos/fog/fog-openstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fog/fog-openstack/merges","archive_url":"https://api.github.com/repos/fog/fog-openstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fog/fog-openstack/downloads","issues_url":"https://api.github.com/repos/fog/fog-openstack/issues{/number}","pulls_url":"https://api.github.com/repos/fog/fog-openstack/pulls{/number}","milestones_url":"https://api.github.com/repos/fog/fog-openstack/milestones{/number}","notifications_url":"https://api.github.com/repos/fog/fog-openstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fog/fog-openstack/labels{/name}","releases_url":"https://api.github.com/repos/fog/fog-openstack/releases{/id}","deployments_url":"https://api.github.com/repos/fog/fog-openstack/deployments","created_at":"2016-02-18T21:16:52Z","updated_at":"2016-03-01T12:52:18Z","pushed_at":"2016-03-10T11:17:08Z","git_url":"git://github.com/fog/fog-openstack.git","ssh_url":"git@github.com:fog/fog-openstack.git","clone_url":"https://github.com/fog/fog-openstack.git","svn_url":"https://github.com/fog/fog-openstack","homepage":"","size":481,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":6,"forks":7,"open_issues":6,"watchers":2,"default_branch":"master"}},"base":{"label":"fog:master","ref":"master","sha":"643f73c3ba619092b9fb2d4888807e407f443730","user":{"login":"fog","id":991149,"avatar_url":"https://avatars.githubusercontent.com/u/991149?v=3","gravatar_id":"","url":"https://api.github.com/users/fog","html_url":"https://github.com/fog","followers_url":"https://api.github.com/users/fog/followers","following_url":"https://api.github.com/users/fog/following{/other_user}","gists_url":"https://api.github.com/users/fog/gists{/gist_id}","starred_url":"https://api.github.com/users/fog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fog/subscriptions","organizations_url":"https://api.github.com/users/fog/orgs","repos_url":"https://api.github.com/users/fog/repos","events_url":"https://api.github.com/users/fog/events{/privacy}","received_events_url":"https://api.github.com/users/fog/received_events","type":"Organization","site_admin":false},"repo":{"id":52039406,"name":"fog-openstack","full_name":"fog/fog-openstack","owner":{"login":"fog","id":991149,"avatar_url":"https://avatars.githubusercontent.com/u/991149?v=3","gravatar_id":"","url":"https://api.github.com/users/fog","html_url":"https://github.com/fog","followers_url":"https://api.github.com/users/fog/followers","following_url":"https://api.github.com/users/fog/following{/other_user}","gists_url":"https://api.github.com/users/fog/gists{/gist_id}","starred_url":"https://api.github.com/users/fog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fog/subscriptions","organizations_url":"https://api.github.com/users/fog/orgs","repos_url":"https://api.github.com/users/fog/repos","events_url":"https://api.github.com/users/fog/events{/privacy}","received_events_url":"https://api.github.com/users/fog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fog/fog-openstack","description":"Fog for OpenStack Platform","fork":false,"url":"https://api.github.com/repos/fog/fog-openstack","forks_url":"https://api.github.com/repos/fog/fog-openstack/forks","keys_url":"https://api.github.com/repos/fog/fog-openstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fog/fog-openstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fog/fog-openstack/teams","hooks_url":"https://api.github.com/repos/fog/fog-openstack/hooks","issue_events_url":"https://api.github.com/repos/fog/fog-openstack/issues/events{/number}","events_url":"https://api.github.com/repos/fog/fog-openstack/events","assignees_url":"https://api.github.com/repos/fog/fog-openstack/assignees{/user}","branches_url":"https://api.github.com/repos/fog/fog-openstack/branches{/branch}","tags_url":"https://api.github.com/repos/fog/fog-openstack/tags","blobs_url":"https://api.github.com/repos/fog/fog-openstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fog/fog-openstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fog/fog-openstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/fog/fog-openstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fog/fog-openstack/statuses/{sha}","languages_url":"https://api.github.com/repos/fog/fog-openstack/languages","stargazers_url":"https://api.github.com/repos/fog/fog-openstack/stargazers","contributors_url":"https://api.github.com/repos/fog/fog-openstack/contributors","subscribers_url":"https://api.github.com/repos/fog/fog-openstack/subscribers","subscription_url":"https://api.github.com/repos/fog/fog-openstack/subscription","commits_url":"https://api.github.com/repos/fog/fog-openstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/fog/fog-openstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/fog/fog-openstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/fog/fog-openstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/fog/fog-openstack/contents/{+path}","compare_url":"https://api.github.com/repos/fog/fog-openstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fog/fog-openstack/merges","archive_url":"https://api.github.com/repos/fog/fog-openstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fog/fog-openstack/downloads","issues_url":"https://api.github.com/repos/fog/fog-openstack/issues{/number}","pulls_url":"https://api.github.com/repos/fog/fog-openstack/pulls{/number}","milestones_url":"https://api.github.com/repos/fog/fog-openstack/milestones{/number}","notifications_url":"https://api.github.com/repos/fog/fog-openstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fog/fog-openstack/labels{/name}","releases_url":"https://api.github.com/repos/fog/fog-openstack/releases{/id}","deployments_url":"https://api.github.com/repos/fog/fog-openstack/deployments","created_at":"2016-02-18T21:16:52Z","updated_at":"2016-03-01T12:52:18Z","pushed_at":"2016-03-10T11:17:08Z","git_url":"git://github.com/fog/fog-openstack.git","ssh_url":"git@github.com:fog/fog-openstack.git","clone_url":"https://github.com/fog/fog-openstack.git","svn_url":"https://github.com/fog/fog-openstack","homepage":"","size":481,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":6,"forks":7,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fog/fog-openstack/pulls/34"},"html":{"href":"https://github.com/fog/fog-openstack/pull/34"},"issue":{"href":"https://api.github.com/repos/fog/fog-openstack/issues/34"},"comments":{"href":"https://api.github.com/repos/fog/fog-openstack/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/fog/fog-openstack/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/fog/fog-openstack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fog/fog-openstack/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/fog/fog-openstack/statuses/240a486c2a6eff35752583b8ed9ca6fc2192d3d9"}}}}