A host describes a physical or virtual machine on which one distribution is deployed and applications can be installed. The host can be provisioned using a platform. When a host is provisioning or provisioned, an instance is attached to it. Settings may be associated to a host, in particular for template rendering.
When a distribution (respectively a platform) is associated to a host, a distribution context (respectively a platform context) is created. Similarly, an application context is associated to each installed application. These contexts enable to configure distribution, platform and applications by associating settings to them.
It is possible to monitor actions performed on the host (installing a package, restarting a service, etc.) through changes sub-collection. In addition, a host’s instance may comply or not to its definition, a compliance sub-collection is available in order to check this.
The following elements are defined as part of a host’s representation:
{
"name": "test-host-on-Hyp3",
"description": "Test host using distribution co6-Hyp3 on platform Hyp3",
"version": 9,
"organization": "Guardis Test",
"environment": "Test Environment",
"platform": "Hyp3",
"distribution": "co6-Hyp3",
"applications": [
"GuardisRepos",
"WebServer",
"SimpleWebPage"
],
"settings": [],
"state": "DEFINED"
}
/organizations/{org_name}/environments/{env_name}/hosts
/organizations/{org_name}/environments/{env_name}/hosts/{host_name}
/organizations/{org_name}environments/{env_name}/hosts/{host_name}/_clone
/organizations/{org_name}/environments/{env_name}/hosts/{host_name}/setup.json
/organizations/{org_name}/environments/{env_name}/hosts/{host_name}/audit
2016 © ComodIT. All Rights Reserved. Privacy Policy | Terms of Service