Oracle® VM Server for SPARC 3.2 Administration Guide

Exit Print View

Updated: May 2015
 
 

Registration and Unregistration

Use an <LDM_interface> message to register for events. See <LDM_interface> Tag. The <action> tag details the type of event for which to register or unregister and the <data> section is left empty.

Example 22-3  Example Event Registration Request Message
<LDM_interface version="1.3">
  <cmd>
    <action>reg-domain-events</action>
    <data version="3.0"/>
  </cmd>
</LDM_interface>

The Logical Domains Manager responds with an <LDM_interface> response message stating whether the registration or unregistration was successful.

Example 22-4  Example Event Registration Response Message
<LDM_interface version="1.3">
  <cmd>
    <action>reg-domain-events</action>
    <data version="3.0"/>
      <response>
        <status>success</status>
      </response>
    </data>
    <response>
      <status>success</status>
    </response>
  </cmd>
  <response>
    <status>success</status>
  </response>
</LDM_interface>

The action string for each type of event is listed in the events subsection.