{"action":"created","comment":{"url":"https://api.github.com/repos/grycap/cloudvamp/pulls/comments/52439227","id":52439227,"diff_hunk":"@@ -148,10 +148,10 @@ def get_vm_list():\n \t\t\tres = []\n \t\t\tfor vm in res_vm.VM:\n \t\t\t\thost = HostInfo(int(vm.HISTORY_RECORDS.HISTORY[0].HID), vm.HISTORY_RECORDS.HISTORY[0].HOSTNAME)\n-\t\t\t\tnew_vm = VirtualMachineInfo(int(vm.ID), host, vm.TEMPLATE.MEMORY * 1024, vm)\n+\t\t\t\tnew_vm = VirtualMachineInfo(int(vm.ID), host, int(vm.TEMPLATE.MEMORY) * 1024, vm)\n \t\t\t\tnew_vm.user_id = vm.UID\n \t\t\t\tif vm.USER_TEMPLATE.MEM_TOTAL:\n-\t\t\t\t\tnew_vm.set_memory_values(int(vm.USER_TEMPLATE.MEM_TOTAL_REAL),\n+\t\t\t\t\tnew_vm.set_memory_values(int(vm.REALMEMORY),","path":"cvem/connectors/one/OpenNebula.py","position":27,"original_position":27,"commit_id":"3bf293308d362e3b405cc0664f5c7e32891975ad","original_commit_id":"3bf293308d362e3b405cc0664f5c7e32891975ad","user":{"login":"feldsam","id":951648,"avatar_url":"https://avatars.githubusercontent.com/u/951648?v=3","gravatar_id":"","url":"https://api.github.com/users/feldsam","html_url":"https://github.com/feldsam","followers_url":"https://api.github.com/users/feldsam/followers","following_url":"https://api.github.com/users/feldsam/following{/other_user}","gists_url":"https://api.github.com/users/feldsam/gists{/gist_id}","starred_url":"https://api.github.com/users/feldsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feldsam/subscriptions","organizations_url":"https://api.github.com/users/feldsam/orgs","repos_url":"https://api.github.com/users/feldsam/repos","events_url":"https://api.github.com/users/feldsam/events{/privacy}","received_events_url":"https://api.github.com/users/feldsam/received_events","type":"User","site_admin":false},"body":"If you are open to skype call, them we can look on code and explain it. hmm? My skype tio289","created_at":"2016-02-10T10:25:09Z","updated_at":"2016-02-10T10:25:09Z","html_url":"https://github.com/grycap/cloudvamp/pull/10#discussion_r52439227","pull_request_url":"https://api.github.com/repos/grycap/cloudvamp/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/grycap/cloudvamp/pulls/comments/52439227"},"html":{"href":"https://github.com/grycap/cloudvamp/pull/10#discussion_r52439227"},"pull_request":{"href":"https://api.github.com/repos/grycap/cloudvamp/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/grycap/cloudvamp/pulls/10","id":58783139,"html_url":"https://github.com/grycap/cloudvamp/pull/10","diff_url":"https://github.com/grycap/cloudvamp/pull/10.diff","patch_url":"https://github.com/grycap/cloudvamp/pull/10.patch","issue_url":"https://api.github.com/repos/grycap/cloudvamp/issues/10","number":10,"state":"open","locked":false,"title":"Fixes and improvements in cvem monitoring","user":{"login":"feldsam","id":951648,"avatar_url":"https://avatars.githubusercontent.com/u/951648?v=3","gravatar_id":"","url":"https://api.github.com/users/feldsam","html_url":"https://github.com/feldsam","followers_url":"https://api.github.com/users/feldsam/followers","following_url":"https://api.github.com/users/feldsam/following{/other_user}","gists_url":"https://api.github.com/users/feldsam/gists{/gist_id}","starred_url":"https://api.github.com/users/feldsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feldsam/subscriptions","organizations_url":"https://api.github.com/users/feldsam/orgs","repos_url":"https://api.github.com/users/feldsam/repos","events_url":"https://api.github.com/users/feldsam/events{/privacy}","received_events_url":"https://api.github.com/users/feldsam/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Kristián Feldsam <feldsam@gmail.com>\r\n\r\nI tested it on production environment, it's working fine.\r\n\r\nLook at comments in commit","created_at":"2016-02-09T17:46:27Z","updated_at":"2016-02-10T10:25:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2d89fb8455a90a5e709e2450d201864a8dc2fb6d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/grycap/cloudvamp/pulls/10/commits","review_comments_url":"https://api.github.com/repos/grycap/cloudvamp/pulls/10/comments","review_comment_url":"https://api.github.com/repos/grycap/cloudvamp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/grycap/cloudvamp/issues/10/comments","statuses_url":"https://api.github.com/repos/grycap/cloudvamp/statuses/3bf293308d362e3b405cc0664f5c7e32891975ad","head":{"label":"feldsam:cvem-monitor-fixes-improvements","ref":"cvem-monitor-fixes-improvements","sha":"3bf293308d362e3b405cc0664f5c7e32891975ad","user":{"login":"feldsam","id":951648,"avatar_url":"https://avatars.githubusercontent.com/u/951648?v=3","gravatar_id":"","url":"https://api.github.com/users/feldsam","html_url":"https://github.com/feldsam","followers_url":"https://api.github.com/users/feldsam/followers","following_url":"https://api.github.com/users/feldsam/following{/other_user}","gists_url":"https://api.github.com/users/feldsam/gists{/gist_id}","starred_url":"https://api.github.com/users/feldsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feldsam/subscriptions","organizations_url":"https://api.github.com/users/feldsam/orgs","repos_url":"https://api.github.com/users/feldsam/repos","events_url":"https://api.github.com/users/feldsam/events{/privacy}","received_events_url":"https://api.github.com/users/feldsam/received_events","type":"User","site_admin":false},"repo":{"id":50537512,"name":"cloudvamp","full_name":"feldsam/cloudvamp","owner":{"login":"feldsam","id":951648,"avatar_url":"https://avatars.githubusercontent.com/u/951648?v=3","gravatar_id":"","url":"https://api.github.com/users/feldsam","html_url":"https://github.com/feldsam","followers_url":"https://api.github.com/users/feldsam/followers","following_url":"https://api.github.com/users/feldsam/following{/other_user}","gists_url":"https://api.github.com/users/feldsam/gists{/gist_id}","starred_url":"https://api.github.com/users/feldsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feldsam/subscriptions","organizations_url":"https://api.github.com/users/feldsam/orgs","repos_url":"https://api.github.com/users/feldsam/repos","events_url":"https://api.github.com/users/feldsam/events{/privacy}","received_events_url":"https://api.github.com/users/feldsam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/feldsam/cloudvamp","description":"An Automatic Oversubscription Framework for  On-Premises Clouds","fork":true,"url":"https://api.github.com/repos/feldsam/cloudvamp","forks_url":"https://api.github.com/repos/feldsam/cloudvamp/forks","keys_url":"https://api.github.com/repos/feldsam/cloudvamp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feldsam/cloudvamp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feldsam/cloudvamp/teams","hooks_url":"https://api.github.com/repos/feldsam/cloudvamp/hooks","issue_events_url":"https://api.github.com/repos/feldsam/cloudvamp/issues/events{/number}","events_url":"https://api.github.com/repos/feldsam/cloudvamp/events","assignees_url":"https://api.github.com/repos/feldsam/cloudvamp/assignees{/user}","branches_url":"https://api.github.com/repos/feldsam/cloudvamp/branches{/branch}","tags_url":"https://api.github.com/repos/feldsam/cloudvamp/tags","blobs_url":"https://api.github.com/repos/feldsam/cloudvamp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feldsam/cloudvamp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feldsam/cloudvamp/git/refs{/sha}","trees_url":"https://api.github.com/repos/feldsam/cloudvamp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feldsam/cloudvamp/statuses/{sha}","languages_url":"https://api.github.com/repos/feldsam/cloudvamp/languages","stargazers_url":"https://api.github.com/repos/feldsam/cloudvamp/stargazers","contributors_url":"https://api.github.com/repos/feldsam/cloudvamp/contributors","subscribers_url":"https://api.github.com/repos/feldsam/cloudvamp/subscribers","subscription_url":"https://api.github.com/repos/feldsam/cloudvamp/subscription","commits_url":"https://api.github.com/repos/feldsam/cloudvamp/commits{/sha}","git_commits_url":"https://api.github.com/repos/feldsam/cloudvamp/git/commits{/sha}","comments_url":"https://api.github.com/repos/feldsam/cloudvamp/comments{/number}","issue_comment_url":"https://api.github.com/repos/feldsam/cloudvamp/issues/comments{/number}","contents_url":"https://api.github.com/repos/feldsam/cloudvamp/contents/{+path}","compare_url":"https://api.github.com/repos/feldsam/cloudvamp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feldsam/cloudvamp/merges","archive_url":"https://api.github.com/repos/feldsam/cloudvamp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feldsam/cloudvamp/downloads","issues_url":"https://api.github.com/repos/feldsam/cloudvamp/issues{/number}","pulls_url":"https://api.github.com/repos/feldsam/cloudvamp/pulls{/number}","milestones_url":"https://api.github.com/repos/feldsam/cloudvamp/milestones{/number}","notifications_url":"https://api.github.com/repos/feldsam/cloudvamp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feldsam/cloudvamp/labels{/name}","releases_url":"https://api.github.com/repos/feldsam/cloudvamp/releases{/id}","deployments_url":"https://api.github.com/repos/feldsam/cloudvamp/deployments","created_at":"2016-01-27T21:01:01Z","updated_at":"2016-01-28T15:07:45Z","pushed_at":"2016-02-10T09:53:53Z","git_url":"git://github.com/feldsam/cloudvamp.git","ssh_url":"git@github.com:feldsam/cloudvamp.git","clone_url":"https://github.com/feldsam/cloudvamp.git","svn_url":"https://github.com/feldsam/cloudvamp","homepage":"","size":784,"stargazers_count":1,"watchers_count":1,"language":"Python","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":1,"default_branch":"master"}},"base":{"label":"grycap:master","ref":"master","sha":"cafad3f5a03e6516db3df19f0769b426197891af","user":{"login":"grycap","id":8657971,"avatar_url":"https://avatars.githubusercontent.com/u/8657971?v=3","gravatar_id":"","url":"https://api.github.com/users/grycap","html_url":"https://github.com/grycap","followers_url":"https://api.github.com/users/grycap/followers","following_url":"https://api.github.com/users/grycap/following{/other_user}","gists_url":"https://api.github.com/users/grycap/gists{/gist_id}","starred_url":"https://api.github.com/users/grycap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grycap/subscriptions","organizations_url":"https://api.github.com/users/grycap/orgs","repos_url":"https://api.github.com/users/grycap/repos","events_url":"https://api.github.com/users/grycap/events{/privacy}","received_events_url":"https://api.github.com/users/grycap/received_events","type":"Organization","site_admin":false},"repo":{"id":33253878,"name":"cloudvamp","full_name":"grycap/cloudvamp","owner":{"login":"grycap","id":8657971,"avatar_url":"https://avatars.githubusercontent.com/u/8657971?v=3","gravatar_id":"","url":"https://api.github.com/users/grycap","html_url":"https://github.com/grycap","followers_url":"https://api.github.com/users/grycap/followers","following_url":"https://api.github.com/users/grycap/following{/other_user}","gists_url":"https://api.github.com/users/grycap/gists{/gist_id}","starred_url":"https://api.github.com/users/grycap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grycap/subscriptions","organizations_url":"https://api.github.com/users/grycap/orgs","repos_url":"https://api.github.com/users/grycap/repos","events_url":"https://api.github.com/users/grycap/events{/privacy}","received_events_url":"https://api.github.com/users/grycap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/grycap/cloudvamp","description":"An Automatic Oversubscription Framework for  On-Premises Clouds","fork":false,"url":"https://api.github.com/repos/grycap/cloudvamp","forks_url":"https://api.github.com/repos/grycap/cloudvamp/forks","keys_url":"https://api.github.com/repos/grycap/cloudvamp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grycap/cloudvamp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grycap/cloudvamp/teams","hooks_url":"https://api.github.com/repos/grycap/cloudvamp/hooks","issue_events_url":"https://api.github.com/repos/grycap/cloudvamp/issues/events{/number}","events_url":"https://api.github.com/repos/grycap/cloudvamp/events","assignees_url":"https://api.github.com/repos/grycap/cloudvamp/assignees{/user}","branches_url":"https://api.github.com/repos/grycap/cloudvamp/branches{/branch}","tags_url":"https://api.github.com/repos/grycap/cloudvamp/tags","blobs_url":"https://api.github.com/repos/grycap/cloudvamp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grycap/cloudvamp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grycap/cloudvamp/git/refs{/sha}","trees_url":"https://api.github.com/repos/grycap/cloudvamp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grycap/cloudvamp/statuses/{sha}","languages_url":"https://api.github.com/repos/grycap/cloudvamp/languages","stargazers_url":"https://api.github.com/repos/grycap/cloudvamp/stargazers","contributors_url":"https://api.github.com/repos/grycap/cloudvamp/contributors","subscribers_url":"https://api.github.com/repos/grycap/cloudvamp/subscribers","subscription_url":"https://api.github.com/repos/grycap/cloudvamp/subscription","commits_url":"https://api.github.com/repos/grycap/cloudvamp/commits{/sha}","git_commits_url":"https://api.github.com/repos/grycap/cloudvamp/git/commits{/sha}","comments_url":"https://api.github.com/repos/grycap/cloudvamp/comments{/number}","issue_comment_url":"https://api.github.com/repos/grycap/cloudvamp/issues/comments{/number}","contents_url":"https://api.github.com/repos/grycap/cloudvamp/contents/{+path}","compare_url":"https://api.github.com/repos/grycap/cloudvamp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grycap/cloudvamp/merges","archive_url":"https://api.github.com/repos/grycap/cloudvamp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grycap/cloudvamp/downloads","issues_url":"https://api.github.com/repos/grycap/cloudvamp/issues{/number}","pulls_url":"https://api.github.com/repos/grycap/cloudvamp/pulls{/number}","milestones_url":"https://api.github.com/repos/grycap/cloudvamp/milestones{/number}","notifications_url":"https://api.github.com/repos/grycap/cloudvamp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grycap/cloudvamp/labels{/name}","releases_url":"https://api.github.com/repos/grycap/cloudvamp/releases{/id}","deployments_url":"https://api.github.com/repos/grycap/cloudvamp/deployments","created_at":"2015-04-01T14:56:46Z","updated_at":"2016-02-02T13:42:31Z","pushed_at":"2016-02-10T09:53:54Z","git_url":"git://github.com/grycap/cloudvamp.git","ssh_url":"git@github.com:grycap/cloudvamp.git","clone_url":"https://github.com/grycap/cloudvamp.git","svn_url":"https://github.com/grycap/cloudvamp","homepage":"","size":771,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/grycap/cloudvamp/pulls/10"},"html":{"href":"https://github.com/grycap/cloudvamp/pull/10"},"issue":{"href":"https://api.github.com/repos/grycap/cloudvamp/issues/10"},"comments":{"href":"https://api.github.com/repos/grycap/cloudvamp/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/grycap/cloudvamp/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/grycap/cloudvamp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/grycap/cloudvamp/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/grycap/cloudvamp/statuses/3bf293308d362e3b405cc0664f5c7e32891975ad"}}}}