事件消息除其开始标记是 <LDM_event> 之外,其格式与传入 <LDM_interface> 消息相同。消息的 <action> 标记是为触发事件而执行的操作。消息的 <data> 段用于描述与事件关联的对象;其详细信息取决于所发生事件的类型。
示例 22-5 <LDM_event> 通知示例<LDM_event version='1.1'> <cmd> <action>Event command here</action> <data version='3.0'> <Envelope <References/> <Content xsi:type='ovf:VirtualSystem_Type' ovf:id='ldg1'/> <Section xsi:type="ovf:ResourceAllocationSection_type"> <Item> <rasd:OtherResourceType>LDom Resource Type</rasd:OtherResourceType> <gprop:GenericProperty key="Property name">Property Value</gprop:GenericProperty> </Item> </Section> </Envelope> </data> </cmd> </LDM_event>