{"action":"created","comment":{"url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/comments/77538738","id":77538738,"diff_hunk":"@@ -67,4 +67,81 @@ def self.get_network_node_from_neutron_attributes(node)\n       Chef::Node.load(network_node_name)\n     end\n   end\n+\n+  # Validates infoblox configuration and returns a configuration hash ready for\n+  # passing to the neutron.conf template.\n+  def self.get_infoblox_config(node)\n+    ret = {}\n+    ret[:use_infoblox] = node[:neutron][:use_infoblox]\n+\n+    unless ( node[:neutron][:use_infoblox] )\n+      return ret\n+    end\n+\n+    [\"cloud_data_center_id\", \"ipam_agent_workers\"].each do |k|\n+        unless node[:neutron][:infoblox].key(k)\n+          raise \"node[:neutron][:infoblox][#{k}] missing. Please specify.\"\n+        end\n+        ret[k] = node[:neutron][:infoblox][k]\n+    end\n+\n+","path":"chef/cookbooks/neutron/libraries/helpers.rb","position":22,"original_position":22,"commit_id":"1d90ba0d17ec1b16d1b5bf00ca4f28df1b43bcfe","original_commit_id":"1d90ba0d17ec1b16d1b5bf00ca4f28df1b43bcfe","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Style/EmptyLines: Extra blank line detected.","created_at":"2016-09-05T15:48:26Z","updated_at":"2016-09-05T15:48:26Z","html_url":"https://github.com/crowbar/crowbar-openstack/pull/521#discussion_r77538738","pull_request_url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/521","_links":{"self":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/comments/77538738"},"html":{"href":"https://github.com/crowbar/crowbar-openstack/pull/521#discussion_r77538738"},"pull_request":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/521"}}},"pull_request":{"url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/521","id":84018750,"html_url":"https://github.com/crowbar/crowbar-openstack/pull/521","diff_url":"https://github.com/crowbar/crowbar-openstack/pull/521.diff","patch_url":"https://github.com/crowbar/crowbar-openstack/pull/521.patch","issue_url":"https://api.github.com/repos/crowbar/crowbar-openstack/issues/521","number":521,"state":"open","locked":false,"title":"Infoblox","user":{"login":"jgrassler","id":5631641,"avatar_url":"https://avatars.githubusercontent.com/u/5631641?v=3","gravatar_id":"","url":"https://api.github.com/users/jgrassler","html_url":"https://github.com/jgrassler","followers_url":"https://api.github.com/users/jgrassler/followers","following_url":"https://api.github.com/users/jgrassler/following{/other_user}","gists_url":"https://api.github.com/users/jgrassler/gists{/gist_id}","starred_url":"https://api.github.com/users/jgrassler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgrassler/subscriptions","organizations_url":"https://api.github.com/users/jgrassler/orgs","repos_url":"https://api.github.com/users/jgrassler/repos","events_url":"https://api.github.com/users/jgrassler/events{/privacy}","received_events_url":"https://api.github.com/users/jgrassler/received_events","type":"User","site_admin":false},"body":"This pull request adds support for the [new style infoblox Neutron plugin](https://github.com/openstack/networking-infoblox/).","created_at":"2016-09-05T15:39:30Z","updated_at":"2016-09-05T15:48:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8203e954f73164adad8aaf7741fc7fae30e0a588","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/521/commits","review_comments_url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/521/comments","review_comment_url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crowbar/crowbar-openstack/issues/521/comments","statuses_url":"https://api.github.com/repos/crowbar/crowbar-openstack/statuses/1d90ba0d17ec1b16d1b5bf00ca4f28df1b43bcfe","head":{"label":"jgrassler:infoblox","ref":"infoblox","sha":"1d90ba0d17ec1b16d1b5bf00ca4f28df1b43bcfe","user":{"login":"jgrassler","id":5631641,"avatar_url":"https://avatars.githubusercontent.com/u/5631641?v=3","gravatar_id":"","url":"https://api.github.com/users/jgrassler","html_url":"https://github.com/jgrassler","followers_url":"https://api.github.com/users/jgrassler/followers","following_url":"https://api.github.com/users/jgrassler/following{/other_user}","gists_url":"https://api.github.com/users/jgrassler/gists{/gist_id}","starred_url":"https://api.github.com/users/jgrassler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgrassler/subscriptions","organizations_url":"https://api.github.com/users/jgrassler/orgs","repos_url":"https://api.github.com/users/jgrassler/repos","events_url":"https://api.github.com/users/jgrassler/events{/privacy}","received_events_url":"https://api.github.com/users/jgrassler/received_events","type":"User","site_admin":false},"repo":{"id":54136324,"name":"crowbar-openstack","full_name":"jgrassler/crowbar-openstack","owner":{"login":"jgrassler","id":5631641,"avatar_url":"https://avatars.githubusercontent.com/u/5631641?v=3","gravatar_id":"","url":"https://api.github.com/users/jgrassler","html_url":"https://github.com/jgrassler","followers_url":"https://api.github.com/users/jgrassler/followers","following_url":"https://api.github.com/users/jgrassler/following{/other_user}","gists_url":"https://api.github.com/users/jgrassler/gists{/gist_id}","starred_url":"https://api.github.com/users/jgrassler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgrassler/subscriptions","organizations_url":"https://api.github.com/users/jgrassler/orgs","repos_url":"https://api.github.com/users/jgrassler/repos","events_url":"https://api.github.com/users/jgrassler/events{/privacy}","received_events_url":"https://api.github.com/users/jgrassler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jgrassler/crowbar-openstack","description":"Openstack deployment for Crowbar","fork":true,"url":"https://api.github.com/repos/jgrassler/crowbar-openstack","forks_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/forks","keys_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/teams","hooks_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/hooks","issue_events_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/issues/events{/number}","events_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/events","assignees_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/assignees{/user}","branches_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/branches{/branch}","tags_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/tags","blobs_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/statuses/{sha}","languages_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/languages","stargazers_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/stargazers","contributors_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/contributors","subscribers_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/subscribers","subscription_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/subscription","commits_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/contents/{+path}","compare_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/merges","archive_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/downloads","issues_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/issues{/number}","pulls_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/pulls{/number}","milestones_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/milestones{/number}","notifications_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/labels{/name}","releases_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/releases{/id}","deployments_url":"https://api.github.com/repos/jgrassler/crowbar-openstack/deployments","created_at":"2016-03-17T17:05:22Z","updated_at":"2016-03-17T17:05:24Z","pushed_at":"2016-09-05T15:48:16Z","git_url":"git://github.com/jgrassler/crowbar-openstack.git","ssh_url":"git@github.com:jgrassler/crowbar-openstack.git","clone_url":"https://github.com/jgrassler/crowbar-openstack.git","svn_url":"https://github.com/jgrassler/crowbar-openstack","homepage":null,"size":17276,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"crowbar:master","ref":"master","sha":"420abdc29ab435eae703ba114bd76d07d1268a06","user":{"login":"crowbar","id":2910205,"avatar_url":"https://avatars.githubusercontent.com/u/2910205?v=3","gravatar_id":"","url":"https://api.github.com/users/crowbar","html_url":"https://github.com/crowbar","followers_url":"https://api.github.com/users/crowbar/followers","following_url":"https://api.github.com/users/crowbar/following{/other_user}","gists_url":"https://api.github.com/users/crowbar/gists{/gist_id}","starred_url":"https://api.github.com/users/crowbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowbar/subscriptions","organizations_url":"https://api.github.com/users/crowbar/orgs","repos_url":"https://api.github.com/users/crowbar/repos","events_url":"https://api.github.com/users/crowbar/events{/privacy}","received_events_url":"https://api.github.com/users/crowbar/received_events","type":"Organization","site_admin":false},"repo":{"id":39006903,"name":"crowbar-openstack","full_name":"crowbar/crowbar-openstack","owner":{"login":"crowbar","id":2910205,"avatar_url":"https://avatars.githubusercontent.com/u/2910205?v=3","gravatar_id":"","url":"https://api.github.com/users/crowbar","html_url":"https://github.com/crowbar","followers_url":"https://api.github.com/users/crowbar/followers","following_url":"https://api.github.com/users/crowbar/following{/other_user}","gists_url":"https://api.github.com/users/crowbar/gists{/gist_id}","starred_url":"https://api.github.com/users/crowbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowbar/subscriptions","organizations_url":"https://api.github.com/users/crowbar/orgs","repos_url":"https://api.github.com/users/crowbar/repos","events_url":"https://api.github.com/users/crowbar/events{/privacy}","received_events_url":"https://api.github.com/users/crowbar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crowbar/crowbar-openstack","description":"Openstack deployment for Crowbar","fork":false,"url":"https://api.github.com/repos/crowbar/crowbar-openstack","forks_url":"https://api.github.com/repos/crowbar/crowbar-openstack/forks","keys_url":"https://api.github.com/repos/crowbar/crowbar-openstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crowbar/crowbar-openstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crowbar/crowbar-openstack/teams","hooks_url":"https://api.github.com/repos/crowbar/crowbar-openstack/hooks","issue_events_url":"https://api.github.com/repos/crowbar/crowbar-openstack/issues/events{/number}","events_url":"https://api.github.com/repos/crowbar/crowbar-openstack/events","assignees_url":"https://api.github.com/repos/crowbar/crowbar-openstack/assignees{/user}","branches_url":"https://api.github.com/repos/crowbar/crowbar-openstack/branches{/branch}","tags_url":"https://api.github.com/repos/crowbar/crowbar-openstack/tags","blobs_url":"https://api.github.com/repos/crowbar/crowbar-openstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crowbar/crowbar-openstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crowbar/crowbar-openstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/crowbar/crowbar-openstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crowbar/crowbar-openstack/statuses/{sha}","languages_url":"https://api.github.com/repos/crowbar/crowbar-openstack/languages","stargazers_url":"https://api.github.com/repos/crowbar/crowbar-openstack/stargazers","contributors_url":"https://api.github.com/repos/crowbar/crowbar-openstack/contributors","subscribers_url":"https://api.github.com/repos/crowbar/crowbar-openstack/subscribers","subscription_url":"https://api.github.com/repos/crowbar/crowbar-openstack/subscription","commits_url":"https://api.github.com/repos/crowbar/crowbar-openstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/crowbar/crowbar-openstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/crowbar/crowbar-openstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/crowbar/crowbar-openstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/crowbar/crowbar-openstack/contents/{+path}","compare_url":"https://api.github.com/repos/crowbar/crowbar-openstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crowbar/crowbar-openstack/merges","archive_url":"https://api.github.com/repos/crowbar/crowbar-openstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crowbar/crowbar-openstack/downloads","issues_url":"https://api.github.com/repos/crowbar/crowbar-openstack/issues{/number}","pulls_url":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls{/number}","milestones_url":"https://api.github.com/repos/crowbar/crowbar-openstack/milestones{/number}","notifications_url":"https://api.github.com/repos/crowbar/crowbar-openstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crowbar/crowbar-openstack/labels{/name}","releases_url":"https://api.github.com/repos/crowbar/crowbar-openstack/releases{/id}","deployments_url":"https://api.github.com/repos/crowbar/crowbar-openstack/deployments","created_at":"2015-07-13T10:55:33Z","updated_at":"2016-01-11T12:29:07Z","pushed_at":"2016-09-05T15:48:17Z","git_url":"git://github.com/crowbar/crowbar-openstack.git","ssh_url":"git@github.com:crowbar/crowbar-openstack.git","clone_url":"https://github.com/crowbar/crowbar-openstack.git","svn_url":"https://github.com/crowbar/crowbar-openstack","homepage":null,"size":18109,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":41,"forks":34,"open_issues":41,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/521"},"html":{"href":"https://github.com/crowbar/crowbar-openstack/pull/521"},"issue":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/issues/521"},"comments":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/issues/521/comments"},"review_comments":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/521/comments"},"review_comment":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/pulls/521/commits"},"statuses":{"href":"https://api.github.com/repos/crowbar/crowbar-openstack/statuses/1d90ba0d17ec1b16d1b5bf00ca4f28df1b43bcfe"}}}}
{"actor":{"display_login":"houndci-bot"}}