{"action":"opened","number":38089,"pull_request":{"url":"https://api.github.com/repos/saltstack/salt/pulls/38089","id":96625825,"html_url":"https://github.com/saltstack/salt/pull/38089","diff_url":"https://github.com/saltstack/salt/pull/38089.diff","patch_url":"https://github.com/saltstack/salt/pull/38089.patch","issue_url":"https://api.github.com/repos/saltstack/salt/issues/38089","number":38089,"state":"open","locked":false,"title":"Enable resetting a VM via salt-cloud & VMware driver","user":{"login":"cro","id":83323,"avatar_url":"https://avatars.githubusercontent.com/u/83323?v=3","gravatar_id":"","url":"https://api.github.com/users/cro","html_url":"https://github.com/cro","followers_url":"https://api.github.com/users/cro/followers","following_url":"https://api.github.com/users/cro/following{/other_user}","gists_url":"https://api.github.com/users/cro/gists{/gist_id}","starred_url":"https://api.github.com/users/cro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cro/subscriptions","organizations_url":"https://api.github.com/users/cro/orgs","repos_url":"https://api.github.com/users/cro/repos","events_url":"https://api.github.com/users/cro/events{/privacy}","received_events_url":"https://api.github.com/users/cro/received_events","type":"User","site_admin":false},"body":"### What does this PR do?\r\n\r\nCorrects the call to VMware to perform a reset of a VM (like pushing the reset button on a physical computer).  The call needed to be updated from `vm.Reset()` to `vm.ResetVM_Task`.\r\n\r\n### What issues does this PR fix or reference?\r\n\r\nCloses #37413\r\n\r\n### Previous Behavior\r\n\r\n`salt-cloud -a reset vm_name` would not do anything.\r\n\r\n### New Behavior\r\n\r\n`salt-cloud -a reset vm_name` now hard-resets `vm_name`.\r\n","created_at":"2016-12-05T22:49:11Z","updated_at":"2016-12-05T22:49:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/saltstack/salt/pulls/38089/commits","review_comments_url":"https://api.github.com/repos/saltstack/salt/pulls/38089/comments","review_comment_url":"https://api.github.com/repos/saltstack/salt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/38089/comments","statuses_url":"https://api.github.com/repos/saltstack/salt/statuses/569fda5de4b710436cde176454be2086c382b042","head":{"label":"cro:vmware_reset_vm","ref":"vmware_reset_vm","sha":"569fda5de4b710436cde176454be2086c382b042","user":{"login":"cro","id":83323,"avatar_url":"https://avatars.githubusercontent.com/u/83323?v=3","gravatar_id":"","url":"https://api.github.com/users/cro","html_url":"https://github.com/cro","followers_url":"https://api.github.com/users/cro/followers","following_url":"https://api.github.com/users/cro/following{/other_user}","gists_url":"https://api.github.com/users/cro/gists{/gist_id}","starred_url":"https://api.github.com/users/cro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cro/subscriptions","organizations_url":"https://api.github.com/users/cro/orgs","repos_url":"https://api.github.com/users/cro/repos","events_url":"https://api.github.com/users/cro/events{/privacy}","received_events_url":"https://api.github.com/users/cro/received_events","type":"User","site_admin":false},"repo":{"id":13874293,"name":"salt","full_name":"cro/salt","owner":{"login":"cro","id":83323,"avatar_url":"https://avatars.githubusercontent.com/u/83323?v=3","gravatar_id":"","url":"https://api.github.com/users/cro","html_url":"https://github.com/cro","followers_url":"https://api.github.com/users/cro/followers","following_url":"https://api.github.com/users/cro/following{/other_user}","gists_url":"https://api.github.com/users/cro/gists{/gist_id}","starred_url":"https://api.github.com/users/cro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cro/subscriptions","organizations_url":"https://api.github.com/users/cro/orgs","repos_url":"https://api.github.com/users/cro/repos","events_url":"https://api.github.com/users/cro/events{/privacy}","received_events_url":"https://api.github.com/users/cro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cro/salt","description":"Central system and configuration manager ","fork":true,"url":"https://api.github.com/repos/cro/salt","forks_url":"https://api.github.com/repos/cro/salt/forks","keys_url":"https://api.github.com/repos/cro/salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cro/salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cro/salt/teams","hooks_url":"https://api.github.com/repos/cro/salt/hooks","issue_events_url":"https://api.github.com/repos/cro/salt/issues/events{/number}","events_url":"https://api.github.com/repos/cro/salt/events","assignees_url":"https://api.github.com/repos/cro/salt/assignees{/user}","branches_url":"https://api.github.com/repos/cro/salt/branches{/branch}","tags_url":"https://api.github.com/repos/cro/salt/tags","blobs_url":"https://api.github.com/repos/cro/salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cro/salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cro/salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/cro/salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cro/salt/statuses/{sha}","languages_url":"https://api.github.com/repos/cro/salt/languages","stargazers_url":"https://api.github.com/repos/cro/salt/stargazers","contributors_url":"https://api.github.com/repos/cro/salt/contributors","subscribers_url":"https://api.github.com/repos/cro/salt/subscribers","subscription_url":"https://api.github.com/repos/cro/salt/subscription","commits_url":"https://api.github.com/repos/cro/salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/cro/salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/cro/salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/cro/salt/issues/comments{/number}","contents_url":"https://api.github.com/repos/cro/salt/contents/{+path}","compare_url":"https://api.github.com/repos/cro/salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cro/salt/merges","archive_url":"https://api.github.com/repos/cro/salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cro/salt/downloads","issues_url":"https://api.github.com/repos/cro/salt/issues{/number}","pulls_url":"https://api.github.com/repos/cro/salt/pulls{/number}","milestones_url":"https://api.github.com/repos/cro/salt/milestones{/number}","notifications_url":"https://api.github.com/repos/cro/salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cro/salt/labels{/name}","releases_url":"https://api.github.com/repos/cro/salt/releases{/id}","deployments_url":"https://api.github.com/repos/cro/salt/deployments","created_at":"2013-10-25T23:16:49Z","updated_at":"2015-04-06T20:26:45Z","pushed_at":"2016-12-05T22:42:23Z","git_url":"git://github.com/cro/salt.git","ssh_url":"git@github.com:cro/salt.git","clone_url":"https://github.com/cro/salt.git","svn_url":"https://github.com/cro/salt","homepage":"saltstack.org","size":153276,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"saltstack:develop","ref":"develop","sha":"b7b0391da6df7d45f5fb57812fecc68afa07b4e9","user":{"login":"saltstack","id":1147473,"avatar_url":"https://avatars.githubusercontent.com/u/1147473?v=3","gravatar_id":"","url":"https://api.github.com/users/saltstack","html_url":"https://github.com/saltstack","followers_url":"https://api.github.com/users/saltstack/followers","following_url":"https://api.github.com/users/saltstack/following{/other_user}","gists_url":"https://api.github.com/users/saltstack/gists{/gist_id}","starred_url":"https://api.github.com/users/saltstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saltstack/subscriptions","organizations_url":"https://api.github.com/users/saltstack/orgs","repos_url":"https://api.github.com/users/saltstack/repos","events_url":"https://api.github.com/users/saltstack/events{/privacy}","received_events_url":"https://api.github.com/users/saltstack/received_events","type":"Organization","site_admin":false},"repo":{"id":1390248,"name":"salt","full_name":"saltstack/salt","owner":{"login":"saltstack","id":1147473,"avatar_url":"https://avatars.githubusercontent.com/u/1147473?v=3","gravatar_id":"","url":"https://api.github.com/users/saltstack","html_url":"https://github.com/saltstack","followers_url":"https://api.github.com/users/saltstack/followers","following_url":"https://api.github.com/users/saltstack/following{/other_user}","gists_url":"https://api.github.com/users/saltstack/gists{/gist_id}","starred_url":"https://api.github.com/users/saltstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saltstack/subscriptions","organizations_url":"https://api.github.com/users/saltstack/orgs","repos_url":"https://api.github.com/users/saltstack/repos","events_url":"https://api.github.com/users/saltstack/events{/privacy}","received_events_url":"https://api.github.com/users/saltstack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/saltstack/salt","description":"Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt Open software package repository here: ","fork":false,"url":"https://api.github.com/repos/saltstack/salt","forks_url":"https://api.github.com/repos/saltstack/salt/forks","keys_url":"https://api.github.com/repos/saltstack/salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saltstack/salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saltstack/salt/teams","hooks_url":"https://api.github.com/repos/saltstack/salt/hooks","issue_events_url":"https://api.github.com/repos/saltstack/salt/issues/events{/number}","events_url":"https://api.github.com/repos/saltstack/salt/events","assignees_url":"https://api.github.com/repos/saltstack/salt/assignees{/user}","branches_url":"https://api.github.com/repos/saltstack/salt/branches{/branch}","tags_url":"https://api.github.com/repos/saltstack/salt/tags","blobs_url":"https://api.github.com/repos/saltstack/salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saltstack/salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saltstack/salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/saltstack/salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saltstack/salt/statuses/{sha}","languages_url":"https://api.github.com/repos/saltstack/salt/languages","stargazers_url":"https://api.github.com/repos/saltstack/salt/stargazers","contributors_url":"https://api.github.com/repos/saltstack/salt/contributors","subscribers_url":"https://api.github.com/repos/saltstack/salt/subscribers","subscription_url":"https://api.github.com/repos/saltstack/salt/subscription","commits_url":"https://api.github.com/repos/saltstack/salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/saltstack/salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/saltstack/salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/saltstack/salt/issues/comments{/number}","contents_url":"https://api.github.com/repos/saltstack/salt/contents/{+path}","compare_url":"https://api.github.com/repos/saltstack/salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saltstack/salt/merges","archive_url":"https://api.github.com/repos/saltstack/salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saltstack/salt/downloads","issues_url":"https://api.github.com/repos/saltstack/salt/issues{/number}","pulls_url":"https://api.github.com/repos/saltstack/salt/pulls{/number}","milestones_url":"https://api.github.com/repos/saltstack/salt/milestones{/number}","notifications_url":"https://api.github.com/repos/saltstack/salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saltstack/salt/labels{/name}","releases_url":"https://api.github.com/repos/saltstack/salt/releases{/id}","deployments_url":"https://api.github.com/repos/saltstack/salt/deployments","created_at":"2011-02-20T20:16:56Z","updated_at":"2016-12-05T20:24:35Z","pushed_at":"2016-12-05T22:49:11Z","git_url":"git://github.com/saltstack/salt.git","ssh_url":"git@github.com:saltstack/salt.git","clone_url":"https://github.com/saltstack/salt.git","svn_url":"https://github.com/saltstack/salt","homepage":"https://repo.saltstack.com/","size":232914,"stargazers_count":7109,"watchers_count":7109,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3264,"mirror_url":null,"open_issues_count":4029,"forks":3264,"open_issues":4029,"watchers":7109,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/saltstack/salt/pulls/38089"},"html":{"href":"https://github.com/saltstack/salt/pull/38089"},"issue":{"href":"https://api.github.com/repos/saltstack/salt/issues/38089"},"comments":{"href":"https://api.github.com/repos/saltstack/salt/issues/38089/comments"},"review_comments":{"href":"https://api.github.com/repos/saltstack/salt/pulls/38089/comments"},"review_comment":{"href":"https://api.github.com/repos/saltstack/salt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/saltstack/salt/pulls/38089/commits"},"statuses":{"href":"https://api.github.com/repos/saltstack/salt/statuses/569fda5de4b710436cde176454be2086c382b042"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":64,"additions":1528,"deletions":471,"changed_files":35}}
{"actor":{"display_login":"cro"}}