{"action":"created","comment":{"url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/pulls/comments/173682957","pull_request_review_id":102910256,"id":173682957,"diff_hunk":"@@ -0,0 +1,115 @@\n+#!/usr/bin/python\n+import configparser\n+import subprocess\n+import shlex\n+\n+\n+class GenerateMappingFile():\n+    prefix = \"[Generate Mapping File] \"\n+\n+    def run(self):\n+        print(\"\\n%sStart Generate Varialbe Mapping File \"","path":"files/generate_vars.py","position":11,"original_position":11,"commit_id":"ac9c0b791beac615761582a2bf9e8541239dd695","original_commit_id":"ac9c0b791beac615761582a2bf9e8541239dd695","user":{"login":"maorlipchuk","id":7034637,"avatar_url":"https://avatars3.githubusercontent.com/u/7034637?v=4","gravatar_id":"","url":"https://api.github.com/users/maorlipchuk","html_url":"https://github.com/maorlipchuk","followers_url":"https://api.github.com/users/maorlipchuk/followers","following_url":"https://api.github.com/users/maorlipchuk/following{/other_user}","gists_url":"https://api.github.com/users/maorlipchuk/gists{/gist_id}","starred_url":"https://api.github.com/users/maorlipchuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maorlipchuk/subscriptions","organizations_url":"https://api.github.com/users/maorlipchuk/orgs","repos_url":"https://api.github.com/users/maorlipchuk/repos","events_url":"https://api.github.com/users/maorlipchuk/events{/privacy}","received_events_url":"https://api.github.com/users/maorlipchuk/received_events","type":"User","site_admin":false},"body":"Thanks, fixed","created_at":"2018-03-12T02:17:44Z","updated_at":"2018-03-12T02:17:44Z","html_url":"https://github.com/oVirt/ovirt-ansible-disaster-recovery/pull/38#discussion_r173682957","pull_request_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/pulls/38","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/pulls/comments/173682957"},"html":{"href":"https://github.com/oVirt/ovirt-ansible-disaster-recovery/pull/38#discussion_r173682957"},"pull_request":{"href":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/pulls/38"}},"in_reply_to_id":172799870},"pull_request":{"url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/pulls/38","id":173123828,"html_url":"https://github.com/oVirt/ovirt-ansible-disaster-recovery/pull/38","diff_url":"https://github.com/oVirt/ovirt-ansible-disaster-recovery/pull/38.diff","patch_url":"https://github.com/oVirt/ovirt-ansible-disaster-recovery/pull/38.patch","issue_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/issues/38","number":38,"state":"open","locked":false,"title":"[WIP] Add python scripts for generate_mapping failover and failback","user":{"login":"maorlipchuk","id":7034637,"avatar_url":"https://avatars3.githubusercontent.com/u/7034637?v=4","gravatar_id":"","url":"https://api.github.com/users/maorlipchuk","html_url":"https://github.com/maorlipchuk","followers_url":"https://api.github.com/users/maorlipchuk/followers","following_url":"https://api.github.com/users/maorlipchuk/following{/other_user}","gists_url":"https://api.github.com/users/maorlipchuk/gists{/gist_id}","starred_url":"https://api.github.com/users/maorlipchuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maorlipchuk/subscriptions","organizations_url":"https://api.github.com/users/maorlipchuk/orgs","repos_url":"https://api.github.com/users/maorlipchuk/repos","events_url":"https://api.github.com/users/maorlipchuk/events{/privacy}","received_events_url":"https://api.github.com/users/maorlipchuk/received_events","type":"User","site_admin":false},"body":"Started a fix for automatic scripts for generate_mapping failover and failback","created_at":"2018-03-06T10:59:41Z","updated_at":"2018-03-12T02:17:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ac6e25bd2b726666d4c1fe4f8482023837320223","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/pulls/38/commits","review_comments_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/pulls/38/comments","review_comment_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/issues/38/comments","statuses_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/statuses/ac9c0b791beac615761582a2bf9e8541239dd695","head":{"label":"oVirt:issue17_fix","ref":"issue17_fix","sha":"ac9c0b791beac615761582a2bf9e8541239dd695","user":{"login":"oVirt","id":1318634,"avatar_url":"https://avatars2.githubusercontent.com/u/1318634?v=4","gravatar_id":"","url":"https://api.github.com/users/oVirt","html_url":"https://github.com/oVirt","followers_url":"https://api.github.com/users/oVirt/followers","following_url":"https://api.github.com/users/oVirt/following{/other_user}","gists_url":"https://api.github.com/users/oVirt/gists{/gist_id}","starred_url":"https://api.github.com/users/oVirt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oVirt/subscriptions","organizations_url":"https://api.github.com/users/oVirt/orgs","repos_url":"https://api.github.com/users/oVirt/repos","events_url":"https://api.github.com/users/oVirt/events{/privacy}","received_events_url":"https://api.github.com/users/oVirt/received_events","type":"Organization","site_admin":false},"repo":{"id":114266564,"name":"ovirt-ansible-disaster-recovery","full_name":"oVirt/ovirt-ansible-disaster-recovery","owner":{"login":"oVirt","id":1318634,"avatar_url":"https://avatars2.githubusercontent.com/u/1318634?v=4","gravatar_id":"","url":"https://api.github.com/users/oVirt","html_url":"https://github.com/oVirt","followers_url":"https://api.github.com/users/oVirt/followers","following_url":"https://api.github.com/users/oVirt/following{/other_user}","gists_url":"https://api.github.com/users/oVirt/gists{/gist_id}","starred_url":"https://api.github.com/users/oVirt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oVirt/subscriptions","organizations_url":"https://api.github.com/users/oVirt/orgs","repos_url":"https://api.github.com/users/oVirt/repos","events_url":"https://api.github.com/users/oVirt/events{/privacy}","received_events_url":"https://api.github.com/users/oVirt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oVirt/ovirt-ansible-disaster-recovery","description":"Ansible role to perform disaster recovery for oVirt engine","fork":false,"url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery","forks_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/forks","keys_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/teams","hooks_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/hooks","issue_events_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/issues/events{/number}","events_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/events","assignees_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/assignees{/user}","branches_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/branches{/branch}","tags_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/tags","blobs_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/git/refs{/sha}","trees_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/statuses/{sha}","languages_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/languages","stargazers_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/stargazers","contributors_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/contributors","subscribers_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/subscribers","subscription_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/subscription","commits_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/commits{/sha}","git_commits_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/git/commits{/sha}","comments_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/comments{/number}","issue_comment_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/issues/comments{/number}","contents_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/contents/{+path}","compare_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/merges","archive_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/downloads","issues_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/issues{/number}","pulls_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/pulls{/number}","milestones_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/milestones{/number}","notifications_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/labels{/name}","releases_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/releases{/id}","deployments_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/deployments","created_at":"2017-12-14T15:29:32Z","updated_at":"2018-03-02T13:27:35Z","pushed_at":"2018-03-07T07:34:18Z","git_url":"git://github.com/oVirt/ovirt-ansible-disaster-recovery.git","ssh_url":"git@github.com:oVirt/ovirt-ansible-disaster-recovery.git","clone_url":"https://github.com/oVirt/ovirt-ansible-disaster-recovery.git","svn_url":"https://github.com/oVirt/ovirt-ansible-disaster-recovery","homepage":"","size":99,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":3,"open_issues":4,"watchers":5,"default_branch":"master"}},"base":{"label":"oVirt:master","ref":"master","sha":"9e1745359b30bd7d2abef91b11756813a3e2e610","user":{"login":"oVirt","id":1318634,"avatar_url":"https://avatars2.githubusercontent.com/u/1318634?v=4","gravatar_id":"","url":"https://api.github.com/users/oVirt","html_url":"https://github.com/oVirt","followers_url":"https://api.github.com/users/oVirt/followers","following_url":"https://api.github.com/users/oVirt/following{/other_user}","gists_url":"https://api.github.com/users/oVirt/gists{/gist_id}","starred_url":"https://api.github.com/users/oVirt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oVirt/subscriptions","organizations_url":"https://api.github.com/users/oVirt/orgs","repos_url":"https://api.github.com/users/oVirt/repos","events_url":"https://api.github.com/users/oVirt/events{/privacy}","received_events_url":"https://api.github.com/users/oVirt/received_events","type":"Organization","site_admin":false},"repo":{"id":114266564,"name":"ovirt-ansible-disaster-recovery","full_name":"oVirt/ovirt-ansible-disaster-recovery","owner":{"login":"oVirt","id":1318634,"avatar_url":"https://avatars2.githubusercontent.com/u/1318634?v=4","gravatar_id":"","url":"https://api.github.com/users/oVirt","html_url":"https://github.com/oVirt","followers_url":"https://api.github.com/users/oVirt/followers","following_url":"https://api.github.com/users/oVirt/following{/other_user}","gists_url":"https://api.github.com/users/oVirt/gists{/gist_id}","starred_url":"https://api.github.com/users/oVirt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oVirt/subscriptions","organizations_url":"https://api.github.com/users/oVirt/orgs","repos_url":"https://api.github.com/users/oVirt/repos","events_url":"https://api.github.com/users/oVirt/events{/privacy}","received_events_url":"https://api.github.com/users/oVirt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oVirt/ovirt-ansible-disaster-recovery","description":"Ansible role to perform disaster recovery for oVirt engine","fork":false,"url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery","forks_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/forks","keys_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/teams","hooks_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/hooks","issue_events_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/issues/events{/number}","events_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/events","assignees_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/assignees{/user}","branches_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/branches{/branch}","tags_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/tags","blobs_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/git/refs{/sha}","trees_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/statuses/{sha}","languages_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/languages","stargazers_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/stargazers","contributors_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/contributors","subscribers_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/subscribers","subscription_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/subscription","commits_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/commits{/sha}","git_commits_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/git/commits{/sha}","comments_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/comments{/number}","issue_comment_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/issues/comments{/number}","contents_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/contents/{+path}","compare_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/merges","archive_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/downloads","issues_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/issues{/number}","pulls_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/pulls{/number}","milestones_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/milestones{/number}","notifications_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/labels{/name}","releases_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/releases{/id}","deployments_url":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/deployments","created_at":"2017-12-14T15:29:32Z","updated_at":"2018-03-02T13:27:35Z","pushed_at":"2018-03-07T07:34:18Z","git_url":"git://github.com/oVirt/ovirt-ansible-disaster-recovery.git","ssh_url":"git@github.com:oVirt/ovirt-ansible-disaster-recovery.git","clone_url":"https://github.com/oVirt/ovirt-ansible-disaster-recovery.git","svn_url":"https://github.com/oVirt/ovirt-ansible-disaster-recovery","homepage":"","size":99,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":3,"open_issues":4,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/pulls/38"},"html":{"href":"https://github.com/oVirt/ovirt-ansible-disaster-recovery/pull/38"},"issue":{"href":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/issues/38"},"comments":{"href":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/oVirt/ovirt-ansible-disaster-recovery/statuses/ac9c0b791beac615761582a2bf9e8541239dd695"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"maorlipchuk"}}