{"action":"created","comment":{"url":"https://api.github.com/repos/Mirantis/mos-integration-tests/pulls/comments/47090504","id":47090504,"diff_hunk":"@@ -22,6 +22,17 @@\n logger.addHandler(ch)\n logger.setLevel(logging.INFO)\n \n+_boolean_states = {'1': True, 'yes': True, 'true': True, 'on': True,\n+                   '0': False, 'no': False, 'false': False, 'off': False}\n+\n+def get_var_as_bool(name, default):\n+    value = os.environ.get(name, '')\n+    return _boolean_states.get(value.lower(), default)\n+\n+PATH_TO_CERT = os.environ.get('PATH_TO_CERT', os.path.join(\n+    SSL_CERTS_DIR, 'ca.crt'))","path":"tools/settings.py","position":12,"original_position":12,"commit_id":"3b6d2ebcd7f6798968e47c9a77579b635d1e8998","original_commit_id":"3b6d2ebcd7f6798968e47c9a77579b635d1e8998","user":{"login":"TregubovYury","id":16223064,"avatar_url":"https://avatars.githubusercontent.com/u/16223064?v=3","gravatar_id":"","url":"https://api.github.com/users/TregubovYury","html_url":"https://github.com/TregubovYury","followers_url":"https://api.github.com/users/TregubovYury/followers","following_url":"https://api.github.com/users/TregubovYury/following{/other_user}","gists_url":"https://api.github.com/users/TregubovYury/gists{/gist_id}","starred_url":"https://api.github.com/users/TregubovYury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TregubovYury/subscriptions","organizations_url":"https://api.github.com/users/TregubovYury/orgs","repos_url":"https://api.github.com/users/TregubovYury/repos","events_url":"https://api.github.com/users/TregubovYury/events{/privacy}","received_events_url":"https://api.github.com/users/TregubovYury/received_events","type":"User","site_admin":false},"body":"Hm... flake did not caught it. Tnx will fix that.","created_at":"2015-12-09T13:38:05Z","updated_at":"2015-12-09T13:38:05Z","html_url":"https://github.com/Mirantis/mos-integration-tests/pull/10#discussion_r47090504","pull_request_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/Mirantis/mos-integration-tests/pulls/comments/47090504"},"html":{"href":"https://github.com/Mirantis/mos-integration-tests/pull/10#discussion_r47090504"},"pull_request":{"href":"https://api.github.com/repos/Mirantis/mos-integration-tests/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/Mirantis/mos-integration-tests/pulls/10","id":53114891,"html_url":"https://github.com/Mirantis/mos-integration-tests/pull/10","diff_url":"https://github.com/Mirantis/mos-integration-tests/pull/10.diff","patch_url":"https://github.com/Mirantis/mos-integration-tests/pull/10.patch","issue_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/issues/10","number":10,"state":"open","locked":false,"title":"Networking automation","user":{"login":"TregubovYury","id":16223064,"avatar_url":"https://avatars.githubusercontent.com/u/16223064?v=3","gravatar_id":"","url":"https://api.github.com/users/TregubovYury","html_url":"https://github.com/TregubovYury","followers_url":"https://api.github.com/users/TregubovYury/followers","following_url":"https://api.github.com/users/TregubovYury/following{/other_user}","gists_url":"https://api.github.com/users/TregubovYury/gists{/gist_id}","starred_url":"https://api.github.com/users/TregubovYury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TregubovYury/subscriptions","organizations_url":"https://api.github.com/users/TregubovYury/orgs","repos_url":"https://api.github.com/users/TregubovYury/repos","events_url":"https://api.github.com/users/TregubovYury/events{/privacy}","received_events_url":"https://api.github.com/users/TregubovYury/received_events","type":"User","site_admin":false},"body":"Author: Tregubov Yury\r\nAdded os_interface the class to be used for communication with\r\ndeployed stack over neutron nova and the rest clients","created_at":"2015-12-09T12:54:54Z","updated_at":"2015-12-09T13:38:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1cc7ee1e7be37bed52eaf08572da49edcac64528","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/pulls/10/commits","review_comments_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/pulls/10/comments","review_comment_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/issues/10/comments","statuses_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/statuses/3b6d2ebcd7f6798968e47c9a77579b635d1e8998","head":{"label":"TregubovYury:master","ref":"master","sha":"3b6d2ebcd7f6798968e47c9a77579b635d1e8998","user":{"login":"TregubovYury","id":16223064,"avatar_url":"https://avatars.githubusercontent.com/u/16223064?v=3","gravatar_id":"","url":"https://api.github.com/users/TregubovYury","html_url":"https://github.com/TregubovYury","followers_url":"https://api.github.com/users/TregubovYury/followers","following_url":"https://api.github.com/users/TregubovYury/following{/other_user}","gists_url":"https://api.github.com/users/TregubovYury/gists{/gist_id}","starred_url":"https://api.github.com/users/TregubovYury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TregubovYury/subscriptions","organizations_url":"https://api.github.com/users/TregubovYury/orgs","repos_url":"https://api.github.com/users/TregubovYury/repos","events_url":"https://api.github.com/users/TregubovYury/events{/privacy}","received_events_url":"https://api.github.com/users/TregubovYury/received_events","type":"User","site_admin":false},"repo":{"id":47690943,"name":"mos-integration-tests","full_name":"TregubovYury/mos-integration-tests","owner":{"login":"TregubovYury","id":16223064,"avatar_url":"https://avatars.githubusercontent.com/u/16223064?v=3","gravatar_id":"","url":"https://api.github.com/users/TregubovYury","html_url":"https://github.com/TregubovYury","followers_url":"https://api.github.com/users/TregubovYury/followers","following_url":"https://api.github.com/users/TregubovYury/following{/other_user}","gists_url":"https://api.github.com/users/TregubovYury/gists{/gist_id}","starred_url":"https://api.github.com/users/TregubovYury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TregubovYury/subscriptions","organizations_url":"https://api.github.com/users/TregubovYury/orgs","repos_url":"https://api.github.com/users/TregubovYury/repos","events_url":"https://api.github.com/users/TregubovYury/events{/privacy}","received_events_url":"https://api.github.com/users/TregubovYury/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TregubovYury/mos-integration-tests","description":"","fork":true,"url":"https://api.github.com/repos/TregubovYury/mos-integration-tests","forks_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/forks","keys_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/teams","hooks_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/hooks","issue_events_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/issues/events{/number}","events_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/events","assignees_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/assignees{/user}","branches_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/branches{/branch}","tags_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/tags","blobs_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/languages","stargazers_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/stargazers","contributors_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/contributors","subscribers_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/subscribers","subscription_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/subscription","commits_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/contents/{+path}","compare_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/merges","archive_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/downloads","issues_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/issues{/number}","pulls_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/labels{/name}","releases_url":"https://api.github.com/repos/TregubovYury/mos-integration-tests/releases{/id}","created_at":"2015-12-09T12:47:30Z","updated_at":"2015-12-09T12:47:31Z","pushed_at":"2015-12-09T12:53:24Z","git_url":"git://github.com/TregubovYury/mos-integration-tests.git","ssh_url":"git@github.com:TregubovYury/mos-integration-tests.git","clone_url":"https://github.com/TregubovYury/mos-integration-tests.git","svn_url":"https://github.com/TregubovYury/mos-integration-tests","homepage":null,"size":46,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"Mirantis:master","ref":"master","sha":"a41fcfe4a5e8c3677e26dd170423d49ed6d0493d","user":{"login":"Mirantis","id":609319,"avatar_url":"https://avatars.githubusercontent.com/u/609319?v=3","gravatar_id":"","url":"https://api.github.com/users/Mirantis","html_url":"https://github.com/Mirantis","followers_url":"https://api.github.com/users/Mirantis/followers","following_url":"https://api.github.com/users/Mirantis/following{/other_user}","gists_url":"https://api.github.com/users/Mirantis/gists{/gist_id}","starred_url":"https://api.github.com/users/Mirantis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mirantis/subscriptions","organizations_url":"https://api.github.com/users/Mirantis/orgs","repos_url":"https://api.github.com/users/Mirantis/repos","events_url":"https://api.github.com/users/Mirantis/events{/privacy}","received_events_url":"https://api.github.com/users/Mirantis/received_events","type":"Organization","site_admin":false},"repo":{"id":47408971,"name":"mos-integration-tests","full_name":"Mirantis/mos-integration-tests","owner":{"login":"Mirantis","id":609319,"avatar_url":"https://avatars.githubusercontent.com/u/609319?v=3","gravatar_id":"","url":"https://api.github.com/users/Mirantis","html_url":"https://github.com/Mirantis","followers_url":"https://api.github.com/users/Mirantis/followers","following_url":"https://api.github.com/users/Mirantis/following{/other_user}","gists_url":"https://api.github.com/users/Mirantis/gists{/gist_id}","starred_url":"https://api.github.com/users/Mirantis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mirantis/subscriptions","organizations_url":"https://api.github.com/users/Mirantis/orgs","repos_url":"https://api.github.com/users/Mirantis/repos","events_url":"https://api.github.com/users/Mirantis/events{/privacy}","received_events_url":"https://api.github.com/users/Mirantis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Mirantis/mos-integration-tests","description":"","fork":false,"url":"https://api.github.com/repos/Mirantis/mos-integration-tests","forks_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/forks","keys_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/teams","hooks_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/hooks","issue_events_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/issues/events{/number}","events_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/events","assignees_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/assignees{/user}","branches_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/branches{/branch}","tags_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/tags","blobs_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/languages","stargazers_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/stargazers","contributors_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/contributors","subscribers_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/subscribers","subscription_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/subscription","commits_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/contents/{+path}","compare_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/merges","archive_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/downloads","issues_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/issues{/number}","pulls_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/labels{/name}","releases_url":"https://api.github.com/repos/Mirantis/mos-integration-tests/releases{/id}","created_at":"2015-12-04T14:33:39Z","updated_at":"2015-12-09T13:21:28Z","pushed_at":"2015-12-09T13:32:00Z","git_url":"git://github.com/Mirantis/mos-integration-tests.git","ssh_url":"git@github.com:Mirantis/mos-integration-tests.git","clone_url":"https://github.com/Mirantis/mos-integration-tests.git","svn_url":"https://github.com/Mirantis/mos-integration-tests","homepage":null,"size":70,"stargazers_count":2,"watchers_count":2,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":4,"forks":9,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Mirantis/mos-integration-tests/pulls/10"},"html":{"href":"https://github.com/Mirantis/mos-integration-tests/pull/10"},"issue":{"href":"https://api.github.com/repos/Mirantis/mos-integration-tests/issues/10"},"comments":{"href":"https://api.github.com/repos/Mirantis/mos-integration-tests/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/Mirantis/mos-integration-tests/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/Mirantis/mos-integration-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Mirantis/mos-integration-tests/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/Mirantis/mos-integration-tests/statuses/3b6d2ebcd7f6798968e47c9a77579b635d1e8998"}}}}