diff --git a/Gemfile b/Gemfile index 6b8a255c7ab..877a3152e16 100644 --- a/Gemfile +++ b/Gemfile @@ -93,7 +93,6 @@ gem "websocket-driver", "~>0.6.3" # Modified gems (forked on Github) gem "amazon_ssa_support", :require => false, :git => "https://github.com/ManageIQ/amazon_ssa_support.git", :branch => "master" # Temporary dependency to be moved to manageiq-providers-amazon when officially release -gem "foreman_api_client", ">=0.1.0", :require => false, :git => "https://github.com/ManageIQ/foreman_api_client.git", :branch => "master" gem "ruport", "=1.7.0", :git => "https://github.com/ManageIQ/ruport.git", :tag => "v1.7.0-3" # In 1.9.3: Time.parse uses british version dd/mm/yyyy instead of american version mm/dd/yyyy diff --git a/spec/vcr_cassettes/ems_refresh/refreshers/foreman_refresher_api_doc.yml b/spec/vcr_cassettes/ems_refresh/refreshers/foreman_refresher_api_doc.yml deleted file mode 100644 index eca0ef302b5..00000000000 --- a/spec/vcr_cassettes/ems_refresh/refreshers/foreman_refresher_api_doc.yml +++ /dev/null @@ -1,1432 +0,0 @@ ---- -http_interactions: -- request: - method: get - uri: http://example.com/apidoc/v2.json - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Content-Disposition: - - inline; filename="v2.json" - Content-Transfer-Encoding: - - binary - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json - body: - encoding: UTF-8 - string: '{"docs":{"name":"Foreman","info":"\n

Foreman v2 is currently in development - and is not the default version. You\nmay use v2 by either passing ''version=2'' - in the Accept Header or entering\napi/v2/ in the URL.

\n","copyright":"","doc_url":"../apidoc/v2","api_url":"/api","resources":{"smart_proxies":{"doc_url":"../apidoc/v2/smart_proxies","api_url":"/api","name":"Smart - proxies","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/smart_proxies/import_puppetclasses","name":"import_puppetclasses","apis":[{"api_url":"/api/smart_proxies/:id/import_puppetclasses","http_method":"POST","short_description":"Import - puppet classes from puppet proxy."},{"api_url":"/api/smart_proxies/:smart_proxy_id/environments/:id/import_puppetclasses","http_method":"POST","short_description":"Import - puppet classes from puppet proxy for particular environment."},{"api_url":"/api/environments/:environment_id/smart_proxies/:id/import_puppetclasses","http_method":"POST","short_description":"Import - puppet classes from puppet proxy for particular environment."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"smart_proxy_id","full_name":"smart_proxy_id","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"environment_id","full_name":"environment_id","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"dryrun","full_name":"dryrun","description":"","required":false,"allow_nil":false,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"},{"name":"except","full_name":"except","description":"\n

Optional - comma-deliminated string containing either ''new,updated,obsolete''\nused - to limit the import_puppetclasses actions

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/smart_proxies/index","name":"index","apis":[{"api_url":"/api/smart_proxies","http_method":"GET","short_description":"List - all smart_proxies."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

Filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

Sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/smart_proxies/show","name":"show","apis":[{"api_url":"/api/smart_proxies/:id","http_method":"GET","short_description":"Show - a smart proxy."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/smart_proxies/create","name":"create","apis":[{"api_url":"/api/smart_proxies","http_method":"POST","short_description":"Create - a smart proxy."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"smart_proxy","full_name":"smart_proxy","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"smart_proxy[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"url","full_name":"smart_proxy[url]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/smart_proxies/update","name":"update","apis":[{"api_url":"/api/smart_proxies/:id","http_method":"PUT","short_description":"Update - a smart proxy."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"smart_proxy","full_name":"smart_proxy","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"smart_proxy[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"url","full_name":"smart_proxy[url]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/smart_proxies/destroy","name":"destroy","apis":[{"api_url":"/api/smart_proxies/:id","http_method":"DELETE","short_description":"Delete - a smart_proxy."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/smart_proxies/refresh","name":"refresh","apis":[{"api_url":"/api/smart_proxies/:id/refresh","http_method":"PUT","short_description":"Refresh - smart proxy features"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"reports":{"doc_url":"../apidoc/v2/reports","api_url":"/api","name":"Reports","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/reports/index","name":"index","apis":[{"api_url":"/api/reports","http_method":"GET","short_description":"List - all reports."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/reports/show","name":"show","apis":[{"api_url":"/api/reports/:id","http_method":"GET","short_description":"Show - a report."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/reports/create","name":"create","apis":[{"api_url":"/api/reports","http_method":"POST","short_description":"Create - a report."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"report","full_name":"report","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"host","full_name":"report[host]","description":"\n

Hostname - or certname

\n","required":true,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"},{"name":"reported_at","full_name":"report[reported_at]","description":"\n

UTC - time of report

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"status","full_name":"report[status]","description":"\n

Hash - of status type totals

\n","required":true,"allow_nil":false,"validator":"Must - be Hash","metadata":null,"show":true,"expected_type":"hash"},{"name":"metrics","full_name":"report[metrics]","description":"\n

Hash - of report metrics, can be just {}

\n","required":true,"allow_nil":false,"validator":"Must - be Hash","metadata":null,"show":true,"expected_type":"hash"},{"name":"logs","full_name":"report[logs]","description":"\n

Optional - array of log hashes

\n","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/reports/destroy","name":"destroy","apis":[{"api_url":"/api/reports/:id","http_method":"DELETE","short_description":"Delete - a report."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/reports/last","name":"last","apis":[{"api_url":"/api/hosts/:host_id/reports/last","http_method":"GET","short_description":"Show - the last report for a given host."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"home":{"doc_url":"../apidoc/v2/home","api_url":"/api","name":"Home","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/home/index","name":"index","apis":[{"api_url":"/api","http_method":"GET","short_description":"Show - available links."}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/home/status","name":"status","apis":[{"api_url":"/api/status","http_method":"GET","short_description":"Show - status."}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[]}]},"smart_variables":{"doc_url":"../apidoc/v2/smart_variables","api_url":"/api","name":"Smart - variables","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/smart_variables/index","name":"index","apis":[{"api_url":"/api/smart_variables","http_method":"GET","short_description":"List - all smart variables"},{"api_url":"/api/hosts/:host_id/smart_variables","http_method":"GET","short_description":"List - of smart variables for a specific host"},{"api_url":"/api/hostgroups/:hostgroup_id/smart_variables","http_method":"GET","short_description":"List - of smart variables for a specific hostgroup"},{"api_url":"/api/puppetclasses/:puppetclass_id/smart_variables","http_method":"GET","short_description":"List - of smart variables for a specific puppetclass"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"","required":false,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"","required":false,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"puppetclass_id","full_name":"puppetclass_id","description":"","required":false,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"search","full_name":"search","description":"\n

Filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/smart_variables/show","name":"show","apis":[{"api_url":"/api/smart_variables/:id","http_method":"GET","short_description":"Show - a smart variable."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/smart_variables/create","name":"create","apis":[{"api_url":"/api/smart_variables","http_method":"POST","short_description":"Create - a smart variable."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"smart_variable","full_name":"smart_variable","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"variable","full_name":"smart_variable[variable]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"puppetclass_id","full_name":"smart_variable[puppetclass_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"default_value","full_name":"smart_variable[default_value]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"override_value_order","full_name":"smart_variable[override_value_order]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"description","full_name":"smart_variable[description]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"validator_type","full_name":"smart_variable[validator_type]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"validator_rule","full_name":"smart_variable[validator_rule]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"variable_type","full_name":"smart_variable[variable_type]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/smart_variables/update","name":"update","apis":[{"api_url":"/api/smart_variables/:id","http_method":"PUT","short_description":"Update - a smart variable."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"smart_variable","full_name":"smart_variable","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"variable","full_name":"smart_variable[variable]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"puppetclass_id","full_name":"smart_variable[puppetclass_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"default_value","full_name":"smart_variable[default_value]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"override_value_order","full_name":"smart_variable[override_value_order]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"description","full_name":"smart_variable[description]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"validator_type","full_name":"smart_variable[validator_type]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"validator_rule","full_name":"smart_variable[validator_rule]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"variable_type","full_name":"smart_variable[variable_type]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/smart_variables/destroy","name":"destroy","apis":[{"api_url":"/api/smart_variables/:id","http_method":"DELETE","short_description":"Delete - a smart variable."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"roles":{"doc_url":"../apidoc/v2/roles","api_url":"/api","name":"Roles","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/roles/index","name":"index","apis":[{"api_url":"/api/roles","http_method":"GET","short_description":"List - all roles."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/roles/show","name":"show","apis":[{"api_url":"/api/roles/:id","http_method":"GET","short_description":"Show - an role."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/roles/create","name":"create","apis":[{"api_url":"/api/roles","http_method":"POST","short_description":"Create - an role."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"role","full_name":"role","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"role[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/roles/update","name":"update","apis":[{"api_url":"/api/roles/:id","http_method":"PUT","short_description":"Update - an role."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"role","full_name":"role","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"role[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/roles/destroy","name":"destroy","apis":[{"api_url":"/api/roles/:id","http_method":"DELETE","short_description":"Delete - an role."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"permissions":{"doc_url":"../apidoc/v2/permissions","api_url":"/api","name":"Permissions","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/permissions/index","name":"index","apis":[{"api_url":"/api/permissions","http_method":"GET","short_description":"List - all permissions."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"resource_type","full_name":"resource_type","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"name","full_name":"name","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/permissions/show","name":"show","apis":[{"api_url":"/api/permissions/:id","http_method":"GET","short_description":"Show - a permission."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"domains":{"doc_url":"../apidoc/v2/domains","api_url":"/api","name":"Domains","short_description":null,"full_description":"\n

Foreman - considers a domain and a DNS zone as the same thing. That is, if\nyou are - planning to manage a site where all the machines are or the form\nhostname.somewhere.com - then the domain is\nsomewhere.com. This allows Foreman to associate - a puppet variable\nwith a domain/site and automatically append this variable - to all external\nnode requests made by machines at that site.

\n","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/domains/index","name":"index","apis":[{"api_url":"/api/domains","http_method":"GET","short_description":"List - of domains"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

Filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

Sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/domains/show","name":"show","apis":[{"api_url":"/api/domains/:id","http_method":"GET","short_description":"Show - a domain."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n

May - be numerical id or domain name

\n","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/domains/create","name":"create","apis":[{"api_url":"/api/domains","http_method":"POST","short_description":"Create - a domain."}],"formats":null,"full_description":"\n

The fullname field - is used for human readability in reports and\nother pages that refer to domains, - and also available as an external node\nparameter

\n","errors":[],"params":[{"name":"domain","full_name":"domain","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"domain[name]","description":"\n

The - full DNS Domain name

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"fullname","full_name":"domain[fullname]","description":"\n

Full - name describing the domain

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"dns_id","full_name":"domain[dns_id]","description":"\n

DNS - Proxy to use within this domain

\n","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"domain_parameters_attributes","full_name":"domain[domain_parameters_attributes]","description":"\n

Array - of parameters (name, value)

\n","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/domains/update","name":"update","apis":[{"api_url":"/api/domains/:id","http_method":"PUT","short_description":"Update - a domain."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"domain","full_name":"domain","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"domain[name]","description":"\n

The - full DNS Domain name

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"fullname","full_name":"domain[fullname]","description":"\n

Full - name describing the domain

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"dns_id","full_name":"domain[dns_id]","description":"\n

DNS - Proxy to use within this domain

\n","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"domain_parameters_attributes","full_name":"domain[domain_parameters_attributes]","description":"\n

Array - of parameters (name, value)

\n","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/domains/destroy","name":"destroy","apis":[{"api_url":"/api/domains/:id","http_method":"DELETE","short_description":"Delete - a domain."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"bookmarks":{"doc_url":"../apidoc/v2/bookmarks","api_url":"/api","name":"Bookmarks","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/bookmarks/index","name":"index","apis":[{"api_url":"/api/bookmarks","http_method":"GET","short_description":"List - all bookmarks."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/bookmarks/show","name":"show","apis":[{"api_url":"/api/bookmarks/:id","http_method":"GET","short_description":"Show - a bookmark."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/bookmarks/create","name":"create","apis":[{"api_url":"/api/bookmarks","http_method":"POST","short_description":"Create - a bookmark."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"bookmark","full_name":"bookmark","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"bookmark[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"controller","full_name":"bookmark[controller]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"query","full_name":"bookmark[query]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"public","full_name":"bookmark[public]","description":"","required":false,"allow_nil":true,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/bookmarks/update","name":"update","apis":[{"api_url":"/api/bookmarks/:id","http_method":"PUT","short_description":"Update - a bookmark."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"bookmark","full_name":"bookmark","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"bookmark[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"controller","full_name":"bookmark[controller]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"query","full_name":"bookmark[query]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"public","full_name":"bookmark[public]","description":"","required":false,"allow_nil":true,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/bookmarks/destroy","name":"destroy","apis":[{"api_url":"/api/bookmarks/:id","http_method":"DELETE","short_description":"Delete - a bookmark."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"subnets":{"doc_url":"../apidoc/v2/subnets","api_url":"/api","name":"Subnets","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/subnets/index","name":"index","apis":[{"api_url":"/api/subnets","http_method":"GET","short_description":"List - of subnets"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

Filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

Sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/subnets/show","name":"show","apis":[{"api_url":"/api/subnets/:id","http_method":"GET","short_description":"Show - a subnet."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/subnets/create","name":"create","apis":[{"api_url":"/api/subnets","http_method":"POST","short_description":"Create - a subnet"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"subnet","full_name":"subnet","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"subnet[name]","description":"\n

Subnet - name

\n","required":true,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"network","full_name":"subnet[network]","description":"\n

Subnet - network

\n","required":true,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"mask","full_name":"subnet[mask]","description":"\n

Netmask - for this subnet

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"gateway","full_name":"subnet[gateway]","description":"\n

Primary - DNS for this subnet

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"dns_primary","full_name":"subnet[dns_primary]","description":"\n

Primary - DNS for this subnet

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"dns_secondary","full_name":"subnet[dns_secondary]","description":"\n

Secondary - DNS for this subnet

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"from","full_name":"subnet[from]","description":"\n

Starting - IP Address for IP auto suggestion

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"to","full_name":"subnet[to]","description":"\n

Ending - IP Address for IP auto suggestion

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"vlanid","full_name":"subnet[vlanid]","description":"\n

VLAN - ID for this subnet

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"domain_ids","full_name":"subnet[domain_ids]","description":"\n

Domains - in which this subnet is part

\n","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"},{"name":"dhcp_id","full_name":"subnet[dhcp_id]","description":"\n

DHCP - Proxy to use within this subnet

\n","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"tftp_id","full_name":"subnet[tftp_id]","description":"\n

TFTP - Proxy to use within this subnet

\n","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"dns_id","full_name":"subnet[dns_id]","description":"\n

DNS - Proxy to use within this subnet

\n","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/subnets/update","name":"update","apis":[{"api_url":"/api/subnets/:id","http_method":"PUT","short_description":"Update - a subnet"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n

Subnet - numeric identifier

\n","required":true,"allow_nil":false,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"subnet","full_name":"subnet","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"subnet[name]","description":"\n

Subnet - name

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"network","full_name":"subnet[network]","description":"\n

Subnet - network

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"mask","full_name":"subnet[mask]","description":"\n

Netmask - for this subnet

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"gateway","full_name":"subnet[gateway]","description":"\n

Primary - DNS for this subnet

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"dns_primary","full_name":"subnet[dns_primary]","description":"\n

Primary - DNS for this subnet

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"dns_secondary","full_name":"subnet[dns_secondary]","description":"\n

Secondary - DNS for this subnet

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"from","full_name":"subnet[from]","description":"\n

Starting - IP Address for IP auto suggestion

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"to","full_name":"subnet[to]","description":"\n

Ending - IP Address for IP auto suggestion

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"vlanid","full_name":"subnet[vlanid]","description":"\n

VLAN - ID for this subnet

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"domain_ids","full_name":"subnet[domain_ids]","description":"\n

Domains - in which this subnet is part

\n","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"},{"name":"dhcp_id","full_name":"subnet[dhcp_id]","description":"\n

DHCP - Proxy to use within this subnet

\n","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"tftp_id","full_name":"subnet[tftp_id]","description":"\n

TFTP - Proxy to use within this subnet

\n","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"dns_id","full_name":"subnet[dns_id]","description":"\n

DNS - Proxy to use within this subnet

\n","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/subnets/destroy","name":"destroy","apis":[{"api_url":"/api/subnets/:id","http_method":"DELETE","short_description":"Delete - a subnet"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n

Subnet - numeric identifier

\n","required":true,"allow_nil":false,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"host_classes":{"doc_url":"../apidoc/v2/host_classes","api_url":"/api","name":"Host - classes","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/host_classes/index","name":"index","apis":[{"api_url":"/api/hosts/:host_id/puppetclass_ids","http_method":"GET","short_description":"List - all puppetclass id''s for host"}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/host_classes/create","name":"create","apis":[{"api_url":"/api/hosts/:host_id/puppetclass_ids","http_method":"POST","short_description":"Add - a puppetclass to host"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n

id - of host

\n","required":true,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"puppetclass_id","full_name":"puppetclass_id","description":"\n

id - of puppetclass

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/host_classes/destroy","name":"destroy","apis":[{"api_url":"/api/hosts/:host_id/puppetclass_ids/:id","http_method":"DELETE","short_description":"Remove - a puppetclass from host"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n

id - of host

\n","required":true,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"id","full_name":"id","description":"\n

id - of puppetclass

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"settings":{"doc_url":"../apidoc/v2/settings","api_url":"/api","name":"Settings","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/settings/index","name":"index","apis":[{"api_url":"/api/settings","http_method":"GET","short_description":"List - all settings."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

Filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

Sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/settings/show","name":"show","apis":[{"api_url":"/api/settings/:id","http_method":"GET","short_description":"Show - an setting."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/settings/update","name":"update","apis":[{"api_url":"/api/settings/:id","http_method":"PUT","short_description":"Update - a setting."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"setting","full_name":"setting","description":"","required":true,"allow_nil":false,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"value","full_name":"setting[value]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]}]},"tasks":{"doc_url":"../apidoc/v2/tasks","api_url":"/api","name":"Tasks","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/tasks/index","name":"index","apis":[{"api_url":"/api/orchestration/:id/tasks","http_method":"GET","short_description":"List - all tasks for a given orchestration event"}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[]}]},"compute_attributes":{"doc_url":"../apidoc/v2/compute_attributes","api_url":"/api","name":"Compute - attributes","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/compute_attributes/create","name":"create","apis":[{"api_url":"/api/compute_resources/:compute_resource_id/compute_profiles/:compute_profile_id/compute_attributes","http_method":"POST","short_description":"Create - a compute attribute"},{"api_url":"/api/compute_profiles/:compute_profile_id/compute_resources/:compute_resource_id/compute_attributes","http_method":"POST","short_description":"Create - a compute attribute"},{"api_url":"/api/compute_resources/:compute_resource_id/compute_attributes","http_method":"POST","short_description":"Create - a compute attribute"},{"api_url":"/api/compute_profiles/:compute_profile_id/compute_attributes","http_method":"POST","short_description":"Create - a compute attribute"},{"api_url":"/api/compute_attributes","http_method":"POST","short_description":"Create - a compute attribute."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"compute_profile_id","full_name":"compute_profile_id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"compute_resource_id","full_name":"compute_resource_id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"compute_attribute","full_name":"compute_attribute","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"vm_attrs","full_name":"compute_attribute[vm_attrs]","description":"","required":true,"allow_nil":false,"validator":"Must - be Hash","metadata":null,"show":true,"expected_type":"hash"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/compute_attributes/update","name":"update","apis":[{"api_url":"/api/compute_resources/:compute_resource_id/compute_profiles/:compute_profile_id/compute_attributes/:id","http_method":"PUT","short_description":"Update - a compute attribute"},{"api_url":"/api/compute_profiles/:compute_profile_id/compute_resources/:compute_resource_id/compute_attributes/:id","http_method":"PUT","short_description":"Update - a compute attribute"},{"api_url":"/api/compute_resources/:compute_resource_id/compute_attributes/:id","http_method":"PUT","short_description":"Update - a compute attribute"},{"api_url":"/api/compute_profiles/:compute_profile_id/compute_attributes/:id","http_method":"PUT","short_description":"Update - a compute attribute"},{"api_url":"/api/compute_attributes/:id","http_method":"PUT","short_description":"Update - a compute attribute."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"compute_profile_id","full_name":"compute_profile_id","description":"","required":false,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"compute_resource_id","full_name":"compute_resource_id","description":"","required":false,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"compute_attribute","full_name":"compute_attribute","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"vm_attrs","full_name":"compute_attribute[vm_attrs]","description":"","required":false,"allow_nil":false,"validator":"Must - be Hash","metadata":null,"show":true,"expected_type":"hash"}]}],"examples":[],"metadata":null,"see":[]}]},"models":{"doc_url":"../apidoc/v2/models","api_url":"/api","name":"Models","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/models/index","name":"index","apis":[{"api_url":"/api/models","http_method":"GET","short_description":"List - all models."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/models/show","name":"show","apis":[{"api_url":"/api/models/:id","http_method":"GET","short_description":"Show - a model."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/models/create","name":"create","apis":[{"api_url":"/api/models","http_method":"POST","short_description":"Create - a model."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"model","full_name":"model","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"model[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"info","full_name":"model[info]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"vendor_class","full_name":"model[vendor_class]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"hardware_model","full_name":"model[hardware_model]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/models/update","name":"update","apis":[{"api_url":"/api/models/:id","http_method":"PUT","short_description":"Update - a model."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"model","full_name":"model","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"model[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"info","full_name":"model[info]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"vendor_class","full_name":"model[vendor_class]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"hardware_model","full_name":"model[hardware_model]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/models/destroy","name":"destroy","apis":[{"api_url":"/api/models/:id","http_method":"DELETE","short_description":"Delete - a model."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"audits":{"doc_url":"../apidoc/v2/audits","api_url":"/api","name":"Audits","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/audits/index","name":"index","apis":[{"api_url":"/api/audits","http_method":"GET","short_description":"List - all audits."},{"api_url":"/api/hosts/:host_id/audits","http_method":"GET","short_description":"List - all audits for a given host."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/audits/show","name":"show","apis":[{"api_url":"/api/audits/:id","http_method":"GET","short_description":"Show - an audit"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"operatingsystems":{"doc_url":"../apidoc/v2/operatingsystems","api_url":"/api","name":"Operating - systems","short_description":null,"full_description":"","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/operatingsystems/index","name":"index","apis":[{"api_url":"/api/operatingsystems","http_method":"GET","short_description":"List - all operating systems."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

for - example, name ASC, or name DESC

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/operatingsystems/show","name":"show","apis":[{"api_url":"/api/operatingsystems/:id","http_method":"GET","short_description":"Show - an OS."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/operatingsystems/create","name":"create","apis":[{"api_url":"/api/operatingsystems","http_method":"POST","short_description":"Create - an OS."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"operatingsystem","full_name":"operatingsystem","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"operatingsystem[name]","description":"","required":true,"allow_nil":false,"validator":"Must - match regular expression /\\A(\\S+)\\Z/.","metadata":null,"show":true,"expected_type":"string"},{"name":"major","full_name":"operatingsystem[major]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"minor","full_name":"operatingsystem[minor]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"description","full_name":"operatingsystem[description]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"family","full_name":"operatingsystem[family]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"release_name","full_name":"operatingsystem[release_name]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/operatingsystems/update","name":"update","apis":[{"api_url":"/api/operatingsystems/:id","http_method":"PUT","short_description":"Update - an OS."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"operatingsystem","full_name":"operatingsystem","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"operatingsystem[name]","description":"","required":false,"allow_nil":false,"validator":"Must - match regular expression /\\A(\\S+)\\Z/.","metadata":null,"show":true,"expected_type":"string"},{"name":"major","full_name":"operatingsystem[major]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"minor","full_name":"operatingsystem[minor]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"description","full_name":"operatingsystem[description]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"family","full_name":"operatingsystem[family]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"release_name","full_name":"operatingsystem[release_name]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/operatingsystems/destroy","name":"destroy","apis":[{"api_url":"/api/operatingsystems/:id","http_method":"DELETE","short_description":"Delete - an OS."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/operatingsystems/bootfiles","name":"bootfiles","apis":[{"api_url":"/api/operatingsystems/:id/bootfiles","http_method":"GET","short_description":"List - boot files an OS."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"medium","full_name":"medium","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"architecture","full_name":"architecture","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"hostgroups":{"doc_url":"../apidoc/v2/hostgroups","api_url":"/api","name":"Hostgroups","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/hostgroups/index","name":"index","apis":[{"api_url":"/api/hostgroups","http_method":"GET","short_description":"List - all hostgroups."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/hostgroups/show","name":"show","apis":[{"api_url":"/api/hostgroups/:id","http_method":"GET","short_description":"Show - a hostgroup."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/hostgroups/create","name":"create","apis":[{"api_url":"/api/hostgroups","http_method":"POST","short_description":"Create - an hostgroup."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"hostgroup","full_name":"hostgroup","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"hostgroup[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"parent_id","full_name":"hostgroup[parent_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"environment_id","full_name":"hostgroup[environment_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"operatingsystem_id","full_name":"hostgroup[operatingsystem_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"architecture_id","full_name":"hostgroup[architecture_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"medium_id","full_name":"hostgroup[medium_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"ptable_id","full_name":"hostgroup[ptable_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"puppet_ca_proxy_id","full_name":"hostgroup[puppet_ca_proxy_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"subnet_id","full_name":"hostgroup[subnet_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"domain_id","full_name":"hostgroup[domain_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"realm_id","full_name":"hostgroup[realm_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"puppet_proxy_id","full_name":"hostgroup[puppet_proxy_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/hostgroups/update","name":"update","apis":[{"api_url":"/api/hostgroups/:id","http_method":"PUT","short_description":"Update - an hostgroup."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"hostgroup","full_name":"hostgroup","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"hostgroup[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"parent_id","full_name":"hostgroup[parent_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"environment_id","full_name":"hostgroup[environment_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"operatingsystem_id","full_name":"hostgroup[operatingsystem_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"architecture_id","full_name":"hostgroup[architecture_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"medium_id","full_name":"hostgroup[medium_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"ptable_id","full_name":"hostgroup[ptable_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"puppet_ca_proxy_id","full_name":"hostgroup[puppet_ca_proxy_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"subnet_id","full_name":"hostgroup[subnet_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"domain_id","full_name":"hostgroup[domain_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"realm_id","full_name":"hostgroup[realm_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"puppet_proxy_id","full_name":"hostgroup[puppet_proxy_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/hostgroups/destroy","name":"destroy","apis":[{"api_url":"/api/hostgroups/:id","http_method":"DELETE","short_description":"Delete - an hostgroup."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"common_parameters":{"doc_url":"../apidoc/v2/common_parameters","api_url":"/api","name":"Common - parameters","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/common_parameters/index","name":"index","apis":[{"api_url":"/api/common_parameters","http_method":"GET","short_description":"List - all common parameters."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/common_parameters/show","name":"show","apis":[{"api_url":"/api/common_parameters/:id","http_method":"GET","short_description":"Show - a common parameter."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/common_parameters/create","name":"create","apis":[{"api_url":"/api/common_parameters","http_method":"POST","short_description":"Create - a common_parameter"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"common_parameter","full_name":"common_parameter","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"common_parameter[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"value","full_name":"common_parameter[value]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/common_parameters/update","name":"update","apis":[{"api_url":"/api/common_parameters/:id","http_method":"PUT","short_description":"Update - a common_parameter"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"common_parameter","full_name":"common_parameter","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"common_parameter[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"value","full_name":"common_parameter[value]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/common_parameters/destroy","name":"destroy","apis":[{"api_url":"/api/common_parameters/:id","http_method":"DELETE","short_description":"Delete - a common_parameter"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"filters":{"doc_url":"../apidoc/v2/filters","api_url":"/api","name":"Filters","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/filters/index","name":"index","apis":[{"api_url":"/api/filters","http_method":"GET","short_description":"List - all filters."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/filters/show","name":"show","apis":[{"api_url":"/api/filters/:id","http_method":"GET","short_description":"Show - a filter."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/filters/create","name":"create","apis":[{"api_url":"/api/filters","http_method":"POST","short_description":"Create - a filter."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"filter","full_name":"filter","description":"","required":true,"allow_nil":false,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"role_id","full_name":"filter[role_id]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"search","full_name":"filter[search]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"permission_ids","full_name":"filter[permission_ids]","description":"","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"},{"name":"organization_ids","full_name":"filter[organization_ids]","description":"","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"},{"name":"location_ids","full_name":"filter[location_ids]","description":"","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/filters/update","name":"update","apis":[{"api_url":"/api/filters/:id","http_method":"PUT","short_description":"Update - a filter."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"filter","full_name":"filter","description":"","required":true,"allow_nil":false,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"role_id","full_name":"filter[role_id]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"search","full_name":"filter[search]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"permission_ids","full_name":"filter[permission_ids]","description":"","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"},{"name":"organization_ids","full_name":"filter[organization_ids]","description":"","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"},{"name":"location_ids","full_name":"filter[location_ids]","description":"","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/filters/destroy","name":"destroy","apis":[{"api_url":"/api/filters/:id","http_method":"DELETE","short_description":"Delete - a filter."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"auth_source_ldaps":{"doc_url":"../apidoc/v2/auth_source_ldaps","api_url":"/api","name":"Auth - source ldaps","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/auth_source_ldaps/index","name":"index","apis":[{"api_url":"/api/auth_source_ldaps","http_method":"GET","short_description":"List - all authsource ldaps"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/auth_source_ldaps/show","name":"show","apis":[{"api_url":"/api/auth_source_ldaps/:id","http_method":"GET","short_description":"Show - an authsource ldap."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/auth_source_ldaps/create","name":"create","apis":[{"api_url":"/api/auth_source_ldaps","http_method":"POST","short_description":"Create - an auth_source_ldap."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"auth_source_ldap","full_name":"auth_source_ldap","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"auth_source_ldap[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"host","full_name":"auth_source_ldap[host]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"port","full_name":"auth_source_ldap[port]","description":"\n

defaults - to 389

\n","required":false,"allow_nil":true,"validator":"Must be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"account","full_name":"auth_source_ldap[account]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"base_dn","full_name":"auth_source_ldap[base_dn]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"account_password","full_name":"auth_source_ldap[account_password]","description":"\n

required - if onthefly_register is true

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"attr_login","full_name":"auth_source_ldap[attr_login]","description":"\n

required - if onthefly_register is true

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"attr_firstname","full_name":"auth_source_ldap[attr_firstname]","description":"\n

required - if onthefly_register is true

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"attr_lastname","full_name":"auth_source_ldap[attr_lastname]","description":"\n

required - if onthefly_register is true

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"attr_mail","full_name":"auth_source_ldap[attr_mail]","description":"\n

required - if onthefly_register is true

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"attr_photo","full_name":"auth_source_ldap[attr_photo]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"onthefly_register","full_name":"auth_source_ldap[onthefly_register]","description":"","required":false,"allow_nil":true,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"},{"name":"tls","full_name":"auth_source_ldap[tls]","description":"","required":false,"allow_nil":true,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/auth_source_ldaps/update","name":"update","apis":[{"api_url":"/api/auth_source_ldaps/:id","http_method":"PUT","short_description":"Update - an auth_source_ldap."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"auth_source_ldap","full_name":"auth_source_ldap","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"auth_source_ldap[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"host","full_name":"auth_source_ldap[host]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"port","full_name":"auth_source_ldap[port]","description":"\n

defaults - to 389

\n","required":false,"allow_nil":true,"validator":"Must be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"account","full_name":"auth_source_ldap[account]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"base_dn","full_name":"auth_source_ldap[base_dn]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"account_password","full_name":"auth_source_ldap[account_password]","description":"\n

required - if onthefly_register is true

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"attr_login","full_name":"auth_source_ldap[attr_login]","description":"\n

required - if onthefly_register is true

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"attr_firstname","full_name":"auth_source_ldap[attr_firstname]","description":"\n

required - if onthefly_register is true

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"attr_lastname","full_name":"auth_source_ldap[attr_lastname]","description":"\n

required - if onthefly_register is true

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"attr_mail","full_name":"auth_source_ldap[attr_mail]","description":"\n

required - if onthefly_register is true

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"attr_photo","full_name":"auth_source_ldap[attr_photo]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"onthefly_register","full_name":"auth_source_ldap[onthefly_register]","description":"","required":false,"allow_nil":true,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"},{"name":"tls","full_name":"auth_source_ldap[tls]","description":"","required":false,"allow_nil":true,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/auth_source_ldaps/destroy","name":"destroy","apis":[{"api_url":"/api/auth_source_ldaps/:id","http_method":"DELETE","short_description":"Delete - an auth_source_ldap."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"realms":{"doc_url":"../apidoc/v2/realms","api_url":"/api","name":"Realms","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/realms/index","name":"index","apis":[{"api_url":"/api/realms","http_method":"GET","short_description":"List - of realms"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

Filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

Sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/realms/show","name":"show","apis":[{"api_url":"/api/realms/:id","http_method":"GET","short_description":"Show - a realm."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n

May - be numerical id or realm name

\n","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/realms/create","name":"create","apis":[{"api_url":"/api/realms","http_method":"POST","short_description":"Create - a realm."}],"formats":null,"full_description":"\n

The name field - is used for the name of the realm.

\n","errors":[],"params":[{"name":"realm","full_name":"realm","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"realm[name]","description":"\n

The - realm name, e.g. EXAMPLE.COM

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"realm_proxy_id","full_name":"realm[realm_proxy_id]","description":"\n

Proxy - to use for this realm

\n","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"realm_type","full_name":"realm[realm_type]","description":"\n

Realm - type, e.g. FreeIPA or Active Directory

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/realms/update","name":"update","apis":[{"api_url":"/api/realms/:id","http_method":"PUT","short_description":"Update - a realm."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"realm","full_name":"realm","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"realm[name]","description":"\n

The - realm name, e.g. EXAMPLE.COM

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"realm_proxy_id","full_name":"realm[realm_proxy_id]","description":"\n

Proxy - to use for this realm

\n","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"realm_type","full_name":"realm[realm_type]","description":"\n

Realm - type, e.g. FreeIPA or Active Directory

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/realms/destroy","name":"destroy","apis":[{"api_url":"/api/realms/:id","http_method":"DELETE","short_description":"Delete - a realm."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"config_templates":{"doc_url":"../apidoc/v2/config_templates","api_url":"/api","name":"Config - templates","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/config_templates/index","name":"index","apis":[{"api_url":"/api/config_templates","http_method":"GET","short_description":"List - templates"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/config_templates/show","name":"show","apis":[{"api_url":"/api/config_templates/:id","http_method":"GET","short_description":"Show - template details"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/config_templates/create","name":"create","apis":[{"api_url":"/api/config_templates","http_method":"POST","short_description":"Create - a template"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"config_template","full_name":"config_template","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"config_template[name]","description":"\n

template - name

\n","required":true,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"template","full_name":"config_template[template]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"snippet","full_name":"config_template[snippet]","description":"","required":false,"allow_nil":true,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"},{"name":"audit_comment","full_name":"config_template[audit_comment]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"template_kind_id","full_name":"config_template[template_kind_id]","description":"\n

not - relevant for snippet

\n","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"template_combinations_attributes","full_name":"config_template[template_combinations_attributes]","description":"\n

Array - of template combinations (hostgroup_id, environment_id)

\n","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"},{"name":"operatingsystem_ids","full_name":"config_template[operatingsystem_ids]","description":"\n

Array - of operating systems ID to associate the template with

\n","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/config_templates/update","name":"update","apis":[{"api_url":"/api/config_templates/:id","http_method":"PUT","short_description":"Update - a template"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"config_template","full_name":"config_template","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"config_template[name]","description":"\n

template - name

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"template","full_name":"config_template[template]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"snippet","full_name":"config_template[snippet]","description":"","required":false,"allow_nil":true,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"},{"name":"audit_comment","full_name":"config_template[audit_comment]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"template_kind_id","full_name":"config_template[template_kind_id]","description":"\n

not - relevant for snippet

\n","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"template_combinations_attributes","full_name":"config_template[template_combinations_attributes]","description":"\n

Array - of template combinations (hostgroup_id, environment_id)

\n","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"},{"name":"operatingsystem_ids","full_name":"config_template[operatingsystem_ids]","description":"\n

Array - of operating systems ID to associate the template with

\n","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/config_templates/revision","name":"revision","apis":[{"api_url":"/api/config_templates/revision","http_method":"GET","short_description":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"version","full_name":"version","description":"\n

template - version

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/config_templates/destroy","name":"destroy","apis":[{"api_url":"/api/config_templates/:id","http_method":"DELETE","short_description":"Delete - a template"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/config_templates/build_pxe_default","name":"build_pxe_default","apis":[{"api_url":"/api/config_templates/build_pxe_default","http_method":"GET","short_description":"Change - the default PXE menu on all configured TFTP servers"}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[]}]},"template_combinations":{"doc_url":"../apidoc/v2/template_combinations","api_url":"/api","name":"Template - combinations","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/template_combinations/index","name":"index","apis":[{"api_url":"/api/config_templates/:config_template_id/template_combinations","http_method":"GET","short_description":"List - Template Combination"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"config_template_id","full_name":"config_template_id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/template_combinations/create","name":"create","apis":[{"api_url":"/api/config_templates/:config_template_id/template_combinations","http_method":"POST","short_description":"Add - a Template Combination"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"config_template_id","full_name":"config_template_id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"template_combination","full_name":"template_combination","description":"","required":true,"allow_nil":false,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"environment_id","full_name":"template_combination[environment_id]","description":"\n

environment - id

\n","required":false,"allow_nil":true,"validator":"Must be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"hostgroup_id","full_name":"template_combination[hostgroup_id]","description":"\n

hostgroup - id

\n","required":false,"allow_nil":true,"validator":"Must be a number.","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/template_combinations/show","name":"show","apis":[{"api_url":"/api/template_combinations/:id","http_method":"GET","short_description":"Show - Template Combination"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/template_combinations/destroy","name":"destroy","apis":[{"api_url":"/api/template_combinations/:id","http_method":"DELETE","short_description":"Delete - a template"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"compute_resources":{"doc_url":"../apidoc/v2/compute_resources","api_url":"/api","name":"Compute - resources","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/compute_resources/index","name":"index","apis":[{"api_url":"/api/compute_resources","http_method":"GET","short_description":"List - all compute resources."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/compute_resources/show","name":"show","apis":[{"api_url":"/api/compute_resources/:id","http_method":"GET","short_description":"Show - an compute resource."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/compute_resources/create","name":"create","apis":[{"api_url":"/api/compute_resources","http_method":"POST","short_description":"Create - a compute resource."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"compute_resource","full_name":"compute_resource","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"compute_resource[name]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"provider","full_name":"compute_resource[provider]","description":"\n

Providers - include Ovirt, EC2, Vmware, Openstack, Rackspace

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"url","full_name":"compute_resource[url]","description":"\n

URL - for Libvirt, Ovirt, and Openstack

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"description","full_name":"compute_resource[description]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"user","full_name":"compute_resource[user]","description":"\n

Username - for Ovirt, EC2, Vmware, Openstack. Access Key for EC2.

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"password","full_name":"compute_resource[password]","description":"\n

Password - for Ovirt, EC2, Vmware, Openstack. Secret key for EC2

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"uuid","full_name":"compute_resource[uuid]","description":"\n

for - Ovirt, Vmware Datacenter

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"region","full_name":"compute_resource[region]","description":"\n

for - EC2 only

\n","required":false,"allow_nil":true,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"tenant","full_name":"compute_resource[tenant]","description":"\n

for - Openstack only

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"server","full_name":"compute_resource[server]","description":"\n

for - Vmware

\n","required":false,"allow_nil":true,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/compute_resources/update","name":"update","apis":[{"api_url":"/api/compute_resources/:id","http_method":"PUT","short_description":"Update - a compute resource."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"compute_resource","full_name":"compute_resource","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"compute_resource[name]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"provider","full_name":"compute_resource[provider]","description":"\n

Providers - include Ovirt, EC2, Vmware, Openstack, Rackspace

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"url","full_name":"compute_resource[url]","description":"\n

URL - for Libvirt, Ovirt, and Openstack

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"description","full_name":"compute_resource[description]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"user","full_name":"compute_resource[user]","description":"\n

Username - for Ovirt, EC2, Vmware, Openstack. Access Key for EC2.

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"password","full_name":"compute_resource[password]","description":"\n

Password - for Ovirt, EC2, Vmware, Openstack. Secret key for EC2

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"uuid","full_name":"compute_resource[uuid]","description":"\n

for - Ovirt, Vmware Datacenter

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"region","full_name":"compute_resource[region]","description":"\n

for - EC2 only

\n","required":false,"allow_nil":true,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"tenant","full_name":"compute_resource[tenant]","description":"\n

for - Openstack only

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"server","full_name":"compute_resource[server]","description":"\n

for - Vmware

\n","required":false,"allow_nil":true,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/compute_resources/destroy","name":"destroy","apis":[{"api_url":"/api/compute_resources/:id","http_method":"DELETE","short_description":"Delete - a compute resource."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/compute_resources/available_images","name":"available_images","apis":[{"api_url":"/api/compute_resources/:id/available_images","http_method":"GET","short_description":"List - available images for a compute resource."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/compute_resources/available_clusters","name":"available_clusters","apis":[{"api_url":"/api/compute_resources/:id/available_clusters","http_method":"GET","short_description":"List - available clusters for a compute resource"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/compute_resources/available_networks","name":"available_networks","apis":[{"api_url":"/api/compute_resources/:id/available_networks","http_method":"GET","short_description":"List - available networks for a compute resource"},{"api_url":"/api/compute_resources/:id/available_clusters/:cluster_id/available_networks","http_method":"GET","short_description":"List - available networks for a compute resource cluster"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"cluster_id","full_name":"cluster_id","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/compute_resources/available_storage_domains","name":"available_storage_domains","apis":[{"api_url":"/api/compute_resources/:id/available_storage_domains","http_method":"GET","short_description":"List - storage_domains for a compute resource"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"plugins":{"doc_url":"../apidoc/v2/plugins","api_url":"/api","name":"Plugins","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/plugins/index","name":"index","apis":[{"api_url":"/api/plugins","http_method":"GET","short_description":"List - of installed plugins"}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[]}]},"media":{"doc_url":"../apidoc/v2/media","api_url":"/api","name":"Media","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/media/index","name":"index","apis":[{"api_url":"/api/media","http_method":"GET","short_description":"List - all media."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

for - example, name ASC, or name DESC

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/media/show","name":"show","apis":[{"api_url":"/api/media/:id","http_method":"GET","short_description":"Show - a medium."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/media/create","name":"create","apis":[{"api_url":"/api/media","http_method":"POST","short_description":"Create - a medium."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"medium","full_name":"medium","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"medium[name]","description":"\n

Name - of media

\n","required":true,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"path","full_name":"medium[path]","description":"\n

The - path to the medium, can be a URL or a valid NFS server (exclusive of\nthe - architecture).

\n\n

for example mirror.centos.org/centos/$version/os/$arch\nwhere - $arch will be substituted for the host''s actual OS architecture and\n$version, - $major and $minor will be substituted for the version of the\noperating system.

\n\n

Solaris - and Debian media may also use $release.

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"os_family","full_name":"medium[os_family]","description":"\n

The - family that the operating system belongs to.

\n\n

Available families:

\n\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"operatingsystem_ids","full_name":"medium[operatingsystem_ids]","description":"","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/media/update","name":"update","apis":[{"api_url":"/api/media/:id","http_method":"PUT","short_description":"Update - a medium."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"medium","full_name":"medium","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"medium[name]","description":"\n

Name - of media

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"path","full_name":"medium[path]","description":"\n

The - path to the medium, can be a URL or a valid NFS server (exclusive of\nthe - architecture).

\n\n

for example mirror.centos.org/centos/$version/os/$arch\nwhere - $arch will be substituted for the host''s actual OS architecture and\n$version, - $major and $minor will be substituted for the version of the\noperating system.

\n\n

Solaris - and Debian media may also use $release.

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"os_family","full_name":"medium[os_family]","description":"\n

The - family that the operating system belongs to.

\n\n

Available families:

\n\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"operatingsystem_ids","full_name":"medium[operatingsystem_ids]","description":"","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/media/destroy","name":"destroy","apis":[{"api_url":"/api/media/:id","http_method":"DELETE","short_description":"Delete - a medium."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"interfaces":{"doc_url":"../apidoc/v2/interfaces","api_url":"/api","name":"Interfaces","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/interfaces/index","name":"index","apis":[{"api_url":"/api/hosts/:host_id/interfaces","http_method":"GET","short_description":"List - all interfaces for host"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n

id - or name of host

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/interfaces/show","name":"show","apis":[{"api_url":"/api/hosts/:host_id/interfaces/:id","http_method":"GET","short_description":"Show - an interface for host"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n

id - or name of nested host

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"id","full_name":"id","description":"\n

id - or name of interface

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/interfaces/create","name":"create","apis":[{"api_url":"/api/hosts/:host_id/interfaces","http_method":"POST","short_description":"Create - an interface linked to a host"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n

id - or name of host

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"interface","full_name":"interface","description":"\n

interface - information

\n","required":false,"allow_nil":true,"validator":"Must be - a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"mac","full_name":"interface[mac]","description":"\n

MAC - address of interface

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"ip","full_name":"interface[ip]","description":"\n

IP - address of interface

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"type","full_name":"interface[type]","description":"\n

Interface - type, i.e: Nic::BMC

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"name","full_name":"interface[name]","description":"\n

Interface - name

\n","required":true,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"subnet_id","full_name":"interface[subnet_id]","description":"\n

Foreman - subnet id of interface

\n","required":false,"allow_nil":true,"validator":"Must - be Fixnum","metadata":null,"show":true,"expected_type":"numeric"},{"name":"domain_id","full_name":"interface[domain_id]","description":"\n

Foreman - domain id of interface

\n","required":false,"allow_nil":true,"validator":"Must - be Fixnum","metadata":null,"show":true,"expected_type":"numeric"},{"name":"username","full_name":"interface[username]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"password","full_name":"interface[password]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"provider","full_name":"interface[provider]","description":"\n

Interface - provider, i.e: IPMI

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/interfaces/update","name":"update","apis":[{"api_url":"/api/hosts/:host_id/interfaces/:id","http_method":"PUT","short_description":"Update - host interface"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n

id - or name of host

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"interface","full_name":"interface","description":"\n

interface - information

\n","required":false,"allow_nil":true,"validator":"Must be - a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"mac","full_name":"interface[mac]","description":"\n

MAC - address of interface

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"ip","full_name":"interface[ip]","description":"\n

IP - address of interface

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"type","full_name":"interface[type]","description":"\n

Interface - type, i.e: Nic::BMC

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"name","full_name":"interface[name]","description":"\n

Interface - name

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"subnet_id","full_name":"interface[subnet_id]","description":"\n

Foreman - subnet id of interface

\n","required":false,"allow_nil":true,"validator":"Must - be Fixnum","metadata":null,"show":true,"expected_type":"numeric"},{"name":"domain_id","full_name":"interface[domain_id]","description":"\n

Foreman - domain id of interface

\n","required":false,"allow_nil":true,"validator":"Must - be Fixnum","metadata":null,"show":true,"expected_type":"numeric"},{"name":"username","full_name":"interface[username]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"password","full_name":"interface[password]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"provider","full_name":"interface[provider]","description":"\n

Interface - provider, i.e: IPMI

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/interfaces/destroy","name":"destroy","apis":[{"api_url":"/api/hosts/:host_id/interfaces/:id","http_method":"DELETE","short_description":"Delete - a host interface"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n

id - of interface

\n","required":true,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"hosts":{"doc_url":"../apidoc/v2/hosts","api_url":"/api","name":"Hosts","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/hosts/index","name":"index","apis":[{"api_url":"/api/hosts","http_method":"GET","short_description":"List - all hosts."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

Filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

Sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/hosts/show","name":"show","apis":[{"api_url":"/api/hosts/:id","http_method":"GET","short_description":"Show - a host."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing - space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/hosts/create","name":"create","apis":[{"api_url":"/api/hosts","http_method":"POST","short_description":"Create - a host."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host","full_name":"host","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"host[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"environment_id","full_name":"host[environment_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"ip","full_name":"host[ip]","description":"\n

not - required if using a subnet with dhcp proxy

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"mac","full_name":"host[mac]","description":"\n

not - required if its a virtual machine

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"architecture_id","full_name":"host[architecture_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"domain_id","full_name":"host[domain_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"realm_id","full_name":"host[realm_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"puppet_proxy_id","full_name":"host[puppet_proxy_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"puppet_class_ids","full_name":"host[puppet_class_ids]","description":"","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"},{"name":"operatingsystem_id","full_name":"host[operatingsystem_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"medium_id","full_name":"host[medium_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"ptable_id","full_name":"host[ptable_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"subnet_id","full_name":"host[subnet_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"compute_resource_id","full_name":"host[compute_resource_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"sp_subnet_id","full_name":"host[sp_subnet_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"model_id","full_name":"host[model_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"hostgroup_id","full_name":"host[hostgroup_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"owner_id","full_name":"host[owner_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"puppet_ca_proxy_id","full_name":"host[puppet_ca_proxy_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"image_id","full_name":"host[image_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"host_parameters_attributes","full_name":"host[host_parameters_attributes]","description":"","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"},{"name":"build","full_name":"host[build]","description":"","required":false,"allow_nil":true,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"},{"name":"enabled","full_name":"host[enabled]","description":"","required":false,"allow_nil":true,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"},{"name":"provision_method","full_name":"host[provision_method]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"managed","full_name":"host[managed]","description":"","required":false,"allow_nil":true,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"},{"name":"progress_report_id","full_name":"host[progress_report_id]","description":"\n

UUID - to track orchestration tasks status, GET\n/api/orchestration/:UUID/tasks

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"capabilities","full_name":"host[capabilities]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"compute_profile_id","full_name":"host[compute_profile_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"compute_attributes","full_name":"host[compute_attributes]","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[]}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/hosts/update","name":"update","apis":[{"api_url":"/api/hosts/:id","http_method":"PUT","short_description":"Update - a host."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"host","full_name":"host","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"host[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"environment_id","full_name":"host[environment_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"ip","full_name":"host[ip]","description":"\n

not - required if using a subnet with dhcp proxy

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"mac","full_name":"host[mac]","description":"\n

not - required if its a virtual machine

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"architecture_id","full_name":"host[architecture_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"domain_id","full_name":"host[domain_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"realm_id","full_name":"host[realm_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"puppet_proxy_id","full_name":"host[puppet_proxy_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"puppet_class_ids","full_name":"host[puppet_class_ids]","description":"","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"},{"name":"operatingsystem_id","full_name":"host[operatingsystem_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"medium_id","full_name":"host[medium_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"ptable_id","full_name":"host[ptable_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"subnet_id","full_name":"host[subnet_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"compute_resource_id","full_name":"host[compute_resource_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"sp_subnet_id","full_name":"host[sp_subnet_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"model_id","full_name":"host[model_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"hostgroup_id","full_name":"host[hostgroup_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"owner_id","full_name":"host[owner_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"puppet_ca_proxy_id","full_name":"host[puppet_ca_proxy_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"image_id","full_name":"host[image_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"host_parameters_attributes","full_name":"host[host_parameters_attributes]","description":"","required":false,"allow_nil":true,"validator":"Must - be Array","metadata":null,"show":true,"expected_type":"array"},{"name":"build","full_name":"host[build]","description":"","required":false,"allow_nil":true,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"},{"name":"enabled","full_name":"host[enabled]","description":"","required":false,"allow_nil":true,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"},{"name":"provision_method","full_name":"host[provision_method]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"managed","full_name":"host[managed]","description":"","required":false,"allow_nil":true,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"},{"name":"progress_report_id","full_name":"host[progress_report_id]","description":"\n

UUID - to track orchestration tasks status, GET\n/api/orchestration/:UUID/tasks

\n","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"capabilities","full_name":"host[capabilities]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"compute_profile_id","full_name":"host[compute_profile_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"compute_attributes","full_name":"host[compute_attributes]","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[]}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/hosts/destroy","name":"destroy","apis":[{"api_url":"/api/hosts/:id","http_method":"DELETE","short_description":"Delete - an host."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/hosts/status","name":"status","apis":[{"api_url":"/api/hosts/:id/status","http_method":"GET","short_description":"Get - status of host"}],"formats":null,"full_description":"\n

Return value may - either be one of the following:

\n\n","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing - space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/hosts/puppetrun","name":"puppetrun","apis":[{"api_url":"/api/hosts/:id/puppetrun","http_method":"PUT","short_description":"Force - a puppet run on the agent."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing - space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/hosts/power","name":"power","apis":[{"api_url":"/api/hosts/:id/power","http_method":"PUT","short_description":"Run - power operation on host."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing - space.","metadata":null,"show":true,"expected_type":"string"},{"name":"power_action","full_name":"power_action","description":"\n

power - action, valid actions are (''on'', ''start'')'', (''off'', ''stop''), (''soft'',\n''reboot''), - (''cycle'', ''reset''), (''state'', ''status'')

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/hosts/boot","name":"boot","apis":[{"api_url":"/api/hosts/:id/boot","http_method":"PUT","short_description":"Boot - host from specified device."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing - space.","metadata":null,"show":true,"expected_type":"string"},{"name":"device","full_name":"device","description":"\n

boot - device, valid devices are disk, cdrom, pxe, bios

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/hosts/facts","name":"facts","apis":[{"api_url":"/api/hosts/facts","http_method":"POST","short_description":"Upload - facts for a host, creating the host if required."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"name","full_name":"name","description":"\n

hostname - of the host

\n","required":true,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"},{"name":"facts","full_name":"facts","description":"\n

hash - containing the facts for the host

\n","required":true,"allow_nil":false,"validator":"Must - be Hash","metadata":null,"show":true,"expected_type":"hash"},{"name":"certname","full_name":"certname","description":"\n

optional: - certname of the host

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"type","full_name":"type","description":"\n

optional: - the STI type of host to create

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"fact_values":{"doc_url":"../apidoc/v2/fact_values","api_url":"/api","name":"Fact - values","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/fact_values/index","name":"index","apis":[{"api_url":"/api/fact_values","http_method":"GET","short_description":"List - all fact values."},{"api_url":"/api/hosts/:host_id/facts","http_method":"GET","short_description":"List - all fact values of a given host."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"smart_class_parameters":{"doc_url":"../apidoc/v2/smart_class_parameters","api_url":"/api","name":"Smart - class parameters","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/smart_class_parameters/index","name":"index","apis":[{"api_url":"/api/smart_class_parameters","http_method":"GET","short_description":"List - all smart class parameters"},{"api_url":"/api/hosts/:host_id/smart_class_parameters","http_method":"GET","short_description":"List - of smart class parameters for a specific host"},{"api_url":"/api/hostgroups/:hostgroup_id/smart_class_parameters","http_method":"GET","short_description":"List - of smart class parameters for a specific hostgroup"},{"api_url":"/api/puppetclasses/:puppetclass_id/smart_class_parameters","http_method":"GET","short_description":"List - of smart class parameters for a specific puppetclass"},{"api_url":"/api/environments/:environment_id/smart_class_parameters","http_method":"GET","short_description":"List - of smart class parameters for a specific environment"},{"api_url":"/api/environments/:environment_id/puppetclasses/:puppetclass_id/smart_class_parameters","http_method":"GET","short_description":"List - of smart class parameters for a specific environment/puppetclass combination"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"","required":false,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"","required":false,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"puppetclass_id","full_name":"puppetclass_id","description":"","required":false,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"environment_id","full_name":"environment_id","description":"","required":false,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"search","full_name":"search","description":"\n

Filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/smart_class_parameters/show","name":"show","apis":[{"api_url":"/api/smart_class_parameters/:id","http_method":"GET","short_description":"Show - a smart class parameter."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/smart_class_parameters/update","name":"update","apis":[{"api_url":"/api/smart_class_parameters/:id","http_method":"PUT","short_description":"Update - a smart class parameter."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"smart_class_parameter","full_name":"smart_class_parameter","description":"","required":true,"allow_nil":false,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"override","full_name":"smart_class_parameter[override]","description":"","required":false,"allow_nil":false,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"},{"name":"description","full_name":"smart_class_parameter[description]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"default_value","full_name":"smart_class_parameter[default_value]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"path","full_name":"smart_class_parameter[path]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"validator_type","full_name":"smart_class_parameter[validator_type]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"validator_rule","full_name":"smart_class_parameter[validator_rule]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"override_value_order","full_name":"smart_class_parameter[override_value_order]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"parameter_type","full_name":"smart_class_parameter[parameter_type]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"required","full_name":"smart_class_parameter[required]","description":"","required":false,"allow_nil":false,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]}]},"users":{"doc_url":"../apidoc/v2/users","api_url":"/api","name":"Users","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/users/index","name":"index","apis":[{"api_url":"/api/users","http_method":"GET","short_description":"List - all users."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/users/show","name":"show","apis":[{"api_url":"/api/users/:id","http_method":"GET","short_description":"Show - an user."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/users/create","name":"create","apis":[{"api_url":"/api/users","http_method":"POST","short_description":"Create - an user."}],"formats":null,"full_description":"\n

Adds role ''Anonymous'' - to the user by default

\n","errors":[],"params":[{"name":"user","full_name":"user","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"login","full_name":"user[login]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"firstname","full_name":"user[firstname]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"lastname","full_name":"user[lastname]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"mail","full_name":"user[mail]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"admin","full_name":"user[admin]","description":"\n

Is - an admin account?

\n","required":false,"allow_nil":true,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"},{"name":"password","full_name":"user[password]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"auth_source_id","full_name":"user[auth_source_id]","description":"","required":true,"allow_nil":false,"validator":"Must - be Integer","metadata":null,"show":true,"expected_type":"numeric"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/users/update","name":"update","apis":[{"api_url":"/api/users/:id","http_method":"PUT","short_description":"Update - an user."}],"formats":null,"full_description":"\n

Adds role ''Anonymous'' - to the user if it is not already present. Only admin\ncan set admin account.

\n","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"user","full_name":"user","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"login","full_name":"user[login]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"firstname","full_name":"user[firstname]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"lastname","full_name":"user[lastname]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"mail","full_name":"user[mail]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"admin","full_name":"user[admin]","description":"\n

Is - an admin account?

\n","required":false,"allow_nil":true,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"},{"name":"password","full_name":"user[password]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"auth_source_id","full_name":"user[auth_source_id]","description":"","required":false,"allow_nil":false,"validator":"Must - be Integer","metadata":null,"show":true,"expected_type":"numeric"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/users/destroy","name":"destroy","apis":[{"api_url":"/api/users/:id","http_method":"DELETE","short_description":"Delete - an user."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"hostgroup_classes":{"doc_url":"../apidoc/v2/hostgroup_classes","api_url":"/api","name":"Hostgroup - classes","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/hostgroup_classes/index","name":"index","apis":[{"api_url":"/api/hostgroups/:hostgroup_id/puppetclass_ids","http_method":"GET","short_description":"List - all puppetclass id''s for hostgroup"}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/hostgroup_classes/create","name":"create","apis":[{"api_url":"/api/hostgroups/:hostgroup_id/puppetclass_ids","http_method":"POST","short_description":"Add - a puppetclass to hostgroup"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n

id - of hostgroup

\n","required":true,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"},{"name":"puppetclass_id","full_name":"puppetclass_id","description":"\n

id - of puppetclass

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/hostgroup_classes/destroy","name":"destroy","apis":[{"api_url":"/api/hostgroups/:hostgroup_id/puppetclass_ids/:id","http_method":"DELETE","short_description":"Remove - a puppetclass from hostgroup"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n

id - of hostgroup

\n","required":true,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"},{"name":"id","full_name":"id","description":"\n

id - of puppetclass

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"images":{"doc_url":"../apidoc/v2/images","api_url":"/api","name":"Images","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/images/index","name":"index","apis":[{"api_url":"/api/compute_resources/:compute_resource_id/images","http_method":"GET","short_description":"List - all images for compute resource"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"compute_resource_id","full_name":"compute_resource_id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/images/show","name":"show","apis":[{"api_url":"/api/compute_resources/:compute_resource_id/images/:id","http_method":"GET","short_description":"Show - an image"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"compute_resource_id","full_name":"compute_resource_id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/images/create","name":"create","apis":[{"api_url":"/api/compute_resources/:compute_resource_id/images","http_method":"POST","short_description":"Create - a image"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"compute_resource_id","full_name":"compute_resource_id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"image","full_name":"image","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"image[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"username","full_name":"image[username]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"uuid","full_name":"image[uuid]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"compute_resource_id","full_name":"image[compute_resource_id]","description":"","required":true,"allow_nil":false,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"architecture_id","full_name":"image[architecture_id]","description":"","required":true,"allow_nil":false,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"operatingsystem_id","full_name":"image[operatingsystem_id]","description":"","required":true,"allow_nil":false,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/images/update","name":"update","apis":[{"api_url":"/api/compute_resources/:compute_resource_id/images/:id","http_method":"PUT","short_description":"Update - a image."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"compute_resource_id","full_name":"compute_resource_id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"image","full_name":"image","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"image[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"username","full_name":"image[username]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"uuid","full_name":"image[uuid]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"compute_resource_id","full_name":"image[compute_resource_id]","description":"","required":false,"allow_nil":false,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"architecture_id","full_name":"image[architecture_id]","description":"","required":false,"allow_nil":false,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"operatingsystem_id","full_name":"image[operatingsystem_id]","description":"","required":false,"allow_nil":false,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/images/destroy","name":"destroy","apis":[{"api_url":"/api/compute_resources/:compute_resource_id/images/:id","http_method":"DELETE","short_description":"Delete - an image."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"compute_resource_id","full_name":"compute_resource_id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"compute_profiles":{"doc_url":"../apidoc/v2/compute_profiles","api_url":"/api","name":"Compute - profiles","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/compute_profiles/index","name":"index","apis":[{"api_url":"/api/compute_profiles","http_method":"GET","short_description":"List - of compute profiles"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/compute_profiles/show","name":"show","apis":[{"api_url":"/api/compute_profiles/:id","http_method":"GET","short_description":"Show - a compute profile."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/compute_profiles/create","name":"create","apis":[{"api_url":"/api/compute_profiles","http_method":"POST","short_description":"Create - a compute profile."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"compute_profile","full_name":"compute_profile","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"compute_profile[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/compute_profiles/update","name":"update","apis":[{"api_url":"/api/compute_profiles/:id","http_method":"PUT","short_description":"Update - a compute profile."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"compute_profile","full_name":"compute_profile","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"compute_profile[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/compute_profiles/destroy","name":"destroy","apis":[{"api_url":"/api/compute_profiles/:id","http_method":"DELETE","short_description":"Delete - a compute profile."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"override_values":{"doc_url":"../apidoc/v2/override_values","api_url":"/api","name":"Override - values","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/override_values/index","name":"index","apis":[{"api_url":"/api/smart_variables/:smart_variable_id/override_values","http_method":"GET","short_description":"List - of override values for a specific smart_variable"},{"api_url":"/api/smart_class_parameters/:smart_class_parameter_id/override_values","http_method":"GET","short_description":"List - of override values for a specific smart class parameter"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"smart_variable_id","full_name":"smart_variable_id","description":"","required":false,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"smart_class_parameter_id","full_name":"smart_class_parameter_id","description":"","required":false,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/override_values/show","name":"show","apis":[{"api_url":"/api/smart_variables/:smart_variable_id/override_values/:id","http_method":"GET","short_description":"Show - an override value for a specific smart_variable"},{"api_url":"/api/smart_class_parameters/:smart_class_parameter_id/override_values/:id","http_method":"GET","short_description":"Show - an override value for a specific smart class parameter"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"smart_variable_id","full_name":"smart_variable_id","description":"","required":false,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"smart_class_parameter_id","full_name":"smart_class_parameter_id","description":"","required":false,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/override_values/create","name":"create","apis":[{"api_url":"/api/smart_variables/:smart_variable_id/override_values","http_method":"POST","short_description":"Create - an override value for a specific smart_variable"},{"api_url":"/api/smart_class_parameters/:smart_class_parameter_id/override_values","http_method":"POST","short_description":"Create - an override value for a specific smart class parameter"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"smart_variable_id","full_name":"smart_variable_id","description":"","required":false,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"override_value","full_name":"override_value","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"match","full_name":"override_value[match]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"value","full_name":"override_value[value]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/override_values/update","name":"update","apis":[{"api_url":"/api/smart_variables/:smart_variable_id/override_values/:id","http_method":"PUT","short_description":"Update - an override value for a specific smart_variable"},{"api_url":"/api/smart_class_parameters/:smart_class_parameter_id/override_values/:id","http_method":"PUT","short_description":"Update - an override value for a specific smart class parameter"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"override_value","full_name":"override_value","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"match","full_name":"override_value[match]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"value","full_name":"override_value[value]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/override_values/destroy","name":"destroy","apis":[{"api_url":"/api/smart_variables/:smart_variable_id/override_values/:id","http_method":"DELETE","short_description":"Delete - an override value for a specific smart_variable"},{"api_url":"/api/smart_class_parameters/:smart_class_parameter_id/override_values/:id","http_method":"DELETE","short_description":"Delete - an override value for a specific smart class parameter"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"autosign":{"doc_url":"../apidoc/v2/autosign","api_url":"/api","name":"Autosign","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/autosign/index","name":"index","apis":[{"api_url":"/api/smart_proxies/smart_proxy_id/autosign","http_method":"GET","short_description":"List - all autosign"}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[]}]},"architectures":{"doc_url":"../apidoc/v2/architectures","api_url":"/api","name":"Architectures","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/architectures/index","name":"index","apis":[{"api_url":"/api/architectures","http_method":"GET","short_description":"List - all architectures."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/architectures/show","name":"show","apis":[{"api_url":"/api/architectures/:id","http_method":"GET","short_description":"Show - an architecture."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/architectures/create","name":"create","apis":[{"api_url":"/api/architectures","http_method":"POST","short_description":"Create - an architecture."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"architecture","full_name":"architecture","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"architecture[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"operatingsystem_ids","full_name":"architecture[operatingsystem_ids]","description":"\n

Operatingsystem - ID''s

\n","required":false,"allow_nil":true,"validator":"Must be Array","metadata":null,"show":true,"expected_type":"array"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/architectures/update","name":"update","apis":[{"api_url":"/api/architectures/:id","http_method":"PUT","short_description":"Update - an architecture."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"architecture","full_name":"architecture","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"architecture[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"operatingsystem_ids","full_name":"architecture[operatingsystem_ids]","description":"\n

Operatingsystem - ID''s

\n","required":false,"allow_nil":true,"validator":"Must be Array","metadata":null,"show":true,"expected_type":"array"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/architectures/destroy","name":"destroy","apis":[{"api_url":"/api/architectures/:id","http_method":"DELETE","short_description":"Delete - an architecture."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"parameters":{"doc_url":"../apidoc/v2/parameters","api_url":"/api","name":"Parameters","short_description":null,"full_description":"\n

These - API calls are related to nested parameters for host, domain,\nhostgroup, - operating system. If you are looking for <a\nhref=\"common_parameters.html\">global - parameters</a>, go to <a\nhref=\"common_parameters.html\">this - link</a>.

\n","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/parameters/index","name":"index","apis":[{"api_url":"/api/hosts/:host_id/parameters","http_method":"GET","short_description":"List - all parameters for host"},{"api_url":"/api/hostgroups/:hostgroup_id/parameters","http_method":"GET","short_description":"List - all parameters for hostgroup"},{"api_url":"/api/domains/:domain_id/parameters","http_method":"GET","short_description":"List - all parameters for domain"},{"api_url":"/api/operatingsystems/:operatingsystem_id/parameters","http_method":"GET","short_description":"List - all parameters for operating system"},{"api_url":"/api/locations/:location_id/parameters","http_method":"GET","short_description":"List - all parameters for location"},{"api_url":"/api/organizations/:organization_id/parameters","http_method":"GET","short_description":"List - all parameters for organization"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n

id - of host

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n

id - of hostgroup

\n","required":false,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"},{"name":"domain_id","full_name":"domain_id","description":"\n

id - of domain

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n

id - of operating system

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"location_id","full_name":"location_id","description":"\n

id - of location

\n","required":false,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"},{"name":"organization_id","full_name":"organization_id","description":"\n

id - of organization

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/parameters/show","name":"show","apis":[{"api_url":"/api/hosts/:host_id/parameters/:id","http_method":"GET","short_description":"Show - a nested parameter for host"},{"api_url":"/api/hostgroups/:hostgroup_id/parameters/:id","http_method":"GET","short_description":"Show - a nested parameter for hostgroup"},{"api_url":"/api/domains/:domain_id/parameters/:id","http_method":"GET","short_description":"Show - a nested parameter for domain"},{"api_url":"/api/operatingsystems/:operatingsystem_id/parameters/:id","http_method":"GET","short_description":"Show - a nested parameter for operating system"},{"api_url":"/api/locations/:location_id/parameters/:id","http_method":"GET","short_description":"Show - a nested parameter for location"},{"api_url":"/api/organizations/:organization_id/parameters/:id","http_method":"GET","short_description":"Show - a nested parameter for organization"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n

id - of host

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n

id - of hostgroup

\n","required":false,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"},{"name":"domain_id","full_name":"domain_id","description":"\n

id - of domain

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n

id - of operating system

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"location_id","full_name":"location_id","description":"\n

id - of location

\n","required":false,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"},{"name":"organization_id","full_name":"organization_id","description":"\n

id - of organization

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"id","full_name":"id","description":"\n

id - of parameter

\n","required":true,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/parameters/create","name":"create","apis":[{"api_url":"/api/hosts/:host_id/parameters","http_method":"POST","short_description":"Create - a nested parameter for host"},{"api_url":"/api/hostgroups/:hostgroup_id/parameters","http_method":"POST","short_description":"Create - a nested parameter for hostgroup"},{"api_url":"/api/domains/:domain_id/parameters","http_method":"POST","short_description":"Create - a nested parameter for domain"},{"api_url":"/api/operatingsystems/:operatingsystem_id/parameters","http_method":"POST","short_description":"Create - a nested parameter for operating system"},{"api_url":"/api/locations/:location_id/parameters","http_method":"POST","short_description":"Create - a nested parameter for location"},{"api_url":"/api/organizations/:organization_id/parameters","http_method":"POST","short_description":"Create - a nested parameter for organization"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n

id - of host

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n

id - of hostgroup

\n","required":false,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"},{"name":"domain_id","full_name":"domain_id","description":"\n

id - of domain

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n

id - of operating system

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"location_id","full_name":"location_id","description":"\n

id - of location

\n","required":false,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"},{"name":"organization_id","full_name":"organization_id","description":"\n

id - of organization

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"parameter","full_name":"parameter","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"parameter[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"value","full_name":"parameter[value]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/parameters/update","name":"update","apis":[{"api_url":"/api/hosts/:host_id/parameters/:id","http_method":"PUT","short_description":"Update - a nested parameter for host"},{"api_url":"/api/hostgroups/:hostgroup_id/parameters/:id","http_method":"PUT","short_description":"Update - a nested parameter for hostgroup"},{"api_url":"/api/domains/:domain_id/parameters/:id","http_method":"PUT","short_description":"Update - a nested parameter for domain"},{"api_url":"/api/operatingsystems/:operatingsystem_id/parameters/:id","http_method":"PUT","short_description":"Update - a nested parameter for operating system"},{"api_url":"/api/locations/:location_id/parameters/:id","http_method":"PUT","short_description":"Update - a nested parameter for location"},{"api_url":"/api/organizations/:organization_id/parameters/:id","http_method":"PUT","short_description":"Update - a nested parameter for organization"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n

id - of host

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n

id - of hostgroup

\n","required":false,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"},{"name":"domain_id","full_name":"domain_id","description":"\n

id - of domain

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n

id - of operating system

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"location_id","full_name":"location_id","description":"\n

id - of location

\n","required":false,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"},{"name":"organization_id","full_name":"organization_id","description":"\n

id - of organization

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"id","full_name":"id","description":"\n

id - of parameter

\n","required":true,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"},{"name":"parameter","full_name":"parameter","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"parameter[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"value","full_name":"parameter[value]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/parameters/destroy","name":"destroy","apis":[{"api_url":"/api/hosts/:host_id/parameters/:id","http_method":"DELETE","short_description":"Delete - a nested parameter for host"},{"api_url":"/api/hostgroups/:hostgroup_id/parameters/:id","http_method":"DELETE","short_description":"Delete - a nested parameter for hostgroup"},{"api_url":"/api/domains/:domain_id/parameters/:id","http_method":"DELETE","short_description":"Delete - a nested parameter for domain"},{"api_url":"/api/operatingsystems/:operatingsystem_id/parameters/:id","http_method":"DELETE","short_description":"Delete - a nested parameter for operating system"},{"api_url":"/api/locations/:location_id/parameters/:id","http_method":"DELETE","short_description":"Delete - a nested parameter for location"},{"api_url":"/api/organizations/:organization_id/parameters/:id","http_method":"DELETE","short_description":"Delete - a nested parameter for organization"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n

id - of host

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n

id - of hostgroup

\n","required":false,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"},{"name":"domain_id","full_name":"domain_id","description":"\n

id - of domain

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n

id - of operating system

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"location_id","full_name":"location_id","description":"\n

id - of location

\n","required":false,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"},{"name":"organization_id","full_name":"organization_id","description":"\n

id - of organization

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"id","full_name":"id","description":"\n

id - of parameter

\n","required":true,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/parameters/reset","name":"reset","apis":[{"api_url":"/api/hosts/:host_id/parameters","http_method":"DELETE","short_description":"Delete - all nested parameters for host"},{"api_url":"/api/hostgroups/:hostgroup_id/parameters","http_method":"DELETE","short_description":"Delete - all nested parameters for hostgroup"},{"api_url":"/api/domains/:domain_id/parameters","http_method":"DELETE","short_description":"Delete - all nested parameters for domain"},{"api_url":"/api/operatingsystems/:operatingsystem_id/parameters","http_method":"DELETE","short_description":"Delete - all nested parameters for operating system"},{"api_url":"/api/locations/:location_id/parameters","http_method":"DELETE","short_description":"Delete - all nested parameter for location"},{"api_url":"/api/organizations/:organization_id/parameters","http_method":"DELETE","short_description":"Delete - all nested parameter for organization"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n

id - of host

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n

id - of hostgroup

\n","required":false,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"},{"name":"domain_id","full_name":"domain_id","description":"\n

id - of domain

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n

id - of operating system

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"location_id","full_name":"location_id","description":"\n

id - of location

\n","required":false,"allow_nil":false,"validator":"Must be - String","metadata":null,"show":true,"expected_type":"string"},{"name":"organization_id","full_name":"organization_id","description":"\n

id - of organization

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"organizations":{"doc_url":"../apidoc/v2/organizations","api_url":"/api","name":"Organizations","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/organizations/index","name":"index","apis":[{"api_url":"/api/organizations","http_method":"GET","short_description":"List - all organizations"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/organizations/show","name":"show","apis":[{"api_url":"/api/organizations/:id","http_method":"GET","short_description":"Show - an organization"}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/organizations/create","name":"create","apis":[{"api_url":"/api/organizations","http_method":"POST","short_description":"Create - an organization"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization","full_name":"organization","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"organization[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/organizations/update","name":"update","apis":[{"api_url":"/api/organizations/:id","http_method":"PUT","short_description":"Update - an organization"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization","full_name":"organization","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"organization[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/organizations/destroy","name":"destroy","apis":[{"api_url":"/api/organizations/:id","http_method":"DELETE","short_description":"Delete - an organization"}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[]}]},"locations":{"doc_url":"../apidoc/v2/locations","api_url":"/api","name":"Locations","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/locations/index","name":"index","apis":[{"api_url":"/api/locations","http_method":"GET","short_description":"List - all locations"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/locations/show","name":"show","apis":[{"api_url":"/api/locations/:id","http_method":"GET","short_description":"Show - a location"}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/locations/create","name":"create","apis":[{"api_url":"/api/locations","http_method":"POST","short_description":"Create - a location"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"location","full_name":"location","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"location[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/locations/update","name":"update","apis":[{"api_url":"/api/locations/:id","http_method":"PUT","short_description":"Update - a location"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"location","full_name":"location","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"location[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/locations/destroy","name":"destroy","apis":[{"api_url":"/api/locations/:id","http_method":"DELETE","short_description":"Delete - a location"}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[]}]},"config_groups":{"doc_url":"../apidoc/v2/config_groups","api_url":"/api","name":"Config - groups","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/config_groups/index","name":"index","apis":[{"api_url":"/api/config_groups","http_method":"GET","short_description":"List - of config groups"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/config_groups/show","name":"show","apis":[{"api_url":"/api/config_groups/:id","http_method":"GET","short_description":"Show - a config group."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/config_groups/create","name":"create","apis":[{"api_url":"/api/config_groups","http_method":"POST","short_description":"Create - a config group."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"config_group","full_name":"config_group","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"config_group[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/config_groups/update","name":"update","apis":[{"api_url":"/api/config_groups/:id","http_method":"PUT","short_description":"Update - a config group."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"config_group","full_name":"config_group","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"config_group[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/config_groups/destroy","name":"destroy","apis":[{"api_url":"/api/config_groups/:id","http_method":"DELETE","short_description":"Delete - a config group."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"puppetclasses":{"doc_url":"../apidoc/v2/puppetclasses","api_url":"/api","name":"Puppetclasses","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/puppetclasses/index","name":"index","apis":[{"api_url":"/api/puppetclasses","http_method":"GET","short_description":"List - all puppetclasses."},{"api_url":"/api/hosts/:host_id/puppetclasses","http_method":"GET","short_description":"List - all puppetclasses for host"},{"api_url":"/api/hostgroups/:hostgroup_id/puppetclasses","http_method":"GET","short_description":"List - all puppetclasses for hostgroup"},{"api_url":"/api/environments/:environment_id/puppetclasses","http_method":"GET","short_description":"List - all puppetclasses for environment"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n

id - of nested host

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n

id - of nested hostgroup

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"environment_id","full_name":"environment_id","description":"\n

id - of nested environment

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"search","full_name":"search","description":"\n

Filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

Sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/puppetclasses/show","name":"show","apis":[{"api_url":"/api/puppetclasses/:id","http_method":"GET","short_description":"Show - a puppetclass"},{"api_url":"/api/hosts/:host_id/puppetclasses/:id","http_method":"GET","short_description":"Show - a puppetclass for host"},{"api_url":"/api/hostgroups/:hostgroup_id/puppetclasses/:id","http_method":"GET","short_description":"Show - a puppetclass for hostgroup"},{"api_url":"/api/environments/:environment_id/puppetclasses/:id","http_method":"GET","short_description":"Show - a puppetclass for environment"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n

id - of nested host

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n

id - of nested hostgroup

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"environment_id","full_name":"environment_id","description":"\n

id - of nested environment

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"id","full_name":"id","description":"\n

id - of puppetclass

\n","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/puppetclasses/create","name":"create","apis":[{"api_url":"/api/puppetclasses","http_method":"POST","short_description":"Create - a puppetclass."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"puppetclass","full_name":"puppetclass","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"puppetclass[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/puppetclasses/update","name":"update","apis":[{"api_url":"/api/puppetclasses/:id","http_method":"PUT","short_description":"Update - a puppetclass."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"puppetclass","full_name":"puppetclass","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"puppetclass[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/puppetclasses/destroy","name":"destroy","apis":[{"api_url":"/api/puppetclasses/:id","http_method":"DELETE","short_description":"Delete - a puppetclass."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"os_default_templates":{"doc_url":"../apidoc/v2/os_default_templates","api_url":"/api","name":"Os - default templates","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/os_default_templates/index","name":"index","apis":[{"api_url":"/api/operatingsystems/:operatingsystem_id/os_default_templates","http_method":"GET","short_description":"List - os default templates for operating system"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n

id - of operating system

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/os_default_templates/show","name":"show","apis":[{"api_url":"/api/operatingsystems/:operatingsystem_id/os_default_templates/:id","http_method":"GET","short_description":"Show - a os default template kind for operating system"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n

id - of operating system

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/os_default_templates/create","name":"create","apis":[{"api_url":"/api/operatingsystems/:operatingsystem_id/os_default_templates","http_method":"POST","short_description":"Create - a os default template for operating system"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n

id - of operating system

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"os_default_template","full_name":"os_default_template","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"template_kind_id","full_name":"os_default_template[template_kind_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"config_template_id","full_name":"os_default_template[config_template_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/os_default_templates/update","name":"update","apis":[{"api_url":"/api/operatingsystems/:operatingsystem_id/os_default_templates/:id","http_method":"PUT","short_description":"Update - a os default template for operating system"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n

id - of operating system

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"os_default_template","full_name":"os_default_template","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"template_kind_id","full_name":"os_default_template[template_kind_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"},{"name":"config_template_id","full_name":"os_default_template[config_template_id]","description":"","required":false,"allow_nil":true,"validator":"Must - be a number.","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/os_default_templates/destroy","name":"destroy","apis":[{"api_url":"/api/operatingsystems/:operatingsystem_id/os_default_templates/:id","http_method":"DELETE","short_description":"Delete - a os default template for operating system"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n

id - of operating system

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"template_kinds":{"doc_url":"../apidoc/v2/template_kinds","api_url":"/api","name":"Template - kinds","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/template_kinds/index","name":"index","apis":[{"api_url":"/api/template_kinds","http_method":"GET","short_description":"List - all template kinds."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"dashboard":{"doc_url":"../apidoc/v2/dashboard","api_url":"/api","name":"Dashboard","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/dashboard/index","name":"index","apis":[{"api_url":"/api/dashboard","http_method":"GET","short_description":"Get - Dashboard results"}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"environments":{"doc_url":"../apidoc/v2/environments","api_url":"/api","name":"Environments","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/environments/import_puppetclasses","name":"import_puppetclasses","apis":[{"api_url":"/api/smart_proxies/:id/import_puppetclasses","http_method":"POST","short_description":"Import - puppet classes from puppet proxy."},{"api_url":"/api/smart_proxies/:smart_proxy_id/environments/:id/import_puppetclasses","http_method":"POST","short_description":"Import - puppet classes from puppet proxy for particular environment."},{"api_url":"/api/environments/:environment_id/smart_proxies/:id/import_puppetclasses","http_method":"POST","short_description":"Import - puppet classes from puppet proxy for particular environment."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"smart_proxy_id","full_name":"smart_proxy_id","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"environment_id","full_name":"environment_id","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"dryrun","full_name":"dryrun","description":"","required":false,"allow_nil":false,"validator":"Must - be ''true'' or ''false''","metadata":null,"show":true,"expected_type":"string"},{"name":"except","full_name":"except","description":"\n

Optional - comma-deliminated string containing either ''new,updated,obsolete''\nused - to limit the import_puppetclasses actions

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/environments/index","name":"index","apis":[{"api_url":"/api/environments","http_method":"GET","short_description":"List - all environments."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

Filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

Sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/environments/show","name":"show","apis":[{"api_url":"/api/environments/:id","http_method":"GET","short_description":"Show - an environment."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/environments/create","name":"create","apis":[{"api_url":"/api/environments","http_method":"POST","short_description":"Create - an environment."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"environment","full_name":"environment","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"environment[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/environments/update","name":"update","apis":[{"api_url":"/api/environments/:id","http_method":"PUT","short_description":"Update - an environment."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"},{"name":"environment","full_name":"environment","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"environment[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/environments/destroy","name":"destroy","apis":[{"api_url":"/api/environments/:id","http_method":"DELETE","short_description":"Delete - an environment."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"ptables":{"doc_url":"../apidoc/v2/ptables","api_url":"/api","name":"Ptables","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/ptables/index","name":"index","apis":[{"api_url":"/api/ptables","http_method":"GET","short_description":"List - all ptables."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/ptables/show","name":"show","apis":[{"api_url":"/api/ptables/:id","http_method":"GET","short_description":"Show - a ptable."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/ptables/create","name":"create","apis":[{"api_url":"/api/ptables","http_method":"POST","short_description":"Create - a ptable."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"ptable","full_name":"ptable","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"ptable[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"layout","full_name":"ptable[layout]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"os_family","full_name":"ptable[os_family]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/ptables/update","name":"update","apis":[{"api_url":"/api/ptables/:id","http_method":"PUT","short_description":"Update - a ptable."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"ptable","full_name":"ptable","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"ptable[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"layout","full_name":"ptable[layout]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"os_family","full_name":"ptable[os_family]","description":"","required":false,"allow_nil":true,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/ptables/destroy","name":"destroy","apis":[{"api_url":"/api/ptables/:id","http_method":"DELETE","short_description":"Delete - a ptable."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"usergroups":{"doc_url":"../apidoc/v2/usergroups","api_url":"/api","name":"Usergroups","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/usergroups/index","name":"index","apis":[{"api_url":"/api/usergroups","http_method":"GET","short_description":"List - all usergroups."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"page","full_name":"page","description":"\n

paginate - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"per_page","full_name":"per_page","description":"\n

number - of entries per request

\n","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"search","full_name":"search","description":"\n

filter - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"},{"name":"order","full_name":"order","description":"\n

sort - results

\n","required":false,"allow_nil":false,"validator":"Must be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/usergroups/show","name":"show","apis":[{"api_url":"/api/usergroups/:id","http_method":"GET","short_description":"Show - a usergroup."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be an identifier, string from 1 to 128 characters containing only alphanumeric - characters, space, underscore(_), hypen(-) with no leading or trailing space.","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/usergroups/create","name":"create","apis":[{"api_url":"/api/usergroups","http_method":"POST","short_description":"Create - a usergroup."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"usergroup","full_name":"usergroup","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"usergroup[name]","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/usergroups/update","name":"update","apis":[{"api_url":"/api/usergroups/:id","http_method":"PUT","short_description":"Update - a usergroup."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"},{"name":"usergroup","full_name":"usergroup","description":"","required":false,"allow_nil":true,"validator":"Must - be a Hash","expected_type":"hash","metadata":null,"show":true,"params":[{"name":"name","full_name":"usergroup[name]","description":"","required":false,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}]}],"examples":[],"metadata":null,"see":[]},{"doc_url":"../apidoc/v2/usergroups/destroy","name":"destroy","apis":[{"api_url":"/api/usergroups/:id","http_method":"DELETE","short_description":"Delete - a usergroup."}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must - be String","metadata":null,"show":true,"expected_type":"string"}],"examples":[],"metadata":null,"see":[]}]},"statistics":{"doc_url":"../apidoc/v2/statistics","api_url":"/api","name":"Statistics","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/statistics/index","name":"index","apis":[{"api_url":"/api/statistics","http_method":"GET","short_description":"Get - statistics"}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[]}]}}}}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -recorded_with: VCR 2.9.3 diff --git a/spec/vcr_cassettes/manageiq/providers/foreman/configuration_manager/refresher_api_locations_v2.yml b/spec/vcr_cassettes/manageiq/providers/foreman/configuration_manager/refresher_api_locations_v2.yml deleted file mode 100644 index 979198599b3..00000000000 --- a/spec/vcr_cassettes/manageiq/providers/foreman/configuration_manager/refresher_api_locations_v2.yml +++ /dev/null @@ -1,1672 +0,0 @@ ---- -http_interactions: -- request: - method: get - uri: http://example.com/api/hostgroups/1 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":1,"name":"Raleigh","title":"Raleigh","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":1,"domain_name":"example.com","environment_id":1,"environment_name":"production","compute_profile_id":null,"compute_profile_name":null,"ancestry":null,"puppet_proxy_id":1,"puppet_ca_proxy_id":1,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":1,"architecture_name":"x86_64","realm_id":null,"realm_name":null,"created_at":"2014-08-14T20:29:03Z","updated_at":"2014-08-14T20:29:03Z","all_puppetclasses":[{"id":5,"name":"cli_essentials","module_name":"cli_essentials"},{"id":84,"name":"dns_settings","module_name":"dns_settings"},{"id":94,"name":"epel","module_name":"epel"},{"id":1,"name":"ntp","module_name":"ntp"},{"id":11,"name":"ssh_authorized_keys","module_name":"ssh_authorized_keys"}],"locations":[{"id":1,"name":"Raleigh","title":"Raleigh"}],"organizations":[{"id":3,"name":"ProviderRefreshSpecOrganization","title":"Infra/ProviderRefreshSpecOrganization"}],"parameters":[],"template_combinations":[],"puppetclasses":[{"id":5,"name":"cli_essentials","module_name":"cli_essentials"},{"id":84,"name":"dns_settings","module_name":"dns_settings"},{"id":94,"name":"epel","module_name":"epel"},{"id":1,"name":"ntp","module_name":"ntp"},{"id":11,"name":"ssh_authorized_keys","module_name":"ssh_authorized_keys"}],"config_groups":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hostgroups/10 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":10,"name":"brewmaster","title":"Raleigh/Virt/Productivity/brewmaster","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-11-17T21:26:08Z","updated_at":"2014-11-17T21:26:08Z","all_puppetclasses":[{"id":68,"name":"apache_config","module_name":"apache_config"},{"id":71,"name":"brewmaster","module_name":"brewmaster"},{"id":28,"name":"cfme_bot_ssh_key","module_name":"cfme_bot_ssh_key"},{"id":5,"name":"cli_essentials","module_name":"cli_essentials"},{"id":84,"name":"dns_settings","module_name":"dns_settings"},{"id":94,"name":"epel","module_name":"epel"},{"id":58,"name":"kerberos_auth","module_name":"kerberos_auth"},{"id":26,"name":"lab_repo","module_name":"lab_repo"},{"id":1,"name":"ntp","module_name":"ntp"},{"id":27,"name":"rpm_git","module_name":"rpm_git"},{"id":11,"name":"ssh_authorized_keys","module_name":"ssh_authorized_keys"}],"locations":[{"id":1,"name":"Raleigh","title":"Raleigh"}],"organizations":[{"id":2,"name":"Infra","title":"Infra"}],"parameters":[],"template_combinations":[],"puppetclasses":[{"id":68,"name":"apache_config","module_name":"apache_config"},{"id":71,"name":"brewmaster","module_name":"brewmaster"},{"id":28,"name":"cfme_bot_ssh_key","module_name":"cfme_bot_ssh_key"},{"id":58,"name":"kerberos_auth","module_name":"kerberos_auth"}],"config_groups":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hostgroups/11 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":11,"name":"Foreman","title":"Raleigh/Virt/Foreman","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-11-26T19:08:50Z","updated_at":"2014-11-26T19:08:50Z","all_puppetclasses":[{"id":5,"name":"cli_essentials","module_name":"cli_essentials"},{"id":84,"name":"dns_settings","module_name":"dns_settings"},{"id":94,"name":"epel","module_name":"epel"},{"id":79,"name":"foreman","module_name":"foreman"},{"id":1,"name":"ntp","module_name":"ntp"},{"id":11,"name":"ssh_authorized_keys","module_name":"ssh_authorized_keys"}],"locations":[{"id":1,"name":"Raleigh","title":"Raleigh"}],"organizations":[{"id":2,"name":"Infra","title":"Infra"}],"parameters":[],"template_combinations":[],"puppetclasses":[{"id":79,"name":"foreman","module_name":"foreman"}],"config_groups":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hostgroups/12 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":12,"name":"CfmeBz","title":"Raleigh/Virt/Productivity/CfmeBz","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2015-01-07T18:41:35Z","updated_at":"2015-01-07T18:41:35Z","all_puppetclasses":[{"id":85,"name":"bugzilla_mirror","module_name":"bugzilla_mirror"},{"id":5,"name":"cli_essentials","module_name":"cli_essentials"},{"id":84,"name":"dns_settings","module_name":"dns_settings"},{"id":94,"name":"epel","module_name":"epel"},{"id":26,"name":"lab_repo","module_name":"lab_repo"},{"id":33,"name":"nginx","module_name":"nginx"},{"id":1,"name":"ntp","module_name":"ntp"},{"id":27,"name":"rpm_git","module_name":"rpm_git"},{"id":11,"name":"ssh_authorized_keys","module_name":"ssh_authorized_keys"}],"locations":[{"id":1,"name":"Raleigh","title":"Raleigh"}],"organizations":[{"id":2,"name":"Infra","title":"Infra"}],"parameters":[],"template_combinations":[],"puppetclasses":[{"id":85,"name":"bugzilla_mirror","module_name":"bugzilla_mirror"},{"id":33,"name":"nginx","module_name":"nginx"}],"config_groups":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hostgroups/13 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":13,"name":"ProviderRefreshSpec-HostGroup","title":"ProviderRefreshSpec-HostGroup","subnet_id":null,"subnet_name":null,"operatingsystem_id":4,"operatingsystem_name":"OS - 1.2","domain_id":null,"domain_name":null,"environment_id":1,"environment_name":"production","compute_profile_id":null,"compute_profile_name":null,"ancestry":null,"puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":8,"medium_name":"ProviderRefreshSpec-Media","architecture_id":1,"architecture_name":"x86_64","realm_id":null,"realm_name":null,"created_at":"2015-01-15T19:42:50Z","updated_at":"2015-01-22T16:34:33Z","all_puppetclasses":[],"locations":[{"id":4,"name":"ProviderRefreshSpec-Location","title":"ProviderRefreshSpec-Location"},{"id":5,"name":"ProviderRefreshSpec-ChildLocation","title":"ProviderRefreshSpec-Location/ProviderRefreshSpec-ChildLocation"}],"organizations":[{"id":3,"name":"ProviderRefreshSpecOrganization","title":"Infra/ProviderRefreshSpecOrganization"},{"id":6,"name":"ProviderRefreshSpecChildOrganization","title":"Infra/ProviderRefreshSpecOrganization/ProviderRefreshSpecChildOrganization"}],"parameters":[{"id":4,"name":"ChildOverride","value":"parent"},{"id":3,"name":"ParentParam","value":"parent"}],"template_combinations":[],"puppetclasses":[],"config_groups":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hostgroups/14 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":14,"name":"ProviderRefreshSpec-ChildHostGroup","title":"ProviderRefreshSpec-HostGroup/ProviderRefreshSpec-ChildHostGroup","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"13","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":12,"ptable_name":"ProviderRefreshSpec-PartitionTable","medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2015-01-15T19:43:14Z","updated_at":"2015-01-22T16:35:24Z","all_puppetclasses":[],"locations":[{"id":4,"name":"ProviderRefreshSpec-Location","title":"ProviderRefreshSpec-Location"},{"id":5,"name":"ProviderRefreshSpec-ChildLocation","title":"ProviderRefreshSpec-Location/ProviderRefreshSpec-ChildLocation"}],"organizations":[{"id":3,"name":"ProviderRefreshSpecOrganization","title":"Infra/ProviderRefreshSpecOrganization"},{"id":6,"name":"ProviderRefreshSpecChildOrganization","title":"Infra/ProviderRefreshSpecOrganization/ProviderRefreshSpecChildOrganization"}],"parameters":[{"id":1,"name":"ChildOverride","value":"child"},{"id":2,"name":"ChildParam","value":"child"}],"template_combinations":[],"puppetclasses":[],"config_groups":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hostgroups/15 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":15,"name":"RHEV Host","title":"Raleigh/Metal/RHEV Host","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/2","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2015-01-19T21:04:11Z","updated_at":"2015-01-19T21:04:11Z","all_puppetclasses":[{"id":5,"name":"cli_essentials","module_name":"cli_essentials"},{"id":84,"name":"dns_settings","module_name":"dns_settings"},{"id":94,"name":"epel","module_name":"epel"},{"id":1,"name":"ntp","module_name":"ntp"},{"id":11,"name":"ssh_authorized_keys","module_name":"ssh_authorized_keys"}],"locations":[{"id":1,"name":"Raleigh","title":"Raleigh"}],"organizations":[{"id":2,"name":"Infra","title":"Infra"}],"parameters":[],"template_combinations":[],"puppetclasses":[],"config_groups":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hostgroups/16 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":16,"name":"Brewery","title":"Raleigh/Virt/Productivity/Brewery","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2015-01-30T19:21:19Z","updated_at":"2015-01-30T19:21:19Z","all_puppetclasses":[{"id":96,"name":"brewery","module_name":"brewery"},{"id":5,"name":"cli_essentials","module_name":"cli_essentials"},{"id":84,"name":"dns_settings","module_name":"dns_settings"},{"id":94,"name":"epel","module_name":"epel"},{"id":58,"name":"kerberos_auth","module_name":"kerberos_auth"},{"id":26,"name":"lab_repo","module_name":"lab_repo"},{"id":1,"name":"ntp","module_name":"ntp"},{"id":27,"name":"rpm_git","module_name":"rpm_git"},{"id":11,"name":"ssh_authorized_keys","module_name":"ssh_authorized_keys"}],"locations":[{"id":1,"name":"Raleigh","title":"Raleigh"}],"organizations":[{"id":2,"name":"Infra","title":"Infra"}],"parameters":[],"template_combinations":[],"puppetclasses":[{"id":96,"name":"brewery","module_name":"brewery"},{"id":58,"name":"kerberos_auth","module_name":"kerberos_auth"}],"config_groups":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hostgroups/2 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":2,"name":"Metal","title":"Raleigh/Metal","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-08-14T20:30:30Z","updated_at":"2014-08-14T20:30:30Z","all_puppetclasses":[{"id":5,"name":"cli_essentials","module_name":"cli_essentials"},{"id":84,"name":"dns_settings","module_name":"dns_settings"},{"id":94,"name":"epel","module_name":"epel"},{"id":1,"name":"ntp","module_name":"ntp"},{"id":11,"name":"ssh_authorized_keys","module_name":"ssh_authorized_keys"}],"locations":[{"id":1,"name":"Raleigh","title":"Raleigh"}],"organizations":[{"id":2,"name":"Infra","title":"Infra"}],"parameters":[],"template_combinations":[],"puppetclasses":[],"config_groups":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hostgroups/3 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":3,"name":"Virt","title":"Raleigh/Virt","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:25:24Z","updated_at":"2014-10-20T20:25:24Z","all_puppetclasses":[{"id":5,"name":"cli_essentials","module_name":"cli_essentials"},{"id":84,"name":"dns_settings","module_name":"dns_settings"},{"id":94,"name":"epel","module_name":"epel"},{"id":1,"name":"ntp","module_name":"ntp"},{"id":11,"name":"ssh_authorized_keys","module_name":"ssh_authorized_keys"}],"locations":[{"id":1,"name":"Raleigh","title":"Raleigh"}],"organizations":[{"id":2,"name":"Infra","title":"Infra"}],"parameters":[],"template_combinations":[],"puppetclasses":[],"config_groups":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hostgroups/4 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":4,"name":"Productivity","title":"Raleigh/Virt/Productivity","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:45:56Z","updated_at":"2014-10-20T20:45:56Z","all_puppetclasses":[{"id":5,"name":"cli_essentials","module_name":"cli_essentials"},{"id":84,"name":"dns_settings","module_name":"dns_settings"},{"id":94,"name":"epel","module_name":"epel"},{"id":26,"name":"lab_repo","module_name":"lab_repo"},{"id":1,"name":"ntp","module_name":"ntp"},{"id":27,"name":"rpm_git","module_name":"rpm_git"},{"id":11,"name":"ssh_authorized_keys","module_name":"ssh_authorized_keys"}],"locations":[{"id":1,"name":"Raleigh","title":"Raleigh"}],"organizations":[{"id":2,"name":"Infra","title":"Infra"},{"id":3,"name":"ProviderRefreshSpecOrganization","title":"Infra/ProviderRefreshSpecOrganization"}],"parameters":[],"template_combinations":[],"puppetclasses":[{"id":26,"name":"lab_repo","module_name":"lab_repo"},{"id":27,"name":"rpm_git","module_name":"rpm_git"}],"config_groups":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hostgroups/5 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":5,"name":"Cruisers","title":"Raleigh/Virt/Productivity/Cruisers","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:46:14Z","updated_at":"2014-10-20T20:46:14Z","all_puppetclasses":[{"id":28,"name":"cfme_bot_ssh_key","module_name":"cfme_bot_ssh_key"},{"id":5,"name":"cli_essentials","module_name":"cli_essentials"},{"id":13,"name":"cruise_control","module_name":"cruise_control"},{"id":84,"name":"dns_settings","module_name":"dns_settings"},{"id":94,"name":"epel","module_name":"epel"},{"id":26,"name":"lab_repo","module_name":"lab_repo"},{"id":33,"name":"nginx","module_name":"nginx"},{"id":1,"name":"ntp","module_name":"ntp"},{"id":27,"name":"rpm_git","module_name":"rpm_git"},{"id":11,"name":"ssh_authorized_keys","module_name":"ssh_authorized_keys"}],"locations":[{"id":1,"name":"Raleigh","title":"Raleigh"}],"organizations":[{"id":2,"name":"Infra","title":"Infra"}],"parameters":[],"template_combinations":[],"puppetclasses":[{"id":28,"name":"cfme_bot_ssh_key","module_name":"cfme_bot_ssh_key"},{"id":13,"name":"cruise_control","module_name":"cruise_control"},{"id":33,"name":"nginx","module_name":"nginx"},{"id":27,"name":"rpm_git","module_name":"rpm_git"}],"config_groups":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hostgroups/6 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":6,"name":"Downstream","title":"Raleigh/Virt/Productivity/Cruisers/Downstream","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4/5","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:46:30Z","updated_at":"2014-10-20T20:46:30Z","all_puppetclasses":[{"id":28,"name":"cfme_bot_ssh_key","module_name":"cfme_bot_ssh_key"},{"id":5,"name":"cli_essentials","module_name":"cli_essentials"},{"id":13,"name":"cruise_control","module_name":"cruise_control"},{"id":19,"name":"cruise_control::config","module_name":"cruise_control"},{"id":84,"name":"dns_settings","module_name":"dns_settings"},{"id":94,"name":"epel","module_name":"epel"},{"id":26,"name":"lab_repo","module_name":"lab_repo"},{"id":33,"name":"nginx","module_name":"nginx"},{"id":1,"name":"ntp","module_name":"ntp"},{"id":27,"name":"rpm_git","module_name":"rpm_git"},{"id":11,"name":"ssh_authorized_keys","module_name":"ssh_authorized_keys"}],"locations":[{"id":1,"name":"Raleigh","title":"Raleigh"}],"organizations":[{"id":2,"name":"Infra","title":"Infra"}],"parameters":[],"template_combinations":[],"puppetclasses":[{"id":19,"name":"cruise_control::config","module_name":"cruise_control"}],"config_groups":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hostgroups/7 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":7,"name":"CcMonitor","title":"Raleigh/Virt/Productivity/CcMonitor","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:51:44Z","updated_at":"2014-10-20T20:51:44Z","all_puppetclasses":[{"id":5,"name":"cli_essentials","module_name":"cli_essentials"},{"id":84,"name":"dns_settings","module_name":"dns_settings"},{"id":94,"name":"epel","module_name":"epel"},{"id":26,"name":"lab_repo","module_name":"lab_repo"},{"id":1,"name":"ntp","module_name":"ntp"},{"id":27,"name":"rpm_git","module_name":"rpm_git"},{"id":11,"name":"ssh_authorized_keys","module_name":"ssh_authorized_keys"}],"locations":[{"id":1,"name":"Raleigh","title":"Raleigh"}],"organizations":[{"id":2,"name":"Infra","title":"Infra"}],"parameters":[],"template_combinations":[],"puppetclasses":[],"config_groups":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hostgroups/9 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":9,"name":"CfmeBot","title":"Raleigh/Virt/Productivity/CfmeBot","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-11-17T15:25:27Z","updated_at":"2014-11-17T15:25:27Z","all_puppetclasses":[{"id":5,"name":"cli_essentials","module_name":"cli_essentials"},{"id":84,"name":"dns_settings","module_name":"dns_settings"},{"id":94,"name":"epel","module_name":"epel"},{"id":26,"name":"lab_repo","module_name":"lab_repo"},{"id":52,"name":"miq_bot","module_name":"miq_bot"},{"id":33,"name":"nginx","module_name":"nginx"},{"id":1,"name":"ntp","module_name":"ntp"},{"id":27,"name":"rpm_git","module_name":"rpm_git"},{"id":11,"name":"ssh_authorized_keys","module_name":"ssh_authorized_keys"}],"locations":[{"id":1,"name":"Raleigh","title":"Raleigh"}],"organizations":[{"id":2,"name":"Infra","title":"Infra"}],"parameters":[],"template_combinations":[],"puppetclasses":[{"id":52,"name":"miq_bot","module_name":"miq_bot"},{"id":33,"name":"nginx","module_name":"nginx"}],"config_groups":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hostgroups?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":15,"subtotal":15,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[{"id":13,"name":"ProviderRefreshSpec-HostGroup","title":"ProviderRefreshSpec-HostGroup","subnet_id":null,"subnet_name":null,"operatingsystem_id":4,"operatingsystem_name":"OS - 1.2","domain_id":null,"domain_name":null,"environment_id":1,"environment_name":"production","compute_profile_id":null,"compute_profile_name":null,"ancestry":null,"puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":8,"medium_name":"ProviderRefreshSpec-Media","architecture_id":1,"architecture_name":"x86_64","realm_id":null,"realm_name":null,"created_at":"2015-01-15T19:42:50Z","updated_at":"2015-01-22T16:34:33Z"},{"id":14,"name":"ProviderRefreshSpec-ChildHostGroup","title":"ProviderRefreshSpec-HostGroup/ProviderRefreshSpec-ChildHostGroup","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"13","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":12,"ptable_name":"ProviderRefreshSpec-PartitionTable","medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2015-01-15T19:43:14Z","updated_at":"2015-01-22T16:35:24Z"},{"id":1,"name":"Raleigh","title":"Raleigh","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":1,"domain_name":"example.com","environment_id":1,"environment_name":"production","compute_profile_id":null,"compute_profile_name":null,"ancestry":null,"puppet_proxy_id":1,"puppet_ca_proxy_id":1,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":1,"architecture_name":"x86_64","realm_id":null,"realm_name":null,"created_at":"2014-08-14T20:29:03Z","updated_at":"2014-08-14T20:29:03Z"},{"id":2,"name":"Metal","title":"Raleigh/Metal","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-08-14T20:30:30Z","updated_at":"2014-08-14T20:30:30Z"},{"id":15,"name":"RHEV - Host","title":"Raleigh/Metal/RHEV Host","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/2","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2015-01-19T21:04:11Z","updated_at":"2015-01-19T21:04:11Z"},{"id":3,"name":"Virt","title":"Raleigh/Virt","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:25:24Z","updated_at":"2014-10-20T20:25:24Z"},{"id":11,"name":"Foreman","title":"Raleigh/Virt/Foreman","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-11-26T19:08:50Z","updated_at":"2014-11-26T19:08:50Z"},{"id":4,"name":"Productivity","title":"Raleigh/Virt/Productivity","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:45:56Z","updated_at":"2014-10-20T20:45:56Z"},{"id":16,"name":"Brewery","title":"Raleigh/Virt/Productivity/Brewery","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2015-01-30T19:21:19Z","updated_at":"2015-01-30T19:21:19Z"},{"id":7,"name":"CcMonitor","title":"Raleigh/Virt/Productivity/CcMonitor","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:51:44Z","updated_at":"2014-10-20T20:51:44Z"},{"id":9,"name":"CfmeBot","title":"Raleigh/Virt/Productivity/CfmeBot","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-11-17T15:25:27Z","updated_at":"2014-11-17T15:25:27Z"},{"id":12,"name":"CfmeBz","title":"Raleigh/Virt/Productivity/CfmeBz","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2015-01-07T18:41:35Z","updated_at":"2015-01-07T18:41:35Z"},{"id":5,"name":"Cruisers","title":"Raleigh/Virt/Productivity/Cruisers","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:46:14Z","updated_at":"2014-10-20T20:46:14Z"},{"id":6,"name":"Downstream","title":"Raleigh/Virt/Productivity/Cruisers/Downstream","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4/5","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:46:30Z","updated_at":"2014-10-20T20:46:30Z"},{"id":10,"name":"brewmaster","title":"Raleigh/Virt/Productivity/brewmaster","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-11-17T21:26:08Z","updated_at":"2014-11-17T21:26:08Z"}]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hosts?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":45,"subtotal":45,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[{"name":"abc.example.com","id":29,"ip":"192.168.1.199","environment_id":1,"environment_name":"production","last_report":null,"mac":"00:00:00:00:f6:6c","realm_id":null,"realm_name":null,"sp_mac":"00:00:00:00:f6:6e","sp_ip":"192.168.1.210","sp_name":"","domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":3,"operatingsystem_name":"RHEL - Server 6.6","subnet_id":2,"subnet_name":"Mahwah","sp_subnet_id":null,"ptable_id":7,"ptable_name":"Kickstart - default","medium_id":7,"medium_name":"RHEL Server mirror","build":true,"comment":"","disk":"","installed_at":null,"model_id":null,"model_name":null,"hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"abc.example.com","image_id":null,"image_name":null,"created_at":"2014-11-13T20:40:16Z","updated_at":"2015-02-11T03:53:26Z","last_compile":null,"last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"bdbaremetal.example.com","id":25,"ip":null,"environment_id":1,"environment_name":"production","last_report":null,"mac":"00:00:00:00:84:fc","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":3,"operatingsystem_name":"RHEL - Server 6.6","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":7,"ptable_name":"Kickstart - default","medium_id":7,"medium_name":"RHEL Server mirror","build":true,"comment":"","disk":"","installed_at":null,"model_id":2,"model_name":"PowerEdge - R420","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"bdbaremetal.example.com","image_id":null,"image_name":null,"created_at":"2014-11-07T20:41:21Z","updated_at":"2014-11-12T15:46:07Z","last_compile":null,"last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"brewery53.example.com","id":26,"ip":"192.168.1.206","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:19:58Z","mac":"00:00:00:00:bb:d9","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":16,"hostgroup_name":"Raleigh/Virt/Productivity/Brewery","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"brewery53.example.com","image_id":null,"image_name":null,"created_at":"2014-11-10T16:30:41Z","updated_at":"2015-03-13T02:20:15Z","last_compile":"2015-03-13T02:20:05Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"brewery54.example.com","id":27,"ip":"192.168.1.207","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:28:15Z","mac":"00:00:00:00:bb:6e","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":16,"hostgroup_name":"Raleigh/Virt/Productivity/Brewery","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"brewery54.example.com","image_id":null,"image_name":null,"created_at":"2014-11-10T16:59:01Z","updated_at":"2015-03-13T02:28:31Z","last_compile":"2015-03-13T02:28:22Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"brewmaster.example.com","id":32,"ip":"192.168.1.208","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:33:40Z","mac":"00:00:00:00:bb:65","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":10,"hostgroup_name":"Raleigh/Virt/Productivity/brewmaster","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"brewmaster.example.com","image_id":null,"image_name":null,"created_at":"2014-11-17T21:25:55Z","updated_at":"2015-03-13T02:34:07Z","last_compile":"2015-03-13T02:33:48Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-52x-automation","id":14,"ip":"192.168.1.222","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:28:33Z","mac":"00:00:00:00:bb:68","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-automation.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:54:18Z","updated_at":"2015-03-13T02:29:01Z","last_compile":"2015-03-13T02:28:38Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-52x-brakeman","id":16,"ip":"192.168.1.224","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:28:53Z","mac":"00:00:00:00:bb:67","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-brakeman.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:54:31Z","updated_at":"2015-03-13T02:29:16Z","last_compile":"2015-03-13T02:28:58Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-52x-lib","id":12,"ip":"192.168.1.220","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:33:54Z","mac":"00:00:00:00:bb:69","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-lib.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:53:38Z","updated_at":"2015-03-13T02:34:17Z","last_compile":"2015-03-13T02:33:58Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-52x-metrics","id":15,"ip":"192.168.1.223","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:33:52Z","mac":"00:00:00:00:bb:cb","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-metrics.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:54:18Z","updated_at":"2015-03-13T02:34:16Z","last_compile":"2015-03-13T02:33:57Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-52x-migrations","id":11,"ip":"192.168.1.219","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:29:23Z","mac":"00:00:00:00:bb:e1","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-migrations.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:51:37Z","updated_at":"2015-03-13T02:29:46Z","last_compile":"2015-03-13T02:29:28Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-52x-replication","id":13,"ip":"192.168.1.221","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:28:57Z","mac":"00:00:00:00:bb:cc","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-replication.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:53:38Z","updated_at":"2015-03-13T02:29:20Z","last_compile":"2015-03-13T02:29:02Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-52x-vmdb","id":10,"ip":"192.168.1.218","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:29:16Z","mac":"00:00:00:00:bb:cf","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-vmdb.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:51:24Z","updated_at":"2015-03-13T02:29:40Z","last_compile":"2015-03-13T02:29:20Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-53z-automation","id":24,"ip":"192.168.1.229","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:33:57Z","mac":"00:00:00:00:bb:cd","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-automation.example.com","image_id":null,"image_name":null,"created_at":"2014-10-27T19:10:23Z","updated_at":"2015-03-13T02:34:22Z","last_compile":"2015-03-13T02:34:05Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-53z-brakeman.example.com","id":23,"ip":"192.168.1.230","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:29:05Z","mac":"00:00:00:00:bb:62","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-brakeman.example.com","image_id":null,"image_name":null,"created_at":"2014-10-27T19:00:50Z","updated_at":"2015-03-13T02:29:28Z","last_compile":"2015-03-13T02:29:10Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-53z-lib.example.com","id":21,"ip":"192.168.1.227","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:33:46Z","mac":"00:00:00:00:bb:66","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-lib.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T21:13:01Z","updated_at":"2015-03-13T02:34:08Z","last_compile":"2015-03-13T02:33:50Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-53z-metrics.example.com","id":22,"ip":"192.168.1.231","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:29:22Z","mac":"00:00:00:00:bb:ca","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-metrics.example.com","image_id":null,"image_name":null,"created_at":"2014-10-27T18:55:46Z","updated_at":"2015-03-13T02:29:42Z","last_compile":"2015-03-13T02:29:27Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-53z-migrations","id":20,"ip":"192.168.1.226","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:33:56Z","mac":"00:00:00:00:bb:d5","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-migrations.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T20:45:12Z","updated_at":"2015-03-13T02:34:17Z","last_compile":"2015-03-13T02:34:00Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-53z-replication","id":7,"ip":"192.168.1.228","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:33:50Z","mac":"00:00:00:00:bb:d6","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-replication.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:46:45Z","updated_at":"2015-03-13T02:34:12Z","last_compile":"2015-03-13T02:33:54Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-53z-vmdb","id":18,"ip":"192.168.1.225","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:29:15Z","mac":"00:00:00:00:bb:d8","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-vmdb.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T20:39:38Z","updated_at":"2015-03-13T02:29:40Z","last_compile":"2015-03-13T02:29:21Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-upstream-automation","id":9,"ip":"192.168.1.216","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:34:41Z","mac":"00:00:00:00:bb:5c","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-automation.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:48:34Z","updated_at":"2015-03-13T02:35:10Z","last_compile":"2015-03-13T02:34:49Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-upstream-brakeman","id":3,"ip":"192.168.1.217","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:37:57Z","mac":"00:00:00:00:bb:e2","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-brakeman.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:45:42Z","updated_at":"2015-03-13T02:38:21Z","last_compile":"2015-03-13T02:38:03Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-upstream-lib.example.com","id":8,"ip":"192.168.1.212","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:35:29Z","mac":"00:00:00:00:bb:5d","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-lib.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:48:13Z","updated_at":"2015-03-13T02:35:49Z","last_compile":"2015-03-13T02:35:35Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-upstream-metrics.example.com","id":6,"ip":"192.168.1.215","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:32:11Z","mac":"00:00:00:00:bb:e0","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-metrics.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:46:06Z","updated_at":"2015-03-13T02:32:36Z","last_compile":"2015-03-13T02:32:17Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-upstream-migrations","id":19,"ip":"192.168.1.213","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:37:00Z","mac":"00:00:00:00:bb:5e","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-migrations.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T20:44:22Z","updated_at":"2015-03-13T02:37:25Z","last_compile":"2015-03-13T02:37:08Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-upstream-replication.example.com","id":5,"ip":"192.168.1.214","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:35:18Z","mac":"00:00:00:00:bb:e7","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-replication.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:46:04Z","updated_at":"2015-03-13T02:35:44Z","last_compile":"2015-03-13T02:35:25Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cc-pg-upstream-vmdb","id":4,"ip":"192.168.1.211","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:16:38Z","mac":"00:00:00:00:bb:e4","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-vmdb.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:45:42Z","updated_at":"2015-03-13T02:17:02Z","last_compile":"2015-03-13T02:16:45Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"ccmonitor","id":17,"ip":"192.168.1.201","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:34:09Z","mac":"00:00:00:00:bb:e8","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":7,"hostgroup_name":"Raleigh/Virt/Productivity/CcMonitor","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"ccmonitor.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:57:35Z","updated_at":"2015-03-13T02:34:22Z","last_compile":"2015-03-13T02:34:14Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cfmebot.example.com","id":30,"ip":"192.168.1.203","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:23:04Z","mac":"00:00:00:00:bb:5f","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":9,"hostgroup_name":"Raleigh/Virt/Productivity/CfmeBot","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cfmebot.example.com","image_id":null,"image_name":null,"created_at":"2014-11-17T16:00:15Z","updated_at":"2015-03-13T02:23:27Z","last_compile":"2015-03-13T02:23:11Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"cfmebz.example.com","id":37,"ip":"192.168.1.204","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:34:22Z","mac":"00:00:00:00:bb:e6","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":12,"hostgroup_name":"Raleigh/Virt/Productivity/CfmeBz","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cfmebz.example.com","image_id":null,"image_name":null,"created_at":"2015-01-07T18:47:25Z","updated_at":"2015-03-13T02:34:42Z","last_compile":"2015-03-13T02:34:29Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":2,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"dell-r420-01.example.com","id":33,"ip":"192.168.1.1","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:34:43Z","mac":"00:00:00:00:c9:03","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":2,"model_name":"PowerEdge - R420","hostgroup_id":2,"hostgroup_name":"Raleigh/Metal","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"dell-r420-01.example.com","image_id":null,"image_name":null,"created_at":"2015-01-07T17:29:07Z","updated_at":"2015-03-13T02:34:58Z","last_compile":"2015-03-13T02:34:50Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"dell-r420-02.example.com","id":34,"ip":"192.168.1.4","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:33:31Z","mac":"00:00:00:00:dc:cc","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":2,"model_name":"PowerEdge - R420","hostgroup_id":2,"hostgroup_name":"Raleigh/Metal","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"dell-r420-02.example.com","image_id":null,"image_name":null,"created_at":"2015-01-07T17:40:08Z","updated_at":"2015-03-13T02:33:45Z","last_compile":"2015-03-13T02:33:38Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"dell-r420-03.example.com","id":2,"ip":"192.168.1.2","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:26:59Z","mac":"00:00:00:00:4e:bf","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":2,"model_name":"PowerEdge - R420","hostgroup_id":2,"hostgroup_name":"Raleigh/Metal","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"dell-r420-03.example.com","image_id":null,"image_name":null,"created_at":"2014-08-14T20:25:22Z","updated_at":"2015-03-13T02:27:13Z","last_compile":"2015-03-13T02:27:05Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"dell-r420-04.example.com","id":41,"ip":"192.168.1.104","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:40:11Z","mac":"00:00:00:00:15:10","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":2,"model_name":"PowerEdge - R420","hostgroup_id":15,"hostgroup_name":"Raleigh/Metal/RHEV Host","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"dell-r420-04.example.com","image_id":null,"image_name":null,"created_at":"2015-01-20T21:33:48Z","updated_at":"2015-03-13T02:40:28Z","last_compile":"2015-03-13T02:40:20Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"dell-r420-05.example.com","id":48,"ip":"192.168.1.15","environment_id":1,"environment_name":"production","last_report":"2015-03-12T22:27:05Z","mac":"00:00:00:00:cb:21","realm_id":null,"realm_name":null,"sp_mac":"00:00:00:00:cb:23","sp_ip":"192.168.1.93","sp_name":"dell-r420-05-mm","domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":5,"operatingsystem_name":"RedHat - 6.6","subnet_id":1,"subnet_name":"example.example.com","sp_subnet_id":1,"ptable_id":7,"ptable_name":"Kickstart - default","medium_id":7,"medium_name":"RHEL Server mirror","build":false,"comment":"","disk":"","installed_at":"2015-02-12T21:37:44Z","model_id":2,"model_name":"PowerEdge - R420","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"dell-r420-05.example.com","image_id":null,"image_name":null,"created_at":"2015-02-12T20:05:46Z","updated_at":"2015-03-13T02:36:23Z","last_compile":"2015-03-13T02:36:21Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":8192,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"foreman1.example.com","id":1,"ip":"192.168.1.102","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:15:30Z","mac":"00:00:00:00:bb:ce","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":7,"ptable_name":"Kickstart - default","medium_id":null,"medium_name":null,"build":false,"comment":"","disk":"","installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":11,"hostgroup_name":"Raleigh/Virt/Foreman","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"foreman1.example.com","image_id":null,"image_name":null,"created_at":"2014-07-24T22:25:26Z","updated_at":"2015-03-13T02:45:38Z","last_compile":"2015-03-13T02:45:37Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"gitlab.example.com","id":31,"ip":"192.168.1.103","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:28:05Z","mac":"00:00:00:00:bb:5a","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":4,"hostgroup_name":"Raleigh/Virt/Productivity","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"gitlab.example.com","image_id":null,"image_name":null,"created_at":"2014-11-17T17:28:27Z","updated_at":"2015-03-13T02:28:24Z","last_compile":"2015-03-13T02:28:12Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"ibm-x3550m4-01.example.com","id":35,"ip":"192.168.1.105","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:32:30Z","mac":"00:00:00:00:fe:b4","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":3,"model_name":"IBM - System x3550 M4 Server -[7914AC1]-","hostgroup_id":2,"hostgroup_name":"Raleigh/Metal","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"ibm-x3550m4-01.example.com","image_id":null,"image_name":null,"created_at":"2015-01-07T17:47:13Z","updated_at":"2015-03-13T02:32:40Z","last_compile":"2015-03-13T02:32:35Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"providerrefreshspecbaremetalchild.example.com","id":49,"ip":null,"environment_id":1,"environment_name":"production","last_report":null,"mac":"00:00:00:00:89:ab","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":4,"operatingsystem_name":"OS - 1.2","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":12,"ptable_name":"ProviderRefreshSpec-PartitionTable","medium_id":8,"medium_name":"ProviderRefreshSpec-Media","build":true,"comment":"","disk":"","installed_at":null,"model_id":null,"model_name":null,"hostgroup_id":14,"hostgroup_name":"ProviderRefreshSpec-HostGroup/ProviderRefreshSpec-ChildHostGroup","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"providerrefreshspecbaremetalchild.example.com","image_id":null,"image_name":null,"created_at":"2015-03-12T22:01:47Z","updated_at":"2015-03-12T22:01:47Z","last_compile":null,"last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":6,"organization_name":"Infra/ProviderRefreshSpecOrganization/ProviderRefreshSpecChildOrganization","location_id":5,"location_name":"ProviderRefreshSpec-Location/ProviderRefreshSpec-ChildLocation"},{"name":"pxe.example.com","id":39,"ip":null,"environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:46:01Z","mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":null,"model_name":null,"hostgroup_id":3,"hostgroup_name":"Raleigh/Virt","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"pxe.example.com","image_id":null,"image_name":null,"created_at":"2015-01-19T17:29:02Z","updated_at":"2015-03-13T02:46:13Z","last_compile":"2015-03-13T02:46:07Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"rhev30.example.com","id":42,"ip":null,"environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:44:19Z","mac":"","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"model_name":null,"hostgroup_id":3,"hostgroup_name":"Raleigh/Virt","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"rhev30.example.com","image_id":null,"image_name":null,"created_at":"2015-01-27T16:17:29Z","updated_at":"2015-03-13T02:44:33Z","last_compile":"2015-03-13T02:44:26Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"rhev31.example.com","id":43,"ip":null,"environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:44:23Z","mac":"","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"model_name":null,"hostgroup_id":3,"hostgroup_name":"Raleigh/Virt","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"rhev31.example.com","image_id":null,"image_name":null,"created_at":"2015-01-27T16:18:01Z","updated_at":"2015-03-13T02:44:39Z","last_compile":"2015-03-13T02:44:30Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"rhev32.example.com","id":44,"ip":null,"environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:44:34Z","mac":"","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"model_name":null,"hostgroup_id":3,"hostgroup_name":"Raleigh/Virt","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"rhev32.example.com","image_id":null,"image_name":null,"created_at":"2015-01-27T16:18:30Z","updated_at":"2015-03-13T02:44:49Z","last_compile":"2015-03-13T02:44:41Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"rhev33.example.com","id":36,"ip":"192.168.1.101","environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:37:00Z","mac":"00:00:00:00:1f:a7","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":3,"hostgroup_name":"Raleigh/Virt","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"rhev33.example.com","image_id":null,"image_name":null,"created_at":"2015-01-07T17:54:51Z","updated_at":"2015-03-13T02:37:15Z","last_compile":"2015-03-13T02:37:07Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"rhev34.example.com","id":45,"ip":null,"environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:44:38Z","mac":"","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"model_name":null,"hostgroup_id":3,"hostgroup_name":"Raleigh/Virt","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"rhev34.example.com","image_id":null,"image_name":null,"created_at":"2015-01-27T16:19:03Z","updated_at":"2015-03-13T02:44:51Z","last_compile":"2015-03-13T02:44:45Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"},{"name":"rhev35.example.com","id":46,"ip":null,"environment_id":1,"environment_name":"production","last_report":"2015-03-13T02:44:36Z","mac":"","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"model_name":null,"hostgroup_id":3,"hostgroup_name":"Raleigh/Virt","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"rhev35.example.com","image_id":null,"image_name":null,"created_at":"2015-01-27T16:19:22Z","updated_at":"2015-03-13T02:44:50Z","last_compile":"2015-03-13T02:44:43Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0,"organization_id":2,"organization_name":"Infra","location_id":1,"location_name":"Raleigh"}]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/locations?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":3,"subtotal":3,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[{"id":4,"name":"ProviderRefreshSpec-Location","title":"ProviderRefreshSpec-Location","created_at":"2015-02-25T02:03:48Z","updated_at":"2015-02-25T02:03:48Z"},{"id":5,"name":"ProviderRefreshSpec-ChildLocation","title":"ProviderRefreshSpec-Location/ProviderRefreshSpec-ChildLocation","created_at":"2015-02-26T20:21:48Z","updated_at":"2015-02-26T20:21:49Z"},{"id":1,"name":"Raleigh","title":"Raleigh","created_at":"2015-02-24T19:27:43Z","updated_at":"2015-02-25T02:02:59Z"}]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/media?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":8,"subtotal":8,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[{"id":1,"name":"CentOS - mirror","path":"http://mirror.centos.org/centos/$major.$minor/os/$arch","os_family":"Redhat","created_at":"2014-07-24T22:22:05Z","updated_at":"2014-07-24T22:22:05Z"},{"id":2,"name":"Debian - mirror","path":"http://ftp.debian.org/debian/","os_family":"Debian","created_at":"2014-07-24T22:22:05Z","updated_at":"2014-07-24T22:22:05Z"},{"id":3,"name":"Fedora - mirror","path":"http://dl.fedoraproject.org/pub/fedora/linux/releases/$major/Fedora/$arch/os/","os_family":"Redhat","created_at":"2014-07-24T22:22:05Z","updated_at":"2014-07-24T22:22:05Z"},{"id":4,"name":"FreeBSD - mirror","path":"http://ftp.freebsd.org/pub/FreeBSD/releases/$arch/$major.$minor-RELEASE/","os_family":"Freebsd","created_at":"2014-07-24T22:22:05Z","updated_at":"2014-07-24T22:22:05Z"},{"id":5,"name":"OpenSUSE - mirror","path":"http://download.opensuse.org/distribution/$major.$minor/repo/oss","os_family":"Suse","created_at":"2014-07-24T22:22:05Z","updated_at":"2014-07-24T22:22:05Z"},{"id":8,"name":"ProviderRefreshSpec-Media","path":"http://example.com/refreshspec","os_family":null,"created_at":"2015-01-15T19:49:04Z","updated_at":"2015-01-15T19:49:04Z"},{"id":7,"name":"RHEL - Server mirror","path":"http://download.eng.rdu2.redhat.com/released/RHEL-$major/$major.$minor/Server/$arch/os","os_family":"Redhat","created_at":"2014-11-07T19:20:23Z","updated_at":"2015-02-12T20:17:19Z"},{"id":6,"name":"Ubuntu - mirror","path":"http://archive.ubuntu.com/ubuntu/","os_family":"Debian","created_at":"2014-07-24T22:22:05Z","updated_at":"2014-07-24T22:22:05Z"}]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/operatingsystems/1 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":1,"name":"RedHat","fullname":"RedHat 6.5","description":"RHEL - Server 6.5","major":"6","minor":"5","family":"Redhat","release_name":"","created_at":"2014-07-24T22:55:07Z","updated_at":"2014-11-07T19:12:03Z","parameters":[],"media":[{"id":1,"name":"CentOS - mirror"},{"id":3,"name":"Fedora mirror"},{"id":7,"name":"RHEL Server mirror"}],"architectures":[{"name":"x86_64","id":1}],"ptables":[{"name":"Kickstart - default","id":7}],"config_templates":[{"id":38,"name":"Kickstart RHEL cfme","template_kind_id":4,"template_kind_name":"provision"},{"id":17,"name":"Kickstart - default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"Kickstart - default iPXE","template_kind_id":3,"template_kind_name":"iPXE"}],"os_default_templates":[{"id":2,"config_template_id":38,"config_template_name":"Kickstart - RHEL cfme","template_kind_id":4,"template_kind_name":"provision"},{"id":3,"config_template_id":17,"config_template_name":"Kickstart - default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":4,"config_template_id":18,"config_template_name":"Kickstart - default iPXE","template_kind_id":3,"template_kind_name":"iPXE"}],"images":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/operatingsystems/2 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":2,"name":"RedHat","fullname":"RedHat 6.4","description":"RHEL - Server 6.4","major":"6","minor":"4","family":"Redhat","release_name":null,"created_at":"2014-10-20T19:46:10Z","updated_at":"2014-10-20T19:46:10Z","parameters":[],"media":[],"architectures":[],"ptables":[],"config_templates":[],"os_default_templates":[],"images":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/operatingsystems/3 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":3,"name":"RHELServer","fullname":"RHELServer 6.6","description":"RHEL - Server 6.6","major":"6","minor":"6","family":"Redhat","release_name":"","created_at":"2014-11-07T19:21:30Z","updated_at":"2014-12-11T16:42:01Z","parameters":[],"media":[{"id":7,"name":"RHEL - Server mirror"}],"architectures":[{"name":"x86_64","id":1}],"ptables":[{"name":"Kickstart - default","id":7}],"config_templates":[{"id":38,"name":"Kickstart RHEL cfme","template_kind_id":4,"template_kind_name":"provision"},{"id":15,"name":"Kickstart - RHEL default","template_kind_id":4,"template_kind_name":"provision"},{"id":18,"name":"Kickstart - default iPXE","template_kind_id":3,"template_kind_name":"iPXE"}],"os_default_templates":[{"id":1,"config_template_id":38,"config_template_name":"Kickstart - RHEL cfme","template_kind_id":4,"template_kind_name":"provision"},{"id":5,"config_template_id":18,"config_template_name":"Kickstart - default iPXE","template_kind_id":3,"template_kind_name":"iPXE"}],"images":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/operatingsystems/4 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":4,"name":"ProviderRefreshSpec-OperatingSystem","fullname":"ProviderRefreshSpec-OperatingSystem - 1.2","description":"OS 1.2","major":"1","minor":"2","family":null,"release_name":"","created_at":"2015-01-15T19:44:25Z","updated_at":"2015-01-15T19:44:25Z","parameters":[],"media":[{"id":8,"name":"ProviderRefreshSpec-Media"}],"architectures":[{"name":"x86_64","id":1}],"ptables":[{"name":"ProviderRefreshSpec-PartitionTable","id":12}],"config_templates":[],"os_default_templates":[],"images":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/operatingsystems/5 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":5,"name":"RedHat","fullname":"RedHat 6.6","description":null,"major":"6","minor":"6","family":"Redhat","release_name":null,"created_at":"2015-01-19T17:29:07Z","updated_at":"2015-01-19T17:29:07Z","parameters":[],"media":[],"architectures":[],"ptables":[],"config_templates":[],"os_default_templates":[],"images":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/operatingsystems?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":5,"subtotal":5,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[{"id":4,"name":"ProviderRefreshSpec-OperatingSystem","fullname":"ProviderRefreshSpec-OperatingSystem - 1.2","description":"OS 1.2","major":"1","minor":"2","family":null,"release_name":"","created_at":"2015-01-15T19:44:25Z","updated_at":"2015-01-15T19:44:25Z"},{"id":3,"name":"RHELServer","fullname":"RHELServer - 6.6","description":"RHEL Server 6.6","major":"6","minor":"6","family":"Redhat","release_name":"","created_at":"2014-11-07T19:21:30Z","updated_at":"2014-12-11T16:42:01Z"},{"id":2,"name":"RedHat","fullname":"RedHat - 6.4","description":"RHEL Server 6.4","major":"6","minor":"4","family":"Redhat","release_name":null,"created_at":"2014-10-20T19:46:10Z","updated_at":"2014-10-20T19:46:10Z"},{"id":1,"name":"RedHat","fullname":"RedHat - 6.5","description":"RHEL Server 6.5","major":"6","minor":"5","family":"Redhat","release_name":"","created_at":"2014-07-24T22:55:07Z","updated_at":"2014-11-07T19:12:03Z"},{"id":5,"name":"RedHat","fullname":"RedHat - 6.6","description":null,"major":"6","minor":"6","family":"Redhat","release_name":null,"created_at":"2015-01-19T17:29:07Z","updated_at":"2015-01-19T17:29:07Z"}]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/organizations?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":3,"subtotal":3,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[{"id":2,"name":"Infra","title":"Infra","created_at":"2015-02-24T19:28:42Z","updated_at":"2015-02-24T19:28:42Z"},{"id":3,"name":"ProviderRefreshSpecOrganization","title":"Infra/ProviderRefreshSpecOrganization","created_at":"2015-02-24T19:32:10Z","updated_at":"2015-02-26T21:04:08Z"},{"id":6,"name":"ProviderRefreshSpecChildOrganization","title":"Infra/ProviderRefreshSpecOrganization/ProviderRefreshSpecChildOrganization","created_at":"2015-02-26T20:22:15Z","updated_at":"2015-02-26T20:22:15Z"}]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/ptables?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":11,"subtotal":11,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[{"name":"AutoYaST - LVM","id":3,"os_family":"Suse","created_at":"2014-07-24T22:22:04Z","updated_at":"2014-07-24T22:22:04Z"},{"name":"AutoYaST - entire SCSI disk","id":1,"os_family":"Suse","created_at":"2014-07-24T22:22:04Z","updated_at":"2014-07-24T22:22:04Z"},{"name":"AutoYaST - entire virtual disk","id":2,"os_family":"Suse","created_at":"2014-07-24T22:22:04Z","updated_at":"2014-07-24T22:22:04Z"},{"name":"FreeBSD","id":4,"os_family":"Freebsd","created_at":"2014-07-24T22:22:04Z","updated_at":"2014-07-24T22:22:04Z"},{"name":"Jumpstart - default","id":5,"os_family":"Solaris","created_at":"2014-07-24T22:22:04Z","updated_at":"2014-07-24T22:22:04Z"},{"name":"Jumpstart - mirrored","id":6,"os_family":"Solaris","created_at":"2014-07-24T22:22:04Z","updated_at":"2014-07-24T22:22:04Z"},{"name":"Junos - default fake","id":10,"os_family":"Junos","created_at":"2014-07-24T22:22:05Z","updated_at":"2014-07-24T22:22:05Z"},{"name":"Kickstart - default","id":7,"os_family":"Redhat","created_at":"2014-07-24T22:22:04Z","updated_at":"2014-07-24T22:22:04Z"},{"name":"Preseed - custom LVM","id":9,"os_family":"Debian","created_at":"2014-07-24T22:22:05Z","updated_at":"2014-07-24T22:22:05Z"},{"name":"Preseed - default","id":8,"os_family":"Debian","created_at":"2014-07-24T22:22:05Z","updated_at":"2014-07-24T22:22:05Z"},{"name":"ProviderRefreshSpec-PartitionTable","id":12,"os_family":null,"created_at":"2015-01-15T19:48:08Z","updated_at":"2015-01-15T19:48:08Z"}]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/architectures?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - User-Agent: - - rest-client/2.0.0.alpha (darwin13.4.0 x86_64) ruby/2.0.0p576 - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 28 Mar 2015 00:51:53 GMT - Server: - - Apache/2.2.15 (Red Hat) - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - X-Ua-Compatible: - - IE=Edge,chrome=1 - Etag: - - '"003e1284dfdc8a308eebcc15eefd1fec"' - Cache-Control: - - must-revalidate, private, max-age=0 - X-Request-Id: - - e633b78dc3bd63dc92560cedfff9a962 - X-Runtime: - - '0.051185' - X-Rack-Cache: - - miss - X-Powered-By: - - Phusion Passenger 4.0.18 - Set-Cookie: - - _session_id=d8c95bb361a96d4bfdd19886118bdc48; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: | - { - "total": 2, - "subtotal": 2, - "page": 1, - "per_page": 50, - "search": null, - "sort": { - "by": null, - "order": null - }, - "results": [{"name":"i386","id":2,"created_at":"2014-07-24T22:22:02Z","updated_at":"2014-07-24T22:22:02Z"},{"name":"x86_64","id":1,"created_at":"2014-07-24T22:22:02Z","updated_at":"2014-07-24T22:22:02Z"}] - } - http_version: - recorded_at: Sat, 28 Mar 2015 00:51:53 GMT -- request: - method: get - uri: http://example.com/api/compute_profiles?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - User-Agent: - - rest-client/2.0.0.alpha (darwin13.4.0 x86_64) ruby/2.0.0p576 - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 28 Mar 2015 00:51:53 GMT - Server: - - Apache/2.2.15 (Red Hat) - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - X-Ua-Compatible: - - IE=Edge,chrome=1 - Etag: - - '"099cfdba897001a22c6e2ea1986790ad"' - Cache-Control: - - must-revalidate, private, max-age=0 - X-Request-Id: - - 87b175a81bb9e6aee5f6bd6c3c69996a - X-Runtime: - - '0.047567' - X-Rack-Cache: - - miss - X-Powered-By: - - Phusion Passenger 4.0.18 - Set-Cookie: - - _session_id=181dcaac292f982dfbf4afa41c835aa6; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: | - { - "total": 3, - "subtotal": 3, - "page": 1, - "per_page": 50, - "search": null, - "sort": { - "by": null, - "order": null - }, - "results": [{"id":1,"name":"1-Small","created_at":"2014-07-24T22:22:13Z","updated_at":"2014-07-24T22:22:13Z"},{"id":2,"name":"2-Medium","created_at":"2014-07-24T22:22:14Z","updated_at":"2014-07-24T22:22:14Z"},{"id":3,"name":"3-Large","created_at":"2014-07-24T22:22:14Z","updated_at":"2014-07-24T22:22:14Z"}] - } - http_version: - recorded_at: Sat, 28 Mar 2015 00:51:53 GMT -- request: - method: get - uri: http://example.com/api/domains?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - User-Agent: - - rest-client/2.0.0.alpha (darwin13.4.0 x86_64) ruby/2.0.0p576 - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 28 Mar 2015 00:51:53 GMT - Server: - - Apache/2.2.15 (Red Hat) - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - X-Ua-Compatible: - - IE=Edge,chrome=1 - Etag: - - '"372c0effc7351897d690cb95f7ec2d08"' - Cache-Control: - - must-revalidate, private, max-age=0 - X-Request-Id: - - 9a7999f5eae6b890b806ca4e58f8deb0 - X-Runtime: - - '0.052174' - X-Rack-Cache: - - miss - X-Powered-By: - - Phusion Passenger 4.0.18 - Set-Cookie: - - _session_id=da78593db17f6da639f06abf62f87c30; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: | - { - "total": 1, - "subtotal": 1, - "page": 1, - "per_page": 50, - "search": null, - "sort": { - "by": null, - "order": null - }, - "results": [{"id":1,"name":"cloudforms.lab.eng.rdu2.redhat.com","fullname":"","dns_id":null,"created_at":"2014-07-24T22:55:07Z","updated_at":"2015-03-12T21:32:56Z"}] - } - http_version: - recorded_at: Sat, 28 Mar 2015 00:51:53 GMT -- request: - method: get - uri: http://example.com/api/environments?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - User-Agent: - - rest-client/2.0.0.alpha (darwin13.4.0 x86_64) ruby/2.0.0p576 - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 28 Mar 2015 00:51:53 GMT - Server: - - Apache/2.2.15 (Red Hat) - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - X-Ua-Compatible: - - IE=Edge,chrome=1 - Etag: - - '"07a5283657271f40cab8ce25030b2930"' - Cache-Control: - - must-revalidate, private, max-age=0 - X-Request-Id: - - 5ec4434968d25b1058d3e6e361828984 - X-Runtime: - - '0.301430' - X-Rack-Cache: - - miss - X-Powered-By: - - Phusion Passenger 4.0.18 - Set-Cookie: - - _session_id=1d37af36da315fe06a8f85a165c85b9e; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: | - { - "total": 1, - "subtotal": 1, - "page": 1, - "per_page": 50, - "search": null, - "sort": { - "by": null, - "order": null - }, - "results": [{"name":"production","id":1,"created_at":"2014-07-24T22:55:07Z","updated_at":"2014-07-24T22:55:07Z"}] - } - http_version: - recorded_at: Sat, 28 Mar 2015 00:51:54 GMT -- request: - method: get - uri: http://example.com/api/realms?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - User-Agent: - - rest-client/2.0.0.alpha (darwin13.4.0 x86_64) ruby/2.0.0p576 - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 28 Mar 2015 00:51:54 GMT - Server: - - Apache/2.2.15 (Red Hat) - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - X-Ua-Compatible: - - IE=Edge,chrome=1 - Etag: - - '"5024dc83c7bd9ec1a0ff1308c4839a2f"' - Cache-Control: - - must-revalidate, private, max-age=0 - X-Request-Id: - - 1cab09c36ca56d800948340ed10200c8 - X-Runtime: - - '0.085055' - X-Rack-Cache: - - miss - X-Powered-By: - - Phusion Passenger 4.0.18 - Set-Cookie: - - _session_id=77813fdc7b8124725d691e0cced16e08; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: | - { - "total": 0, - "subtotal": 0, - "page": 1, - "per_page": 50, - "search": null, - "sort": { - "by": null, - "order": null - }, - "results": [] - } - http_version: - recorded_at: Sat, 28 Mar 2015 00:51:54 GMT -recorded_with: VCR 2.9.3 diff --git a/spec/vcr_cassettes/manageiq/providers/foreman/configuration_manager/refresher_api_v2.yml b/spec/vcr_cassettes/manageiq/providers/foreman/configuration_manager/refresher_api_v2.yml deleted file mode 100644 index d12c91c2824..00000000000 --- a/spec/vcr_cassettes/manageiq/providers/foreman/configuration_manager/refresher_api_v2.yml +++ /dev/null @@ -1,1035 +0,0 @@ ---- -http_interactions: -- request: - method: get - uri: http://example.com/api/architectures?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":2,"subtotal":2,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[{"name":"i386","id":2,"created_at":"2014-07-24T22:22:02Z","updated_at":"2014-07-24T22:22:02Z"},{"name":"x86_64","id":1,"created_at":"2014-07-24T22:22:02Z","updated_at":"2014-07-24T22:22:02Z"}]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/compute_profiles?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":3,"subtotal":3,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[{"id":1,"name":"1-Small","created_at":"2014-07-24T22:22:13Z","updated_at":"2014-07-24T22:22:13Z"},{"id":2,"name":"2-Medium","created_at":"2014-07-24T22:22:14Z","updated_at":"2014-07-24T22:22:14Z"},{"id":3,"name":"3-Large","created_at":"2014-07-24T22:22:14Z","updated_at":"2014-07-24T22:22:14Z"}]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/domains?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":1,"subtotal":1,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[{"id":1,"name":"cloudforms.example.com","fullname":"","dns_id":null,"created_at":"2014-07-24T22:55:07Z","updated_at":"2015-03-12T21:32:56Z"}]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/environments?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":1,"subtotal":1,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[{"name":"production","id":1,"created_at":"2014-07-24T22:55:07Z","updated_at":"2014-07-24T22:55:07Z"}]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hostgroups?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":14,"subtotal":14,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[{"id":13,"name":"ProviderRefreshSpec-HostGroup","title":"ProviderRefreshSpec-HostGroup","subnet_id":null,"subnet_name":null,"operatingsystem_id":4,"operatingsystem_name":"OS - 1.2","domain_id":null,"domain_name":null,"environment_id":1,"environment_name":"production","compute_profile_id":null,"compute_profile_name":null,"ancestry":null,"puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":8,"medium_name":"ProviderRefreshSpec-Media","architecture_id":1,"architecture_name":"x86_64","realm_id":null,"realm_name":null,"created_at":"2015-01-15T19:42:50Z","updated_at":"2015-01-22T16:34:33Z"},{"id":14,"name":"ProviderRefreshSpec-ChildHostGroup","title":"ProviderRefreshSpec-HostGroup/ProviderRefreshSpec-ChildHostGroup","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"13","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":12,"ptable_name":"ProviderRefreshSpec-PartitionTable","medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2015-01-15T19:43:14Z","updated_at":"2015-01-22T16:35:24Z"},{"id":1,"name":"Raleigh","title":"Raleigh","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":1,"domain_name":"example.com","environment_id":1,"environment_name":"production","compute_profile_id":null,"compute_profile_name":null,"ancestry":null,"puppet_proxy_id":1,"puppet_ca_proxy_id":1,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":1,"architecture_name":"x86_64","realm_id":null,"realm_name":null,"created_at":"2014-08-14T20:29:03Z","updated_at":"2014-08-14T20:29:03Z"},{"id":2,"name":"Metal","title":"Raleigh/Metal","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-08-14T20:30:30Z","updated_at":"2014-08-14T20:30:30Z"},{"id":15,"name":"RHEV - Host","title":"Raleigh/Metal/RHEV Host","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/2","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2015-01-19T21:04:11Z","updated_at":"2015-01-19T21:04:11Z"},{"id":3,"name":"Virt","title":"Raleigh/Virt","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:25:24Z","updated_at":"2014-10-20T20:25:24Z"},{"id":11,"name":"Foreman","title":"Raleigh/Virt/Foreman","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-11-26T19:08:50Z","updated_at":"2014-11-26T19:08:50Z"},{"id":4,"name":"Productivity","title":"Raleigh/Virt/Productivity","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:45:56Z","updated_at":"2014-10-20T20:45:56Z"},{"id":7,"name":"CcMonitor","title":"Raleigh/Virt/Productivity/CcMonitor","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:51:44Z","updated_at":"2014-10-20T20:51:44Z"},{"id":9,"name":"CfmeBot","title":"Raleigh/Virt/Productivity/CfmeBot","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-11-17T15:25:27Z","updated_at":"2014-11-17T15:25:27Z"},{"id":12,"name":"CfmeBz","title":"Raleigh/Virt/Productivity/CfmeBz","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2015-01-07T18:41:35Z","updated_at":"2015-01-07T18:41:35Z"},{"id":5,"name":"Cruisers","title":"Raleigh/Virt/Productivity/Cruisers","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:46:14Z","updated_at":"2014-10-20T20:46:14Z"},{"id":6,"name":"Downstream","title":"Raleigh/Virt/Productivity/Cruisers/Downstream","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4/5","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:46:30Z","updated_at":"2014-10-20T20:46:30Z"},{"id":10,"name":"brewmaster","title":"Raleigh/Virt/Productivity/brewmaster","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-11-17T21:26:08Z","updated_at":"2014-11-17T21:26:08Z"}]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hostgroups?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":14,"subtotal":14,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[{"id":13,"name":"ProviderRefreshSpec-HostGroup","title":"ProviderRefreshSpec-HostGroup","subnet_id":null,"subnet_name":null,"operatingsystem_id":4,"operatingsystem_name":"OS - 1.2","domain_id":null,"domain_name":null,"environment_id":1,"environment_name":"production","compute_profile_id":null,"compute_profile_name":null,"ancestry":null,"puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":8,"medium_name":"ProviderRefreshSpec-Media","architecture_id":1,"architecture_name":"x86_64","realm_id":null,"realm_name":null,"created_at":"2015-01-15T19:42:50Z","updated_at":"2015-01-22T16:34:33Z"},{"id":14,"name":"ProviderRefreshSpec-ChildHostGroup","title":"ProviderRefreshSpec-HostGroup/ProviderRefreshSpec-ChildHostGroup","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"13","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":12,"ptable_name":"ProviderRefreshSpec-PartitionTable","medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2015-01-15T19:43:14Z","updated_at":"2015-01-22T16:35:24Z"},{"id":1,"name":"Raleigh","title":"Raleigh","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":1,"domain_name":"example.com","environment_id":1,"environment_name":"production","compute_profile_id":null,"compute_profile_name":null,"ancestry":null,"puppet_proxy_id":1,"puppet_ca_proxy_id":1,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":1,"architecture_name":"x86_64","realm_id":null,"realm_name":null,"created_at":"2014-08-14T20:29:03Z","updated_at":"2014-08-14T20:29:03Z"},{"id":2,"name":"Metal","title":"Raleigh/Metal","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-08-14T20:30:30Z","updated_at":"2014-08-14T20:30:30Z"},{"id":15,"name":"RHEV - Host","title":"Raleigh/Metal/RHEV Host","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/2","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2015-01-19T21:04:11Z","updated_at":"2015-01-19T21:04:11Z"},{"id":3,"name":"Virt","title":"Raleigh/Virt","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:25:24Z","updated_at":"2014-10-20T20:25:24Z"},{"id":11,"name":"Foreman","title":"Raleigh/Virt/Foreman","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-11-26T19:08:50Z","updated_at":"2014-11-26T19:08:50Z"},{"id":4,"name":"Productivity","title":"Raleigh/Virt/Productivity","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:45:56Z","updated_at":"2014-10-20T20:45:56Z"},{"id":7,"name":"CcMonitor","title":"Raleigh/Virt/Productivity/CcMonitor","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:51:44Z","updated_at":"2014-10-20T20:51:44Z"},{"id":9,"name":"CfmeBot","title":"Raleigh/Virt/Productivity/CfmeBot","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-11-17T15:25:27Z","updated_at":"2014-11-17T15:25:27Z"},{"id":12,"name":"CfmeBz","title":"Raleigh/Virt/Productivity/CfmeBz","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2015-01-07T18:41:35Z","updated_at":"2015-01-07T18:41:35Z"},{"id":5,"name":"Cruisers","title":"Raleigh/Virt/Productivity/Cruisers","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:46:14Z","updated_at":"2014-10-20T20:46:14Z"},{"id":6,"name":"Downstream","title":"Raleigh/Virt/Productivity/Cruisers/Downstream","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4/5","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-10-20T20:46:30Z","updated_at":"2014-10-20T20:46:30Z"},{"id":10,"name":"brewmaster","title":"Raleigh/Virt/Productivity/brewmaster","subnet_id":null,"subnet_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"domain_id":null,"domain_name":null,"environment_id":null,"environment_name":null,"compute_profile_id":null,"compute_profile_name":null,"ancestry":"1/3/4","puppet_proxy_id":null,"puppet_ca_proxy_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"architecture_id":null,"architecture_name":null,"realm_id":null,"realm_name":null,"created_at":"2014-11-17T21:26:08Z","updated_at":"2014-11-17T21:26:08Z"}]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hosts?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":39,"subtotal":39,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[{"name":"abc.example.com","id":29,"ip":"192.168.1.199","environment_id":1,"environment_name":"production","last_report":null,"mac":"00:00:00:00:f6:6c","realm_id":null,"realm_name":null,"sp_mac":"00:00:00:00:f6:6e","sp_ip":"192.168.1.210","sp_name":"","domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":3,"operatingsystem_name":"RHEL - Server 6.6","subnet_id":2,"subnet_name":"Mahwah","sp_subnet_id":null,"ptable_id":7,"ptable_name":"Kickstart - default","medium_id":7,"medium_name":"RHEL Server mirror","build":true,"comment":"","disk":"","installed_at":null,"model_id":null,"model_name":null,"hostgroup_id":2,"hostgroup_name":"Raleigh/Metal","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"abc.example.com","image_id":null,"image_name":null,"created_at":"2014-11-13T20:40:16Z","updated_at":"2014-11-13T22:04:50Z","last_compile":null,"last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0},{"name":"bdbaremetal.example.com","id":25,"ip":null,"environment_id":1,"environment_name":"production","last_report":null,"mac":"00:00:00:00:84:fc","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":3,"operatingsystem_name":"RHEL - Server 6.6","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":7,"ptable_name":"Kickstart - default","medium_id":7,"medium_name":"RHEL Server mirror","build":true,"comment":"","disk":"","installed_at":null,"model_id":2,"model_name":"PowerEdge - R420","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"bdbaremetal.example.com","image_id":null,"image_name":null,"created_at":"2014-11-07T20:41:21Z","updated_at":"2014-11-12T15:46:07Z","last_compile":null,"last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0},{"name":"brewery53.example.com","id":26,"ip":"192.168.1.206","environment_id":1,"environment_name":"production","last_report":"2015-01-19T22:23:24Z","mac":"00:00:00:00:bb:d9","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":4,"hostgroup_name":"Raleigh/Virt/Productivity","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"brewery53.example.com","image_id":null,"image_name":null,"created_at":"2014-11-10T16:30:41Z","updated_at":"2015-01-19T22:23:37Z","last_compile":"2015-01-19T22:23:31Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0},{"name":"brewery54.example.com","id":27,"ip":"192.168.1.207","environment_id":1,"environment_name":"production","last_report":"2015-01-19T22:24:26Z","mac":"00:00:00:00:bb:6e","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":4,"hostgroup_name":"Raleigh/Virt/Productivity","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"brewery54.example.com","image_id":null,"image_name":null,"created_at":"2014-11-10T16:59:01Z","updated_at":"2015-01-19T22:24:39Z","last_compile":"2015-01-19T22:24:33Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0},{"name":"brewmaster.example.com","id":32,"ip":"192.168.1.208","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:28Z","mac":"00:00:00:00:bb:65","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":10,"hostgroup_name":"Raleigh/Virt/Productivity/brewmaster","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"brewmaster.example.com","image_id":null,"image_name":null,"created_at":"2014-11-17T21:25:55Z","updated_at":"2015-01-26T21:03:40Z","last_compile":"2015-01-26T21:03:34Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":687915008},{"name":"cc-pg-52x-automation","id":14,"ip":"192.168.1.222","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:58:20Z","mac":"00:00:00:00:bb:68","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-automation.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:54:18Z","updated_at":"2015-01-26T20:58:28Z","last_compile":"2015-01-26T20:58:24Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-52x-brakeman","id":16,"ip":"192.168.1.224","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:58:39Z","mac":"00:00:00:00:bb:67","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-brakeman.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:54:31Z","updated_at":"2015-01-26T20:58:46Z","last_compile":"2015-01-26T20:58:42Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-52x-lib","id":12,"ip":"192.168.1.220","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:42Z","mac":"00:00:00:00:bb:69","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-lib.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:53:38Z","updated_at":"2015-01-26T21:03:50Z","last_compile":"2015-01-26T21:03:45Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-52x-metrics","id":15,"ip":"192.168.1.223","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:41Z","mac":"00:00:00:00:bb:cb","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-metrics.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:54:18Z","updated_at":"2015-01-26T21:03:49Z","last_compile":"2015-01-26T21:03:44Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-52x-migrations","id":11,"ip":"192.168.1.219","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:59:09Z","mac":"00:00:00:00:bb:e1","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-migrations.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:51:37Z","updated_at":"2015-01-26T20:59:17Z","last_compile":"2015-01-26T20:59:13Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-52x-replication","id":13,"ip":"192.168.1.221","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:58:44Z","mac":"00:00:00:00:bb:cc","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-replication.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:53:38Z","updated_at":"2015-01-26T20:58:51Z","last_compile":"2015-01-26T20:58:47Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-52x-vmdb","id":10,"ip":"192.168.1.218","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:59:01Z","mac":"00:00:00:00:bb:cf","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-vmdb.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:51:24Z","updated_at":"2015-01-26T20:59:08Z","last_compile":"2015-01-26T20:59:04Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-53z-automation","id":24,"ip":"192.168.1.229","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:46Z","mac":"00:00:00:00:bb:cd","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-automation.example.com","image_id":null,"image_name":null,"created_at":"2014-10-27T19:10:23Z","updated_at":"2015-01-26T21:03:55Z","last_compile":"2015-01-26T21:03:50Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-53z-brakeman.example.com","id":23,"ip":"192.168.1.230","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:58:51Z","mac":"00:00:00:00:bb:62","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-brakeman.example.com","image_id":null,"image_name":null,"created_at":"2014-10-27T19:00:50Z","updated_at":"2015-01-26T20:58:58Z","last_compile":"2015-01-26T20:58:53Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-53z-lib.example.com","id":21,"ip":"192.168.1.227","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:31Z","mac":"00:00:00:00:bb:66","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-lib.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T21:13:01Z","updated_at":"2015-01-26T21:03:41Z","last_compile":"2015-01-26T21:03:35Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-53z-metrics.example.com","id":22,"ip":"192.168.1.231","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:59:09Z","mac":"00:00:00:00:bb:ca","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-metrics.example.com","image_id":null,"image_name":null,"created_at":"2014-10-27T18:55:46Z","updated_at":"2015-01-26T20:59:16Z","last_compile":"2015-01-26T20:59:12Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-53z-migrations","id":20,"ip":"192.168.1.226","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:44Z","mac":"00:00:00:00:bb:d5","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-migrations.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T20:45:12Z","updated_at":"2015-01-26T21:03:53Z","last_compile":"2015-01-26T21:03:48Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-53z-replication","id":7,"ip":"192.168.1.228","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:38Z","mac":"00:00:00:00:bb:d6","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-replication.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:46:45Z","updated_at":"2015-01-26T21:03:46Z","last_compile":"2015-01-26T21:03:41Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-53z-vmdb","id":18,"ip":"192.168.1.225","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:59:02Z","mac":"00:00:00:00:bb:d8","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-vmdb.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T20:39:38Z","updated_at":"2015-01-26T20:59:10Z","last_compile":"2015-01-26T20:59:06Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-upstream-automation","id":9,"ip":"192.168.1.216","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:59:28Z","mac":"00:00:00:00:bb:5c","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-automation.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:48:34Z","updated_at":"2015-01-26T20:59:39Z","last_compile":"2015-01-26T20:59:34Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":385921024},{"name":"cc-pg-upstream-brakeman","id":3,"ip":"192.168.1.217","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:46Z","mac":"00:00:00:00:bb:e2","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-brakeman.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:45:42Z","updated_at":"2015-01-26T21:03:56Z","last_compile":"2015-01-26T21:03:51Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":385921024},{"name":"cc-pg-upstream-lib.example.com","id":8,"ip":"192.168.1.212","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:59:23Z","mac":"00:00:00:00:bb:5d","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-lib.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:48:13Z","updated_at":"2015-01-26T20:59:32Z","last_compile":"2015-01-26T20:59:28Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":385921024},{"name":"cc-pg-upstream-metrics.example.com","id":6,"ip":"192.168.1.215","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:59:48Z","mac":"00:00:00:00:bb:e0","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-metrics.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:46:06Z","updated_at":"2015-01-26T20:59:56Z","last_compile":"2015-01-26T20:59:52Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":385921024},{"name":"cc-pg-upstream-migrations","id":19,"ip":"192.168.1.213","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:40Z","mac":"00:00:00:00:bb:5e","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-migrations.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T20:44:22Z","updated_at":"2015-01-26T21:03:51Z","last_compile":"2015-01-26T21:03:45Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":385921024},{"name":"cc-pg-upstream-replication.example.com","id":5,"ip":"192.168.1.214","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:42Z","mac":"00:00:00:00:bb:e7","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-replication.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:46:04Z","updated_at":"2015-01-26T21:03:51Z","last_compile":"2015-01-26T21:03:47Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":385921024},{"name":"cc-pg-upstream-vmdb","id":4,"ip":"192.168.1.211","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:59:35Z","mac":"00:00:00:00:bb:e4","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-vmdb.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:45:42Z","updated_at":"2015-01-26T20:59:44Z","last_compile":"2015-01-26T20:59:39Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":385921024},{"name":"ccmonitor","id":17,"ip":"192.168.1.201","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:58Z","mac":"00:00:00:00:bb:e8","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":7,"hostgroup_name":"Raleigh/Virt/Productivity/CcMonitor","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"ccmonitor.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:57:35Z","updated_at":"2015-01-26T21:04:04Z","last_compile":"2015-01-26T21:04:01Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":24576},{"name":"cfmebot.example.com","id":30,"ip":"192.168.1.203","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:58:46Z","mac":"00:00:00:00:bb:5f","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":9,"hostgroup_name":"Raleigh/Virt/Productivity/CfmeBot","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cfmebot.example.com","image_id":null,"image_name":null,"created_at":"2014-11-17T16:00:15Z","updated_at":"2015-01-26T20:58:56Z","last_compile":"2015-01-26T20:58:52Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":318799872},{"name":"cfmebz.example.com","id":37,"ip":"192.168.1.204","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:04:04Z","mac":"00:00:00:00:bb:e6","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":12,"hostgroup_name":"Raleigh/Virt/Productivity/CfmeBz","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cfmebz.example.com","image_id":null,"image_name":null,"created_at":"2015-01-07T18:47:25Z","updated_at":"2015-01-26T21:04:14Z","last_compile":"2015-01-26T21:04:09Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":335577088},{"name":"dell-r420-01.example.com","id":33,"ip":"192.168.1.1","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:04:21Z","mac":"00:00:00:00:c9:03","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":2,"model_name":"PowerEdge - R420","hostgroup_id":2,"hostgroup_name":"Raleigh/Metal","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"dell-r420-01.example.com","image_id":null,"image_name":null,"created_at":"2015-01-07T17:29:07Z","updated_at":"2015-01-26T21:04:30Z","last_compile":"2015-01-26T21:04:27Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":20480},{"name":"dell-r420-02.example.com","id":34,"ip":"192.168.1.4","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:18Z","mac":"00:00:00:00:dc:cc","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":2,"model_name":"PowerEdge - R420","hostgroup_id":2,"hostgroup_name":"Raleigh/Metal","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"dell-r420-02.example.com","image_id":null,"image_name":null,"created_at":"2015-01-07T17:40:08Z","updated_at":"2015-01-26T21:03:26Z","last_compile":"2015-01-26T21:03:23Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":20480},{"name":"dell-r420-03.example.com","id":2,"ip":"192.168.1.2","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:26:47Z","mac":"00:00:00:00:4e:bf","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":2,"model_name":"PowerEdge - R420","hostgroup_id":2,"hostgroup_name":"Raleigh/Metal","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"dell-r420-03.example.com","image_id":null,"image_name":null,"created_at":"2014-08-14T20:25:22Z","updated_at":"2015-01-26T21:27:02Z","last_compile":"2015-01-26T21:26:51Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":8193},{"name":"dell-r420-04.example.com","id":41,"ip":"192.168.1.104","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:09:52Z","mac":"00:00:00:00:15:10","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":2,"model_name":"PowerEdge - R420","hostgroup_id":15,"hostgroup_name":"Raleigh/Metal/RHEV Host","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"dell-r420-04.example.com","image_id":null,"image_name":null,"created_at":"2015-01-20T21:33:48Z","updated_at":"2015-01-26T21:10:17Z","last_compile":"2015-01-26T21:10:00Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":8193},{"name":"foreman1.example.com","id":1,"ip":"example.com","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:13:41Z","mac":"00:00:00:00:bb:ce","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":7,"ptable_name":"Kickstart - default","medium_id":null,"medium_name":null,"build":false,"comment":"","disk":"","installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":11,"hostgroup_name":"Raleigh/Virt/Foreman","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"foreman1.example.com","image_id":null,"image_name":null,"created_at":"2014-07-24T22:25:26Z","updated_at":"2015-01-26T21:14:02Z","last_compile":"2015-01-26T21:13:45Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":8193},{"name":"gitlab.example.com","id":31,"ip":"192.168.1.103","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:53Z","mac":"00:00:00:00:bb:5a","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":3,"hostgroup_name":"Raleigh/Virt","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"gitlab.example.com","image_id":null,"image_name":null,"created_at":"2014-11-17T17:28:27Z","updated_at":"2015-01-26T21:04:02Z","last_compile":"2015-01-26T21:03:58Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":20480},{"name":"ibm-x3550m4-01.example.com","id":35,"ip":"192.168.1.1","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:16:19Z","mac":"00:00:00:00:fe:b2","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":3,"model_name":"IBM - System x3550 M4 Server -[7914AC1]-","hostgroup_id":2,"hostgroup_name":"Raleigh/Metal","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"ibm-x3550m4-01.example.com","image_id":null,"image_name":null,"created_at":"2015-01-07T17:47:13Z","updated_at":"2015-01-26T21:16:27Z","last_compile":"2015-01-26T21:16:23Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":8192},{"name":"providerrefreshspec-hostbaremetal.example.com","id":38,"ip":"192.168.169.254","environment_id":1,"environment_name":"production","last_report":null,"mac":"00:00:00:00:00:00","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":4,"operatingsystem_name":"OS - 1.2","subnet_id":2,"subnet_name":"Mahwah","sp_subnet_id":null,"ptable_id":12,"ptable_name":"ProviderRefreshSpec-PartitionTable","medium_id":8,"medium_name":"ProviderRefreshSpec-Media","build":true,"comment":"","disk":"","installed_at":null,"model_id":null,"model_name":null,"hostgroup_id":14,"hostgroup_name":"ProviderRefreshSpec-HostGroup/ProviderRefreshSpec-ChildHostGroup","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"providerrefreshspec-hostbaremetal.example.com","image_id":null,"image_name":null,"created_at":"2015-01-15T19:39:32Z","updated_at":"2015-01-22T16:48:46Z","last_compile":null,"last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0},{"name":"pxe.example.com","id":39,"ip":null,"environment_id":1,"environment_name":"production","last_report":"2015-01-19T17:37:33Z","mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":null,"model_name":null,"hostgroup_id":3,"hostgroup_name":"Raleigh/Virt","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"pxe.example.com","image_id":null,"image_name":null,"created_at":"2015-01-19T17:29:02Z","updated_at":"2015-01-19T17:37:52Z","last_compile":"2015-01-19T17:37:38Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":2},{"name":"rhev33.example.com","id":36,"ip":"192.168.1.101","environment_id":1,"environment_name":"production","last_report":"2015-01-13T18:50:28Z","mac":"00:00:00:00:1f:a7","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":3,"hostgroup_name":"Raleigh/Virt","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"rhev33.example.com","image_id":null,"image_name":null,"created_at":"2015-01-07T17:54:51Z","updated_at":"2015-01-13T18:50:42Z","last_compile":"2015-01-13T18:50:35Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0}]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/hosts?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":39,"subtotal":39,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[{"name":"abc.example.com","id":29,"ip":"192.168.1.199","environment_id":1,"environment_name":"production","last_report":null,"mac":"00:00:00:00:f6:6c","realm_id":null,"realm_name":null,"sp_mac":"00:00:00:00:f6:6e","sp_ip":"192.168.1.210","sp_name":"","domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":3,"operatingsystem_name":"RHEL - Server 6.6","subnet_id":2,"subnet_name":"Mahwah","sp_subnet_id":null,"ptable_id":7,"ptable_name":"Kickstart - default","medium_id":7,"medium_name":"RHEL Server mirror","build":true,"comment":"","disk":"","installed_at":null,"model_id":null,"model_name":null,"hostgroup_id":2,"hostgroup_name":"Raleigh/Metal","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"abc.example.com","image_id":null,"image_name":null,"created_at":"2014-11-13T20:40:16Z","updated_at":"2014-11-13T22:04:50Z","last_compile":null,"last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0},{"name":"bdbaremetal.example.com","id":25,"ip":null,"environment_id":1,"environment_name":"production","last_report":null,"mac":"00:00:00:00:84:fc","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":3,"operatingsystem_name":"RHEL - Server 6.6","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":7,"ptable_name":"Kickstart - default","medium_id":7,"medium_name":"RHEL Server mirror","build":true,"comment":"","disk":"","installed_at":null,"model_id":2,"model_name":"PowerEdge - R420","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"bdbaremetal.example.com","image_id":null,"image_name":null,"created_at":"2014-11-07T20:41:21Z","updated_at":"2014-11-12T15:46:07Z","last_compile":null,"last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0},{"name":"brewery53.example.com","id":26,"ip":"192.168.1.206","environment_id":1,"environment_name":"production","last_report":"2015-01-19T22:23:24Z","mac":"00:00:00:00:bb:d9","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":4,"hostgroup_name":"Raleigh/Virt/Productivity","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"brewery53.example.com","image_id":null,"image_name":null,"created_at":"2014-11-10T16:30:41Z","updated_at":"2015-01-19T22:23:37Z","last_compile":"2015-01-19T22:23:31Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0},{"name":"brewery54.example.com","id":27,"ip":"192.168.1.207","environment_id":1,"environment_name":"production","last_report":"2015-01-19T22:24:26Z","mac":"00:00:00:00:bb:6e","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":4,"hostgroup_name":"Raleigh/Virt/Productivity","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"brewery54.example.com","image_id":null,"image_name":null,"created_at":"2014-11-10T16:59:01Z","updated_at":"2015-01-19T22:24:39Z","last_compile":"2015-01-19T22:24:33Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0},{"name":"brewmaster.example.com","id":32,"ip":"192.168.1.208","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:28Z","mac":"00:00:00:00:bb:65","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":10,"hostgroup_name":"Raleigh/Virt/Productivity/brewmaster","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"brewmaster.example.com","image_id":null,"image_name":null,"created_at":"2014-11-17T21:25:55Z","updated_at":"2015-01-26T21:03:40Z","last_compile":"2015-01-26T21:03:34Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":687915008},{"name":"cc-pg-52x-automation","id":14,"ip":"192.168.1.222","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:58:20Z","mac":"00:00:00:00:bb:68","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-automation.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:54:18Z","updated_at":"2015-01-26T20:58:28Z","last_compile":"2015-01-26T20:58:24Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-52x-brakeman","id":16,"ip":"192.168.1.224","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:58:39Z","mac":"00:00:00:00:bb:67","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-brakeman.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:54:31Z","updated_at":"2015-01-26T20:58:46Z","last_compile":"2015-01-26T20:58:42Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-52x-lib","id":12,"ip":"192.168.1.220","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:42Z","mac":"00:00:00:00:bb:69","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-lib.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:53:38Z","updated_at":"2015-01-26T21:03:50Z","last_compile":"2015-01-26T21:03:45Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-52x-metrics","id":15,"ip":"192.168.1.223","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:41Z","mac":"00:00:00:00:bb:cb","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-metrics.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:54:18Z","updated_at":"2015-01-26T21:03:49Z","last_compile":"2015-01-26T21:03:44Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-52x-migrations","id":11,"ip":"192.168.1.219","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:59:09Z","mac":"00:00:00:00:bb:e1","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-migrations.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:51:37Z","updated_at":"2015-01-26T20:59:17Z","last_compile":"2015-01-26T20:59:13Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-52x-replication","id":13,"ip":"192.168.1.221","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:58:44Z","mac":"00:00:00:00:bb:cc","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-replication.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:53:38Z","updated_at":"2015-01-26T20:58:51Z","last_compile":"2015-01-26T20:58:47Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-52x-vmdb","id":10,"ip":"192.168.1.218","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:59:01Z","mac":"00:00:00:00:bb:cf","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-52x-vmdb.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:51:24Z","updated_at":"2015-01-26T20:59:08Z","last_compile":"2015-01-26T20:59:04Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-53z-automation","id":24,"ip":"192.168.1.229","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:46Z","mac":"00:00:00:00:bb:cd","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-automation.example.com","image_id":null,"image_name":null,"created_at":"2014-10-27T19:10:23Z","updated_at":"2015-01-26T21:03:55Z","last_compile":"2015-01-26T21:03:50Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-53z-brakeman.example.com","id":23,"ip":"192.168.1.230","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:58:51Z","mac":"00:00:00:00:bb:62","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-brakeman.example.com","image_id":null,"image_name":null,"created_at":"2014-10-27T19:00:50Z","updated_at":"2015-01-26T20:58:58Z","last_compile":"2015-01-26T20:58:53Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-53z-lib.example.com","id":21,"ip":"192.168.1.227","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:31Z","mac":"00:00:00:00:bb:66","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-lib.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T21:13:01Z","updated_at":"2015-01-26T21:03:41Z","last_compile":"2015-01-26T21:03:35Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-53z-metrics.example.com","id":22,"ip":"192.168.1.231","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:59:09Z","mac":"00:00:00:00:bb:ca","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-metrics.example.com","image_id":null,"image_name":null,"created_at":"2014-10-27T18:55:46Z","updated_at":"2015-01-26T20:59:16Z","last_compile":"2015-01-26T20:59:12Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-53z-migrations","id":20,"ip":"192.168.1.226","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:44Z","mac":"00:00:00:00:bb:d5","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-migrations.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T20:45:12Z","updated_at":"2015-01-26T21:03:53Z","last_compile":"2015-01-26T21:03:48Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-53z-replication","id":7,"ip":"192.168.1.228","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:38Z","mac":"00:00:00:00:bb:d6","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-replication.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:46:45Z","updated_at":"2015-01-26T21:03:46Z","last_compile":"2015-01-26T21:03:41Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-53z-vmdb","id":18,"ip":"192.168.1.225","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:59:02Z","mac":"00:00:00:00:bb:d8","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":6,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers/Downstream","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-53z-vmdb.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T20:39:38Z","updated_at":"2015-01-26T20:59:10Z","last_compile":"2015-01-26T20:59:06Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":402698240},{"name":"cc-pg-upstream-automation","id":9,"ip":"192.168.1.216","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:59:28Z","mac":"00:00:00:00:bb:5c","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-automation.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:48:34Z","updated_at":"2015-01-26T20:59:39Z","last_compile":"2015-01-26T20:59:34Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":385921024},{"name":"cc-pg-upstream-brakeman","id":3,"ip":"192.168.1.217","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:46Z","mac":"00:00:00:00:bb:e2","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-brakeman.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:45:42Z","updated_at":"2015-01-26T21:03:56Z","last_compile":"2015-01-26T21:03:51Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":385921024},{"name":"cc-pg-upstream-lib.example.com","id":8,"ip":"192.168.1.212","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:59:23Z","mac":"00:00:00:00:bb:5d","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-lib.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:48:13Z","updated_at":"2015-01-26T20:59:32Z","last_compile":"2015-01-26T20:59:28Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":385921024},{"name":"cc-pg-upstream-metrics.example.com","id":6,"ip":"192.168.1.215","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:59:48Z","mac":"00:00:00:00:bb:e0","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-metrics.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:46:06Z","updated_at":"2015-01-26T20:59:56Z","last_compile":"2015-01-26T20:59:52Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":385921024},{"name":"cc-pg-upstream-migrations","id":19,"ip":"192.168.1.213","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:40Z","mac":"00:00:00:00:bb:5e","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-migrations.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T20:44:22Z","updated_at":"2015-01-26T21:03:51Z","last_compile":"2015-01-26T21:03:45Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":385921024},{"name":"cc-pg-upstream-replication.example.com","id":5,"ip":"192.168.1.214","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:42Z","mac":"00:00:00:00:bb:e7","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-replication.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:46:04Z","updated_at":"2015-01-26T21:03:51Z","last_compile":"2015-01-26T21:03:47Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":385921024},{"name":"cc-pg-upstream-vmdb","id":4,"ip":"192.168.1.211","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:59:35Z","mac":"00:00:00:00:bb:e4","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":2,"operatingsystem_name":"RHEL - Server 6.4","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":5,"hostgroup_name":"Raleigh/Virt/Productivity/Cruisers","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cc-pg-upstream-vmdb.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:45:42Z","updated_at":"2015-01-26T20:59:44Z","last_compile":"2015-01-26T20:59:39Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":385921024},{"name":"ccmonitor","id":17,"ip":"192.168.1.201","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:58Z","mac":"00:00:00:00:bb:e8","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":7,"hostgroup_name":"Raleigh/Virt/Productivity/CcMonitor","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"ccmonitor.example.com","image_id":null,"image_name":null,"created_at":"2014-10-20T19:57:35Z","updated_at":"2015-01-26T21:04:04Z","last_compile":"2015-01-26T21:04:01Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":24576},{"name":"cfmebot.example.com","id":30,"ip":"192.168.1.203","environment_id":1,"environment_name":"production","last_report":"2015-01-26T20:58:46Z","mac":"00:00:00:00:bb:5f","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":9,"hostgroup_name":"Raleigh/Virt/Productivity/CfmeBot","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cfmebot.example.com","image_id":null,"image_name":null,"created_at":"2014-11-17T16:00:15Z","updated_at":"2015-01-26T20:58:56Z","last_compile":"2015-01-26T20:58:52Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":318799872},{"name":"cfmebz.example.com","id":37,"ip":"192.168.1.204","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:04:04Z","mac":"00:00:00:00:bb:e6","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":12,"hostgroup_name":"Raleigh/Virt/Productivity/CfmeBz","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"cfmebz.example.com","image_id":null,"image_name":null,"created_at":"2015-01-07T18:47:25Z","updated_at":"2015-01-26T21:04:14Z","last_compile":"2015-01-26T21:04:09Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":335577088},{"name":"dell-r420-01.example.com","id":33,"ip":"192.168.1.1","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:04:21Z","mac":"00:00:00:00:c9:03","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":2,"model_name":"PowerEdge - R420","hostgroup_id":2,"hostgroup_name":"Raleigh/Metal","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"dell-r420-01.example.com","image_id":null,"image_name":null,"created_at":"2015-01-07T17:29:07Z","updated_at":"2015-01-26T21:04:30Z","last_compile":"2015-01-26T21:04:27Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":20480},{"name":"dell-r420-02.example.com","id":34,"ip":"192.168.1.4","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:18Z","mac":"00:00:00:00:dc:cc","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":2,"model_name":"PowerEdge - R420","hostgroup_id":2,"hostgroup_name":"Raleigh/Metal","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"dell-r420-02.example.com","image_id":null,"image_name":null,"created_at":"2015-01-07T17:40:08Z","updated_at":"2015-01-26T21:03:26Z","last_compile":"2015-01-26T21:03:23Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":20480},{"name":"dell-r420-03.example.com","id":2,"ip":"192.168.1.2","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:26:47Z","mac":"00:00:00:00:4e:bf","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":2,"model_name":"PowerEdge - R420","hostgroup_id":2,"hostgroup_name":"Raleigh/Metal","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"dell-r420-03.example.com","image_id":null,"image_name":null,"created_at":"2014-08-14T20:25:22Z","updated_at":"2015-01-26T21:27:02Z","last_compile":"2015-01-26T21:26:51Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":8193},{"name":"dell-r420-04.example.com","id":41,"ip":"192.168.1.104","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:09:52Z","mac":"00:00:00:00:15:10","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":2,"model_name":"PowerEdge - R420","hostgroup_id":15,"hostgroup_name":"Raleigh/Metal/RHEV Host","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"dell-r420-04.example.com","image_id":null,"image_name":null,"created_at":"2015-01-20T21:33:48Z","updated_at":"2015-01-26T21:10:17Z","last_compile":"2015-01-26T21:10:00Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":8193},{"name":"foreman1.example.com","id":1,"ip":"example.com","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:13:41Z","mac":"00:00:00:00:bb:ce","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":7,"ptable_name":"Kickstart - default","medium_id":null,"medium_name":null,"build":false,"comment":"","disk":"","installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":11,"hostgroup_name":"Raleigh/Virt/Foreman","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"foreman1.example.com","image_id":null,"image_name":null,"created_at":"2014-07-24T22:25:26Z","updated_at":"2015-01-26T21:14:02Z","last_compile":"2015-01-26T21:13:45Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":8193},{"name":"gitlab.example.com","id":31,"ip":"192.168.1.103","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:03:53Z","mac":"00:00:00:00:bb:5a","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":3,"hostgroup_name":"Raleigh/Virt","owner_id":null,"owner_type":null,"enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"gitlab.example.com","image_id":null,"image_name":null,"created_at":"2014-11-17T17:28:27Z","updated_at":"2015-01-26T21:04:02Z","last_compile":"2015-01-26T21:03:58Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":20480},{"name":"ibm-x3550m4-01.example.com","id":35,"ip":"192.168.1.1","environment_id":1,"environment_name":"production","last_report":"2015-01-26T21:16:19Z","mac":"00:00:00:00:fe:b2","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":3,"model_name":"IBM - System x3550 M4 Server -[7914AC1]-","hostgroup_id":2,"hostgroup_name":"Raleigh/Metal","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"ibm-x3550m4-01.example.com","image_id":null,"image_name":null,"created_at":"2015-01-07T17:47:13Z","updated_at":"2015-01-26T21:16:27Z","last_compile":"2015-01-26T21:16:23Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":8192},{"name":"providerrefreshspec-hostbaremetal.example.com","id":38,"ip":"192.168.169.254","environment_id":1,"environment_name":"production","last_report":null,"mac":"00:00:00:00:00:00","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":4,"operatingsystem_name":"OS - 1.2","subnet_id":2,"subnet_name":"Mahwah","sp_subnet_id":null,"ptable_id":12,"ptable_name":"ProviderRefreshSpec-PartitionTable","medium_id":8,"medium_name":"ProviderRefreshSpec-Media","build":true,"comment":"","disk":"","installed_at":null,"model_id":null,"model_name":null,"hostgroup_id":14,"hostgroup_name":"ProviderRefreshSpec-HostGroup/ProviderRefreshSpec-ChildHostGroup","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":true,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"providerrefreshspec-hostbaremetal.example.com","image_id":null,"image_name":null,"created_at":"2015-01-15T19:39:32Z","updated_at":"2015-01-22T16:48:46Z","last_compile":null,"last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0},{"name":"pxe.example.com","id":39,"ip":null,"environment_id":1,"environment_name":"production","last_report":"2015-01-19T17:37:33Z","mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":null,"model_name":null,"hostgroup_id":3,"hostgroup_name":"Raleigh/Virt","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"pxe.example.com","image_id":null,"image_name":null,"created_at":"2015-01-19T17:29:02Z","updated_at":"2015-01-19T17:37:52Z","last_compile":"2015-01-19T17:37:38Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":2},{"name":"rhev33.example.com","id":36,"ip":"192.168.1.101","environment_id":1,"environment_name":"production","last_report":"2015-01-13T18:50:28Z","mac":"00:00:00:00:1f:a7","realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":1,"domain_name":"example.com","architecture_id":1,"architecture_name":"x86_64","operatingsystem_id":1,"operatingsystem_name":"RHEL - Server 6.5","subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":"","disk":null,"installed_at":null,"model_id":1,"model_name":"RHEV - Hypervisor","hostgroup_id":3,"hostgroup_name":"Raleigh/Virt","owner_id":1,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":1,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":1,"certname":"rhev33.example.com","image_id":null,"image_name":null,"created_at":"2015-01-07T17:54:51Z","updated_at":"2015-01-13T18:50:42Z","last_compile":"2015-01-13T18:50:35Z","last_freshcheck":null,"serial":null,"source_file_id":null,"puppet_status":0}]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/locations?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 404 - message: Not Found - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 404 Not Found - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"error":"The requested resource could not be found"}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/media?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":8,"subtotal":8,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[{"id":1,"name":"CentOS - mirror","path":"http://mirror.centos.org/centos/$major.$minor/os/$arch","os_family":"Redhat","created_at":"2014-07-24T22:22:05Z","updated_at":"2014-07-24T22:22:05Z"},{"id":2,"name":"Debian - mirror","path":"http://ftp.debian.org/debian/","os_family":"Debian","created_at":"2014-07-24T22:22:05Z","updated_at":"2014-07-24T22:22:05Z"},{"id":3,"name":"Fedora - mirror","path":"http://dl.fedoraproject.org/pub/fedora/linux/releases/$major/Fedora/$arch/os/","os_family":"Redhat","created_at":"2014-07-24T22:22:05Z","updated_at":"2014-07-24T22:22:05Z"},{"id":4,"name":"FreeBSD - mirror","path":"http://ftp.freebsd.org/pub/FreeBSD/releases/$arch/$major.$minor-RELEASE/","os_family":"Freebsd","created_at":"2014-07-24T22:22:05Z","updated_at":"2014-07-24T22:22:05Z"},{"id":5,"name":"OpenSUSE - mirror","path":"http://download.opensuse.org/distribution/$major.$minor/repo/oss","os_family":"Suse","created_at":"2014-07-24T22:22:05Z","updated_at":"2014-07-24T22:22:05Z"},{"id":8,"name":"ProviderRefreshSpec-Media","path":"http://example.com/refreshspec","os_family":null,"created_at":"2015-01-15T19:49:04Z","updated_at":"2015-01-15T19:49:04Z"},{"id":7,"name":"RHEL - Server mirror","path":"http://download.redhat.com/released/RHEL-$major/$major.$minor/Server/$arch/os/","os_family":"Redhat","created_at":"2014-11-07T19:20:23Z","updated_at":"2014-11-07T19:20:23Z"},{"id":6,"name":"Ubuntu - mirror","path":"http://archive.ubuntu.com/ubuntu/","os_family":"Debian","created_at":"2014-07-24T22:22:05Z","updated_at":"2014-07-24T22:22:05Z"}]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/operatingsystems/1 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":1,"name":"RedHat","fullname":"RedHat 6.5","description":"RHEL - Server 6.5","major":"6","minor":"5","family":"Redhat","release_name":"","created_at":"2014-07-24T22:55:07Z","updated_at":"2014-11-07T19:12:03Z","parameters":[],"media":[{"id":1,"name":"CentOS - mirror"},{"id":3,"name":"Fedora mirror"},{"id":7,"name":"RHEL Server mirror"}],"architectures":[{"name":"x86_64","id":1}],"ptables":[{"name":"Kickstart - default","id":7}],"config_templates":[{"id":38,"name":"Kickstart RHEL cfme","template_kind_id":4,"template_kind_name":"provision"},{"id":17,"name":"Kickstart - default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":18,"name":"Kickstart - default iPXE","template_kind_id":3,"template_kind_name":"iPXE"}],"os_default_templates":[{"id":2,"config_template_id":38,"config_template_name":"Kickstart - RHEL cfme","template_kind_id":4,"template_kind_name":"provision"},{"id":3,"config_template_id":17,"config_template_name":"Kickstart - default PXELinux","template_kind_id":1,"template_kind_name":"PXELinux"},{"id":4,"config_template_id":18,"config_template_name":"Kickstart - default iPXE","template_kind_id":3,"template_kind_name":"iPXE"}],"images":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/operatingsystems/2 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":2,"name":"RedHat","fullname":"RedHat 6.4","description":"RHEL - Server 6.4","major":"6","minor":"4","family":"Redhat","release_name":null,"created_at":"2014-10-20T19:46:10Z","updated_at":"2014-10-20T19:46:10Z","parameters":[],"media":[],"architectures":[],"ptables":[],"config_templates":[],"os_default_templates":[],"images":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/operatingsystems/3 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":3,"name":"RHELServer","fullname":"RHELServer 6.6","description":"RHEL - Server 6.6","major":"6","minor":"6","family":"Redhat","release_name":"","created_at":"2014-11-07T19:21:30Z","updated_at":"2014-12-11T16:42:01Z","parameters":[],"media":[{"id":7,"name":"RHEL - Server mirror"}],"architectures":[{"name":"x86_64","id":1}],"ptables":[{"name":"Kickstart - default","id":7}],"config_templates":[{"id":38,"name":"Kickstart RHEL cfme","template_kind_id":4,"template_kind_name":"provision"},{"id":15,"name":"Kickstart - RHEL default","template_kind_id":4,"template_kind_name":"provision"},{"id":18,"name":"Kickstart - default iPXE","template_kind_id":3,"template_kind_name":"iPXE"}],"os_default_templates":[{"id":1,"config_template_id":38,"config_template_name":"Kickstart - RHEL cfme","template_kind_id":4,"template_kind_name":"provision"},{"id":5,"config_template_id":18,"config_template_name":"Kickstart - default iPXE","template_kind_id":3,"template_kind_name":"iPXE"}],"images":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/operatingsystems/4 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":4,"name":"ProviderRefreshSpec-OperatingSystem","fullname":"ProviderRefreshSpec-OperatingSystem - 1.2","description":"OS 1.2","major":"1","minor":"2","family":null,"release_name":"","created_at":"2015-01-15T19:44:25Z","updated_at":"2015-01-15T19:44:25Z","parameters":[],"media":[{"id":8,"name":"ProviderRefreshSpec-Media"}],"architectures":[{"name":"x86_64","id":1}],"ptables":[{"name":"ProviderRefreshSpec-PartitionTable","id":12}],"config_templates":[],"os_default_templates":[],"images":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/operatingsystems/5 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"id":5,"name":"RedHat","fullname":"RedHat 6.6","description":null,"major":"6","minor":"6","family":"Redhat","release_name":null,"created_at":"2015-01-19T17:29:07Z","updated_at":"2015-01-19T17:29:07Z","parameters":[],"media":[],"architectures":[],"ptables":[],"config_templates":[],"os_default_templates":[],"images":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/operatingsystems?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":5,"subtotal":5,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[{"id":4,"name":"ProviderRefreshSpec-OperatingSystem","fullname":"ProviderRefreshSpec-OperatingSystem - 1.2","description":"OS 1.2","major":"1","minor":"2","family":null,"release_name":"","created_at":"2015-01-15T19:44:25Z","updated_at":"2015-01-15T19:44:25Z"},{"id":3,"name":"RHELServer","fullname":"RHELServer - 6.6","description":"RHEL Server 6.6","major":"6","minor":"6","family":"Redhat","release_name":"","created_at":"2014-11-07T19:21:30Z","updated_at":"2014-12-11T16:42:01Z"},{"id":2,"name":"RedHat","fullname":"RedHat - 6.4","description":"RHEL Server 6.4","major":"6","minor":"4","family":"Redhat","release_name":null,"created_at":"2014-10-20T19:46:10Z","updated_at":"2014-10-20T19:46:10Z"},{"id":5,"name":"RedHat","fullname":"RedHat - 6.6","description":null,"major":"6","minor":"6","family":"Redhat","release_name":null,"created_at":"2015-01-19T17:29:07Z","updated_at":"2015-01-19T17:29:07Z"},{"id":1,"name":"RedHat","fullname":"RedHat - 6.5","description":"RHEL Server 6.5","major":"6","minor":"5","family":"Redhat","release_name":"","created_at":"2014-07-24T22:55:07Z","updated_at":"2014-11-07T19:12:03Z"}]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/organizations?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 404 - message: Not Found - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 404 Not Found - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"error":"The requested resource could not be found"}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/ptables?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":11,"subtotal":11,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[{"name":"AutoYaST - LVM","id":3,"os_family":"Suse","created_at":"2014-07-24T22:22:04Z","updated_at":"2014-07-24T22:22:04Z"},{"name":"AutoYaST - entire SCSI disk","id":1,"os_family":"Suse","created_at":"2014-07-24T22:22:04Z","updated_at":"2014-07-24T22:22:04Z"},{"name":"AutoYaST - entire virtual disk","id":2,"os_family":"Suse","created_at":"2014-07-24T22:22:04Z","updated_at":"2014-07-24T22:22:04Z"},{"name":"FreeBSD","id":4,"os_family":"Freebsd","created_at":"2014-07-24T22:22:04Z","updated_at":"2014-07-24T22:22:04Z"},{"name":"Jumpstart - default","id":5,"os_family":"Solaris","created_at":"2014-07-24T22:22:04Z","updated_at":"2014-07-24T22:22:04Z"},{"name":"Jumpstart - mirrored","id":6,"os_family":"Solaris","created_at":"2014-07-24T22:22:04Z","updated_at":"2014-07-24T22:22:04Z"},{"name":"Junos - default fake","id":10,"os_family":"Junos","created_at":"2014-07-24T22:22:05Z","updated_at":"2014-07-24T22:22:05Z"},{"name":"Kickstart - default","id":7,"os_family":"Redhat","created_at":"2014-07-24T22:22:04Z","updated_at":"2014-07-24T22:22:04Z"},{"name":"Preseed - custom LVM","id":9,"os_family":"Debian","created_at":"2014-07-24T22:22:05Z","updated_at":"2014-07-24T22:22:05Z"},{"name":"Preseed - default","id":8,"os_family":"Debian","created_at":"2014-07-24T22:22:05Z","updated_at":"2014-07-24T22:22:05Z"},{"name":"ProviderRefreshSpec-PartitionTable","id":12,"os_family":null,"created_at":"2015-01-15T19:48:08Z","updated_at":"2015-01-15T19:48:08Z"}]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -- request: - method: get - uri: http://example.com/api/realms?page=1&per_page=50 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - application/json;version=2 - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - Authorization: Basic <%= Base64.encode64("admin:smartvm").chomp %> - response: - status: - code: 200 - message: OK - headers: - Date: - - Sat, 01 Jan 2000 00:00:00 GMT - Foreman-Version: - - 1.5.3 - Foreman-Api-Version: - - '2' - Apipie-Checksum: - - f0c66204518b52fe5a1aa2c2163e7166 - Etag: - - c15ce0b593ab74018a5162399548a38d - Set-Cookie: - - _session_id=xxx; path=/; HttpOnly - Status: - - 200 OK - Connection: - - close - Transfer-Encoding: - - chunked - Content-Type: - - application/json; charset=utf-8 - body: - encoding: UTF-8 - string: '{"total":0,"subtotal":0,"page":1,"per_page":50,"search":null,"sort":{"by":null,"order":null},"results":[]}' - http_version: - recorded_at: Sat, 01 Jan 2000 00:00:00 GMT -recorded_with: VCR 2.9.3