{"action":"created","comment":{"url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/pulls/comments/139424179","pull_request_review_id":63353318,"id":139424179,"diff_hunk":"@@ -19,8 +18,8 @@ This playbook exemplifies how to create a server profile using a server profile\n \n ### [Step 4 - Migrate a data volume to another server profile](step_4_migrate_data_volume.yml)\n This playbook exemplifies how to migrate a data volume from one server profile to another. It performs 2 tasks:\n-1. Task copied from step 2 when the extra volume was attached. This task updates the server profile 'profile_san' removing data volume identified by id 2 (returning to the original state - same as in the step 1).\n-2. Task copied from step 3 to update server profile 'profile_i3s' inserting data volume removed from previous task. The connectionId used by the storage paths need to be updated to match with the SAN connections. In this case, the SAN connection ids in the server profile template were 4 and 5. \n+1. Updates server profile 'profile_san' to match its original state on step 1, removing data volume identified by id 2.","path":"examples/demos/boot_from_san_and_migration/README.md","position":null,"original_position":20,"commit_id":"5f178a26d782b77fead6e39c4a79371131a6d419","original_commit_id":"5f178a26d782b77fead6e39c4a79371131a6d419","user":{"login":"fgbulsoni","id":6110785,"avatar_url":"https://avatars2.githubusercontent.com/u/6110785?v=4","gravatar_id":"","url":"https://api.github.com/users/fgbulsoni","html_url":"https://github.com/fgbulsoni","followers_url":"https://api.github.com/users/fgbulsoni/followers","following_url":"https://api.github.com/users/fgbulsoni/following{/other_user}","gists_url":"https://api.github.com/users/fgbulsoni/gists{/gist_id}","starred_url":"https://api.github.com/users/fgbulsoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgbulsoni/subscriptions","organizations_url":"https://api.github.com/users/fgbulsoni/orgs","repos_url":"https://api.github.com/users/fgbulsoni/repos","events_url":"https://api.github.com/users/fgbulsoni/events{/privacy}","received_events_url":"https://api.github.com/users/fgbulsoni/received_events","type":"User","site_admin":false},"body":"Updates server profile 'profile_san' to match its original state on step 1, removing **the** data volume identified by id 2.","created_at":"2017-09-18T13:39:14Z","updated_at":"2017-09-18T13:39:14Z","html_url":"https://github.com/HewlettPackard/oneview-ansible/pull/287#discussion_r139424179","pull_request_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/pulls/287","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/HewlettPackard/oneview-ansible/pulls/comments/139424179"},"html":{"href":"https://github.com/HewlettPackard/oneview-ansible/pull/287#discussion_r139424179"},"pull_request":{"href":"https://api.github.com/repos/HewlettPackard/oneview-ansible/pulls/287"}}},"pull_request":{"url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/pulls/287","id":140339737,"html_url":"https://github.com/HewlettPackard/oneview-ansible/pull/287","diff_url":"https://github.com/HewlettPackard/oneview-ansible/pull/287.diff","patch_url":"https://github.com/HewlettPackard/oneview-ansible/pull/287.patch","issue_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/issues/287","number":287,"state":"open","locked":false,"title":"Adding examples created for previous demo","user":{"login":"adriane-cardozo","id":22815766,"avatar_url":"https://avatars2.githubusercontent.com/u/22815766?v=4","gravatar_id":"","url":"https://api.github.com/users/adriane-cardozo","html_url":"https://github.com/adriane-cardozo","followers_url":"https://api.github.com/users/adriane-cardozo/followers","following_url":"https://api.github.com/users/adriane-cardozo/following{/other_user}","gists_url":"https://api.github.com/users/adriane-cardozo/gists{/gist_id}","starred_url":"https://api.github.com/users/adriane-cardozo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriane-cardozo/subscriptions","organizations_url":"https://api.github.com/users/adriane-cardozo/orgs","repos_url":"https://api.github.com/users/adriane-cardozo/repos","events_url":"https://api.github.com/users/adriane-cardozo/events{/privacy}","received_events_url":"https://api.github.com/users/adriane-cardozo/received_events","type":"User","site_admin":false},"body":"### Description\r\nExamples for creating server profile with boot from SAN, migrate volume from one hw to another and migrate server profile from one hw to another\r\n\r\n### Issues Resolved\r\nNA\r\n\r\n### Check List\r\n- [ ] New functionality includes testing.\r\n  - [ ] All tests pass. (`$ ./build.sh`).\r\n- [ ] New functionality has been documented in the README if applicable.\r\n  - [ ] New functionality has been thoroughly documented in the examples (please include helpful comments).\r\n","created_at":"2017-09-11T13:50:49Z","updated_at":"2017-09-18T13:39:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e205432f5e9037065225b14fda89041a95011f53","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/pulls/287/commits","review_comments_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/pulls/287/comments","review_comment_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/issues/287/comments","statuses_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/statuses/5f178a26d782b77fead6e39c4a79371131a6d419","head":{"label":"HewlettPackard:adding_more_examples_use_cases","ref":"adding_more_examples_use_cases","sha":"5f178a26d782b77fead6e39c4a79371131a6d419","user":{"login":"HewlettPackard","id":6004705,"avatar_url":"https://avatars0.githubusercontent.com/u/6004705?v=4","gravatar_id":"","url":"https://api.github.com/users/HewlettPackard","html_url":"https://github.com/HewlettPackard","followers_url":"https://api.github.com/users/HewlettPackard/followers","following_url":"https://api.github.com/users/HewlettPackard/following{/other_user}","gists_url":"https://api.github.com/users/HewlettPackard/gists{/gist_id}","starred_url":"https://api.github.com/users/HewlettPackard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HewlettPackard/subscriptions","organizations_url":"https://api.github.com/users/HewlettPackard/orgs","repos_url":"https://api.github.com/users/HewlettPackard/repos","events_url":"https://api.github.com/users/HewlettPackard/events{/privacy}","received_events_url":"https://api.github.com/users/HewlettPackard/received_events","type":"Organization","site_admin":false},"repo":{"id":41844980,"name":"oneview-ansible","full_name":"HewlettPackard/oneview-ansible","owner":{"login":"HewlettPackard","id":6004705,"avatar_url":"https://avatars0.githubusercontent.com/u/6004705?v=4","gravatar_id":"","url":"https://api.github.com/users/HewlettPackard","html_url":"https://github.com/HewlettPackard","followers_url":"https://api.github.com/users/HewlettPackard/followers","following_url":"https://api.github.com/users/HewlettPackard/following{/other_user}","gists_url":"https://api.github.com/users/HewlettPackard/gists{/gist_id}","starred_url":"https://api.github.com/users/HewlettPackard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HewlettPackard/subscriptions","organizations_url":"https://api.github.com/users/HewlettPackard/orgs","repos_url":"https://api.github.com/users/HewlettPackard/repos","events_url":"https://api.github.com/users/HewlettPackard/events{/privacy}","received_events_url":"https://api.github.com/users/HewlettPackard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HewlettPackard/oneview-ansible","description":"Ansible Modules and Sample Playbooks for HPE OneView","fork":false,"url":"https://api.github.com/repos/HewlettPackard/oneview-ansible","forks_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/forks","keys_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/teams","hooks_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/hooks","issue_events_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/events","assignees_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/tags","blobs_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/languages","stargazers_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/stargazers","contributors_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/contributors","subscribers_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/subscribers","subscription_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/subscription","commits_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/merges","archive_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/downloads","issues_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/labels{/name}","releases_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/deployments","created_at":"2015-09-03T06:17:52Z","updated_at":"2017-09-14T16:59:16Z","pushed_at":"2017-09-15T20:45:45Z","git_url":"git://github.com/HewlettPackard/oneview-ansible.git","ssh_url":"git@github.com:HewlettPackard/oneview-ansible.git","clone_url":"https://github.com/HewlettPackard/oneview-ansible.git","svn_url":"https://github.com/HewlettPackard/oneview-ansible","homepage":"","size":2817,"stargazers_count":18,"watchers_count":18,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":5,"forks":16,"open_issues":5,"watchers":18,"default_branch":"master"}},"base":{"label":"HewlettPackard:master","ref":"master","sha":"444297178646423a5b24ce5c8005b39ad903f988","user":{"login":"HewlettPackard","id":6004705,"avatar_url":"https://avatars0.githubusercontent.com/u/6004705?v=4","gravatar_id":"","url":"https://api.github.com/users/HewlettPackard","html_url":"https://github.com/HewlettPackard","followers_url":"https://api.github.com/users/HewlettPackard/followers","following_url":"https://api.github.com/users/HewlettPackard/following{/other_user}","gists_url":"https://api.github.com/users/HewlettPackard/gists{/gist_id}","starred_url":"https://api.github.com/users/HewlettPackard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HewlettPackard/subscriptions","organizations_url":"https://api.github.com/users/HewlettPackard/orgs","repos_url":"https://api.github.com/users/HewlettPackard/repos","events_url":"https://api.github.com/users/HewlettPackard/events{/privacy}","received_events_url":"https://api.github.com/users/HewlettPackard/received_events","type":"Organization","site_admin":false},"repo":{"id":41844980,"name":"oneview-ansible","full_name":"HewlettPackard/oneview-ansible","owner":{"login":"HewlettPackard","id":6004705,"avatar_url":"https://avatars0.githubusercontent.com/u/6004705?v=4","gravatar_id":"","url":"https://api.github.com/users/HewlettPackard","html_url":"https://github.com/HewlettPackard","followers_url":"https://api.github.com/users/HewlettPackard/followers","following_url":"https://api.github.com/users/HewlettPackard/following{/other_user}","gists_url":"https://api.github.com/users/HewlettPackard/gists{/gist_id}","starred_url":"https://api.github.com/users/HewlettPackard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HewlettPackard/subscriptions","organizations_url":"https://api.github.com/users/HewlettPackard/orgs","repos_url":"https://api.github.com/users/HewlettPackard/repos","events_url":"https://api.github.com/users/HewlettPackard/events{/privacy}","received_events_url":"https://api.github.com/users/HewlettPackard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HewlettPackard/oneview-ansible","description":"Ansible Modules and Sample Playbooks for HPE OneView","fork":false,"url":"https://api.github.com/repos/HewlettPackard/oneview-ansible","forks_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/forks","keys_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/teams","hooks_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/hooks","issue_events_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/events","assignees_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/tags","blobs_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/languages","stargazers_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/stargazers","contributors_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/contributors","subscribers_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/subscribers","subscription_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/subscription","commits_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/merges","archive_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/downloads","issues_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/labels{/name}","releases_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/deployments","created_at":"2015-09-03T06:17:52Z","updated_at":"2017-09-14T16:59:16Z","pushed_at":"2017-09-15T20:45:45Z","git_url":"git://github.com/HewlettPackard/oneview-ansible.git","ssh_url":"git@github.com:HewlettPackard/oneview-ansible.git","clone_url":"https://github.com/HewlettPackard/oneview-ansible.git","svn_url":"https://github.com/HewlettPackard/oneview-ansible","homepage":"","size":2817,"stargazers_count":18,"watchers_count":18,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":5,"forks":16,"open_issues":5,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HewlettPackard/oneview-ansible/pulls/287"},"html":{"href":"https://github.com/HewlettPackard/oneview-ansible/pull/287"},"issue":{"href":"https://api.github.com/repos/HewlettPackard/oneview-ansible/issues/287"},"comments":{"href":"https://api.github.com/repos/HewlettPackard/oneview-ansible/issues/287/comments"},"review_comments":{"href":"https://api.github.com/repos/HewlettPackard/oneview-ansible/pulls/287/comments"},"review_comment":{"href":"https://api.github.com/repos/HewlettPackard/oneview-ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HewlettPackard/oneview-ansible/pulls/287/commits"},"statuses":{"href":"https://api.github.com/repos/HewlettPackard/oneview-ansible/statuses/5f178a26d782b77fead6e39c4a79371131a6d419"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"fgbulsoni"}}