{"action":"created","comment":{"url":"https://api.github.com/repos/projectatomic/commissaire/pulls/comments/90169898","pull_request_review_id":10692267,"id":90169898,"diff_hunk":"@@ -0,0 +1,190 @@\n+CPD-61: Host Abstraction\n+========================\n+\n+Metadata\n+--------\n+\n+* CPD Version: `61 <https://github.com/projectatomic/commissaire/issues/61>`_\n+* Status: Open\n+\n+Description\n+-----------\n+Today the ``Host`` abstraction is a simple model. It is saved and retrieved via\n+persistent storage with the ``StorageService``. This CPD makes the ``Host`` abstraction\n+into a model which may have its data pulled from another system\n+(EX: `CloudForms <https://www.redhat.com/en/technologies/management/cloudforms>`_).\n+\n+Rationale\n+---------\n+Most environments Commissaire will be used in will not be `greenfield <https://en.wikipedia.org/wiki/Greenfield_project>`_.\n+They will likely have at least one other system which is storing host information. Even if\n+the environment is greenfield there is a good chance that other systems which require\n+storing host data themselves will be brought in.\n+\n+Design\n+------\n+\n+Model Changes\n+~~~~~~~~~~~~~\n+The current ``Host`` model has the following fields:\n+\n+============ ===========\n+Name         Description\n+============ ===========\n+address      IP address or hostname of the ``Host``\n+status       Status of the host. Decided within Commissaire itself.\n+os           The Operating System the ``Host`` utlizes.\n+cpus         Number of CPU's on the ``Host``","path":"doc/cpd/61.rst","position":37,"original_position":37,"commit_id":"0cc083f61e68632bf59c0bff81c0831a610470b0","original_commit_id":"0cc083f61e68632bf59c0bff81c0831a610470b0","user":{"login":"gbraad","id":1894,"avatar_url":"https://avatars.githubusercontent.com/u/1894?v=3","gravatar_id":"","url":"https://api.github.com/users/gbraad","html_url":"https://github.com/gbraad","followers_url":"https://api.github.com/users/gbraad/followers","following_url":"https://api.github.com/users/gbraad/following{/other_user}","gists_url":"https://api.github.com/users/gbraad/gists{/gist_id}","starred_url":"https://api.github.com/users/gbraad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbraad/subscriptions","organizations_url":"https://api.github.com/users/gbraad/orgs","repos_url":"https://api.github.com/users/gbraad/repos","events_url":"https://api.github.com/users/gbraad/events{/privacy}","received_events_url":"https://api.github.com/users/gbraad/received_events","type":"User","site_admin":false},"body":"Shouldn't this be 'in' ?","created_at":"2016-11-30T05:13:59Z","updated_at":"2016-11-30T05:13:59Z","html_url":"https://github.com/projectatomic/commissaire/pull/62#discussion_r90169898","pull_request_url":"https://api.github.com/repos/projectatomic/commissaire/pulls/62","_links":{"self":{"href":"https://api.github.com/repos/projectatomic/commissaire/pulls/comments/90169898"},"html":{"href":"https://github.com/projectatomic/commissaire/pull/62#discussion_r90169898"},"pull_request":{"href":"https://api.github.com/repos/projectatomic/commissaire/pulls/62"}}},"pull_request":{"url":"https://api.github.com/repos/projectatomic/commissaire/pulls/62","id":95587880,"html_url":"https://github.com/projectatomic/commissaire/pull/62","diff_url":"https://github.com/projectatomic/commissaire/pull/62.diff","patch_url":"https://github.com/projectatomic/commissaire/pull/62.patch","issue_url":"https://api.github.com/repos/projectatomic/commissaire/issues/62","number":62,"state":"open","locked":false,"title":"Host Data From External Systems","user":{"login":"ashcrow","id":22706,"avatar_url":"https://avatars.githubusercontent.com/u/22706?v=3","gravatar_id":"","url":"https://api.github.com/users/ashcrow","html_url":"https://github.com/ashcrow","followers_url":"https://api.github.com/users/ashcrow/followers","following_url":"https://api.github.com/users/ashcrow/following{/other_user}","gists_url":"https://api.github.com/users/ashcrow/gists{/gist_id}","starred_url":"https://api.github.com/users/ashcrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashcrow/subscriptions","organizations_url":"https://api.github.com/users/ashcrow/orgs","repos_url":"https://api.github.com/users/ashcrow/repos","events_url":"https://api.github.com/users/ashcrow/events{/privacy}","received_events_url":"https://api.github.com/users/ashcrow/received_events","type":"User","site_admin":false},"body":"See #61","created_at":"2016-11-28T22:19:13Z","updated_at":"2016-11-30T05:13:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ae69de9720320c8c8ff8ea5cc60eed2e64047197","assignee":{"login":"mbarnes","id":56718,"avatar_url":"https://avatars.githubusercontent.com/u/56718?v=3","gravatar_id":"","url":"https://api.github.com/users/mbarnes","html_url":"https://github.com/mbarnes","followers_url":"https://api.github.com/users/mbarnes/followers","following_url":"https://api.github.com/users/mbarnes/following{/other_user}","gists_url":"https://api.github.com/users/mbarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/mbarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbarnes/subscriptions","organizations_url":"https://api.github.com/users/mbarnes/orgs","repos_url":"https://api.github.com/users/mbarnes/repos","events_url":"https://api.github.com/users/mbarnes/events{/privacy}","received_events_url":"https://api.github.com/users/mbarnes/received_events","type":"User","site_admin":false},"assignees":[{"login":"mbarnes","id":56718,"avatar_url":"https://avatars.githubusercontent.com/u/56718?v=3","gravatar_id":"","url":"https://api.github.com/users/mbarnes","html_url":"https://github.com/mbarnes","followers_url":"https://api.github.com/users/mbarnes/followers","following_url":"https://api.github.com/users/mbarnes/following{/other_user}","gists_url":"https://api.github.com/users/mbarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/mbarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbarnes/subscriptions","organizations_url":"https://api.github.com/users/mbarnes/orgs","repos_url":"https://api.github.com/users/mbarnes/repos","events_url":"https://api.github.com/users/mbarnes/events{/privacy}","received_events_url":"https://api.github.com/users/mbarnes/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/projectatomic/commissaire/pulls/62/commits","review_comments_url":"https://api.github.com/repos/projectatomic/commissaire/pulls/62/comments","review_comment_url":"https://api.github.com/repos/projectatomic/commissaire/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectatomic/commissaire/issues/62/comments","statuses_url":"https://api.github.com/repos/projectatomic/commissaire/statuses/0cc083f61e68632bf59c0bff81c0831a610470b0","head":{"label":"ashcrow:cpd-61","ref":"cpd-61","sha":"0cc083f61e68632bf59c0bff81c0831a610470b0","user":{"login":"ashcrow","id":22706,"avatar_url":"https://avatars.githubusercontent.com/u/22706?v=3","gravatar_id":"","url":"https://api.github.com/users/ashcrow","html_url":"https://github.com/ashcrow","followers_url":"https://api.github.com/users/ashcrow/followers","following_url":"https://api.github.com/users/ashcrow/following{/other_user}","gists_url":"https://api.github.com/users/ashcrow/gists{/gist_id}","starred_url":"https://api.github.com/users/ashcrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashcrow/subscriptions","organizations_url":"https://api.github.com/users/ashcrow/orgs","repos_url":"https://api.github.com/users/ashcrow/repos","events_url":"https://api.github.com/users/ashcrow/events{/privacy}","received_events_url":"https://api.github.com/users/ashcrow/received_events","type":"User","site_admin":false},"repo":{"id":68233613,"name":"commissaire","full_name":"ashcrow/commissaire","owner":{"login":"ashcrow","id":22706,"avatar_url":"https://avatars.githubusercontent.com/u/22706?v=3","gravatar_id":"","url":"https://api.github.com/users/ashcrow","html_url":"https://github.com/ashcrow","followers_url":"https://api.github.com/users/ashcrow/followers","following_url":"https://api.github.com/users/ashcrow/following{/other_user}","gists_url":"https://api.github.com/users/ashcrow/gists{/gist_id}","starred_url":"https://api.github.com/users/ashcrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashcrow/subscriptions","organizations_url":"https://api.github.com/users/ashcrow/orgs","repos_url":"https://api.github.com/users/ashcrow/repos","events_url":"https://api.github.com/users/ashcrow/events{/privacy}","received_events_url":"https://api.github.com/users/ashcrow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ashcrow/commissaire","description":"A lightweight REST interface for under-the-covers cluster system management.","fork":true,"url":"https://api.github.com/repos/ashcrow/commissaire","forks_url":"https://api.github.com/repos/ashcrow/commissaire/forks","keys_url":"https://api.github.com/repos/ashcrow/commissaire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ashcrow/commissaire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ashcrow/commissaire/teams","hooks_url":"https://api.github.com/repos/ashcrow/commissaire/hooks","issue_events_url":"https://api.github.com/repos/ashcrow/commissaire/issues/events{/number}","events_url":"https://api.github.com/repos/ashcrow/commissaire/events","assignees_url":"https://api.github.com/repos/ashcrow/commissaire/assignees{/user}","branches_url":"https://api.github.com/repos/ashcrow/commissaire/branches{/branch}","tags_url":"https://api.github.com/repos/ashcrow/commissaire/tags","blobs_url":"https://api.github.com/repos/ashcrow/commissaire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ashcrow/commissaire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ashcrow/commissaire/git/refs{/sha}","trees_url":"https://api.github.com/repos/ashcrow/commissaire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ashcrow/commissaire/statuses/{sha}","languages_url":"https://api.github.com/repos/ashcrow/commissaire/languages","stargazers_url":"https://api.github.com/repos/ashcrow/commissaire/stargazers","contributors_url":"https://api.github.com/repos/ashcrow/commissaire/contributors","subscribers_url":"https://api.github.com/repos/ashcrow/commissaire/subscribers","subscription_url":"https://api.github.com/repos/ashcrow/commissaire/subscription","commits_url":"https://api.github.com/repos/ashcrow/commissaire/commits{/sha}","git_commits_url":"https://api.github.com/repos/ashcrow/commissaire/git/commits{/sha}","comments_url":"https://api.github.com/repos/ashcrow/commissaire/comments{/number}","issue_comment_url":"https://api.github.com/repos/ashcrow/commissaire/issues/comments{/number}","contents_url":"https://api.github.com/repos/ashcrow/commissaire/contents/{+path}","compare_url":"https://api.github.com/repos/ashcrow/commissaire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ashcrow/commissaire/merges","archive_url":"https://api.github.com/repos/ashcrow/commissaire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ashcrow/commissaire/downloads","issues_url":"https://api.github.com/repos/ashcrow/commissaire/issues{/number}","pulls_url":"https://api.github.com/repos/ashcrow/commissaire/pulls{/number}","milestones_url":"https://api.github.com/repos/ashcrow/commissaire/milestones{/number}","notifications_url":"https://api.github.com/repos/ashcrow/commissaire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ashcrow/commissaire/labels{/name}","releases_url":"https://api.github.com/repos/ashcrow/commissaire/releases{/id}","deployments_url":"https://api.github.com/repos/ashcrow/commissaire/deployments","created_at":"2016-09-14T18:48:44Z","updated_at":"2016-09-14T18:48:45Z","pushed_at":"2016-11-29T19:42:10Z","git_url":"git://github.com/ashcrow/commissaire.git","ssh_url":"git@github.com:ashcrow/commissaire.git","clone_url":"https://github.com/ashcrow/commissaire.git","svn_url":"https://github.com/ashcrow/commissaire","homepage":null,"size":573,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"projectatomic:master","ref":"master","sha":"67e65911ab580d2eaa1b6b96e92233c5b925d8a2","user":{"login":"projectatomic","id":6852258,"avatar_url":"https://avatars.githubusercontent.com/u/6852258?v=3","gravatar_id":"","url":"https://api.github.com/users/projectatomic","html_url":"https://github.com/projectatomic","followers_url":"https://api.github.com/users/projectatomic/followers","following_url":"https://api.github.com/users/projectatomic/following{/other_user}","gists_url":"https://api.github.com/users/projectatomic/gists{/gist_id}","starred_url":"https://api.github.com/users/projectatomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectatomic/subscriptions","organizations_url":"https://api.github.com/users/projectatomic/orgs","repos_url":"https://api.github.com/users/projectatomic/repos","events_url":"https://api.github.com/users/projectatomic/events{/privacy}","received_events_url":"https://api.github.com/users/projectatomic/received_events","type":"Organization","site_admin":false},"repo":{"id":68233133,"name":"commissaire","full_name":"projectatomic/commissaire","owner":{"login":"projectatomic","id":6852258,"avatar_url":"https://avatars.githubusercontent.com/u/6852258?v=3","gravatar_id":"","url":"https://api.github.com/users/projectatomic","html_url":"https://github.com/projectatomic","followers_url":"https://api.github.com/users/projectatomic/followers","following_url":"https://api.github.com/users/projectatomic/following{/other_user}","gists_url":"https://api.github.com/users/projectatomic/gists{/gist_id}","starred_url":"https://api.github.com/users/projectatomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectatomic/subscriptions","organizations_url":"https://api.github.com/users/projectatomic/orgs","repos_url":"https://api.github.com/users/projectatomic/repos","events_url":"https://api.github.com/users/projectatomic/events{/privacy}","received_events_url":"https://api.github.com/users/projectatomic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectatomic/commissaire","description":"A lightweight REST interface for under-the-covers cluster system management.","fork":false,"url":"https://api.github.com/repos/projectatomic/commissaire","forks_url":"https://api.github.com/repos/projectatomic/commissaire/forks","keys_url":"https://api.github.com/repos/projectatomic/commissaire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectatomic/commissaire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectatomic/commissaire/teams","hooks_url":"https://api.github.com/repos/projectatomic/commissaire/hooks","issue_events_url":"https://api.github.com/repos/projectatomic/commissaire/issues/events{/number}","events_url":"https://api.github.com/repos/projectatomic/commissaire/events","assignees_url":"https://api.github.com/repos/projectatomic/commissaire/assignees{/user}","branches_url":"https://api.github.com/repos/projectatomic/commissaire/branches{/branch}","tags_url":"https://api.github.com/repos/projectatomic/commissaire/tags","blobs_url":"https://api.github.com/repos/projectatomic/commissaire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectatomic/commissaire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectatomic/commissaire/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectatomic/commissaire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectatomic/commissaire/statuses/{sha}","languages_url":"https://api.github.com/repos/projectatomic/commissaire/languages","stargazers_url":"https://api.github.com/repos/projectatomic/commissaire/stargazers","contributors_url":"https://api.github.com/repos/projectatomic/commissaire/contributors","subscribers_url":"https://api.github.com/repos/projectatomic/commissaire/subscribers","subscription_url":"https://api.github.com/repos/projectatomic/commissaire/subscription","commits_url":"https://api.github.com/repos/projectatomic/commissaire/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectatomic/commissaire/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectatomic/commissaire/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectatomic/commissaire/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectatomic/commissaire/contents/{+path}","compare_url":"https://api.github.com/repos/projectatomic/commissaire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectatomic/commissaire/merges","archive_url":"https://api.github.com/repos/projectatomic/commissaire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectatomic/commissaire/downloads","issues_url":"https://api.github.com/repos/projectatomic/commissaire/issues{/number}","pulls_url":"https://api.github.com/repos/projectatomic/commissaire/pulls{/number}","milestones_url":"https://api.github.com/repos/projectatomic/commissaire/milestones{/number}","notifications_url":"https://api.github.com/repos/projectatomic/commissaire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectatomic/commissaire/labels{/name}","releases_url":"https://api.github.com/repos/projectatomic/commissaire/releases{/id}","deployments_url":"https://api.github.com/repos/projectatomic/commissaire/deployments","created_at":"2016-09-14T18:41:30Z","updated_at":"2016-11-24T03:10:45Z","pushed_at":"2016-11-30T00:24:13Z","git_url":"git://github.com/projectatomic/commissaire.git","ssh_url":"git@github.com:projectatomic/commissaire.git","clone_url":"https://github.com/projectatomic/commissaire.git","svn_url":"https://github.com/projectatomic/commissaire","homepage":null,"size":581,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectatomic/commissaire/pulls/62"},"html":{"href":"https://github.com/projectatomic/commissaire/pull/62"},"issue":{"href":"https://api.github.com/repos/projectatomic/commissaire/issues/62"},"comments":{"href":"https://api.github.com/repos/projectatomic/commissaire/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/projectatomic/commissaire/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/projectatomic/commissaire/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectatomic/commissaire/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/projectatomic/commissaire/statuses/0cc083f61e68632bf59c0bff81c0831a610470b0"}}}}
{"actor":{"display_login":"gbraad"}}