Product SiteDocumentation Site

13.5.  Actions

The following sections describe the actions associated with host resources.
The API contains a number of possible actions for hosts: install, activate, fence, deactivate, approve, iscsilogin, iscsidiscover and commitnetconfig.

13.5.1.  Install Action

Install VDSM and related software on the host. This requires the root password for the host to be supplied using the root_password element.
Example 13.14. Action to install VDSM to a host
  POST /rhevm-api/hosts/2ab5e1da-b726-4274-bbf7-0a42b16a0fc3/install HTTP/1.1
  Content-type: application/xml

  <action>
      <root_password>p@55w0Rd!</root_password>
  </action>