re-arranging files for pcu control
[monitor.git] / pcucontrol / models / intelamt / Include / WSDL / EventManagerInterface.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema 
3     xmlns:xs="http://www.w3.org/2001/XMLSchema" 
4     xmlns:cmn="http://schemas.intel.com/platform/client/Common/2006/01"
5     xmlns:sai="http://schemas.intel.com/platform/client/SecurityAdministration/2004/01"
6     xmlns:emi="http://schemas.intel.com/platform/client/EventManager/2004/01"
7     targetNamespace="http://schemas.intel.com/platform/client/EventManager/2004/01"
8     elementFormDefault="qualified">
9
10     <xs:import namespace="http://schemas.intel.com/platform/client/Common/2006/01" schemaLocation="Common.xsd"/>
11     <xs:import namespace="http://schemas.intel.com/platform/client/SecurityAdministration/2004/01" schemaLocation="SecurityAdministrationInterface.xsd"/>
12
13     <!-- Intel(r) AMT 1.0 -->
14     <xs:simpleType name="TimeType">
15         <xs:restriction base="xs:unsignedInt"/>
16     </xs:simpleType>
17     <xs:simpleType name="AlertSubscriptionPolicyIDType">
18         <xs:restriction base="xs:unsignedByte"/>
19     </xs:simpleType>
20     <xs:complexType name="AlertSubscriptionPolicyIDArrayType">
21         <xs:sequence>
22             <xs:element name="AlertSubscriptionPolicyID" type="emi:AlertSubscriptionPolicyIDType" minOccurs="0" maxOccurs="unbounded"/>
23         </xs:sequence>
24     </xs:complexType>
25     <xs:simpleType name="AlertSubscriptionHandleType">
26         <xs:restriction base="xs:unsignedInt"/>
27     </xs:simpleType>
28     <xs:simpleType name="EventFilterHandleType">
29         <xs:restriction base="xs:unsignedInt"/>
30     </xs:simpleType>
31     <xs:simpleType name="EventSeverityType">
32         <xs:restriction base="xs:unsignedByte">
33             <xs:enumeration value="0">
34                 <xs:annotation>
35                     <xs:documentation>"0 = Unspecified"</xs:documentation>
36                 </xs:annotation>
37             </xs:enumeration>
38             <xs:enumeration value="1">
39                 <xs:annotation>
40                     <xs:documentation>"1 = Monitor"</xs:documentation>
41                 </xs:annotation>
42             </xs:enumeration>
43             <xs:enumeration value="2">
44                 <xs:annotation>
45                     <xs:documentation>"2 = Information"</xs:documentation>
46                 </xs:annotation>
47             </xs:enumeration>
48             <xs:enumeration value="4">
49                 <xs:annotation>
50                     <xs:documentation>"4 = OK (return to OK condition)"</xs:documentation>
51                 </xs:annotation>
52             </xs:enumeration>
53             <xs:enumeration value="8">
54                 <xs:annotation>
55                     <xs:documentation>"8 = Non-critical condition"</xs:documentation>
56                 </xs:annotation>
57             </xs:enumeration>
58             <xs:enumeration value="16">
59                 <xs:annotation>
60                     <xs:documentation>"16 = Critical condition"</xs:documentation>
61                 </xs:annotation>
62             </xs:enumeration>
63             <xs:enumeration value="32">
64                 <xs:annotation>
65                     <xs:documentation>"32 = Non-recoverable condition"</xs:documentation>
66                 </xs:annotation>
67             </xs:enumeration>
68         </xs:restriction>
69     </xs:simpleType>
70     <xs:simpleType name="PT_STATUS">
71         <xs:restriction base="xs:unsignedInt"/>
72     </xs:simpleType>
73     <xs:simpleType name="IPv4AddressType">
74         <xs:restriction base="xs:unsignedInt"/>
75     </xs:simpleType>
76     <xs:simpleType name="SensorHandleType">
77         <xs:restriction base="xs:unsignedInt"/>
78     </xs:simpleType>
79     <xs:complexType name="ByteData">
80         <xs:sequence>
81             <xs:element name="Byte" type="xs:unsignedByte" minOccurs="8" maxOccurs="8"/>
82         </xs:sequence>
83     </xs:complexType>
84     <xs:complexType name="EventLogRecordType">
85         <xs:sequence>
86             <xs:element name="TimeStamp" type="emi:TimeType"/>
87             <xs:element name="DeviceAddress" type="xs:unsignedByte"/>
88             <xs:element name="EventSensorType" type="xs:unsignedByte"/>
89             <xs:element name="EventType" type="xs:unsignedByte"/>
90             <xs:element name="EventOffset" type="xs:unsignedByte"/>
91             <xs:element name="EventSourceType" type="xs:unsignedByte"/>
92             <xs:element name="EventSeverity" type="emi:EventSeverityType"/>
93             <xs:element name="SensorNumber" type="xs:unsignedByte"/>
94             <xs:element name="Entity" type="xs:unsignedByte"/>
95             <xs:element name="EntityInstance" type="xs:unsignedByte"/>
96             <xs:element name="EventData" type="emi:ByteData" />
97         </xs:sequence>
98     </xs:complexType>
99     <xs:complexType name="EventFilterType">
100         <xs:sequence>
101             <xs:element name="FilterConfiguration" type="xs:unsignedByte"/>
102             <xs:element name="FilterAction" type="xs:unsignedByte"/>
103             <xs:element name="AlertSubscriptionPolicyID" type="emi:AlertSubscriptionPolicyIDType"/>
104             <xs:element name="DeviceAddress" type="xs:unsignedByte"/>
105             <xs:element name="EventSensorType" type="xs:unsignedByte"/>
106             <xs:element name="EventType" type="xs:unsignedByte"/>
107             <xs:element name="EventOffset" type="xs:unsignedByte"/>
108             <xs:element name="EventSourceType" type="xs:unsignedByte"/>
109             <xs:element name="EventSeverity" type="emi:EventSeverityType"/>
110             <xs:element name="SensorNumber" type="xs:unsignedByte"/>
111             <xs:element name="Entity" type="xs:unsignedByte"/>
112             <xs:element name="EntityInstance" type="xs:unsignedByte"/>
113         </xs:sequence>
114     </xs:complexType>
115     <xs:complexType name="AlertSubscriptionType">
116         <xs:sequence>
117             <xs:element name="AlertSubscriptionPolicyID" type="emi:AlertSubscriptionPolicyIDType"/>
118             <xs:element name="DestinationAddress" type="emi:IPv4AddressType"/>
119         </xs:sequence>
120     </xs:complexType>
121     <xs:complexType name="AlertSubscriptionHandleArrayType">
122         <xs:sequence>
123             <xs:element name="AlertSubscriptionHandle" type="emi:AlertSubscriptionHandleType" minOccurs="0" maxOccurs="unbounded"/>
124         </xs:sequence>
125     </xs:complexType>
126     <xs:complexType name="EventFilterHandleArrayType">
127         <xs:sequence>
128             <xs:element name="EventFilterHandle" type="emi:EventFilterHandleType" minOccurs="0" maxOccurs="unbounded"/>
129         </xs:sequence>
130     </xs:complexType>
131     <xs:complexType name="EventLogRecordArrayType">
132         <xs:sequence>
133             <xs:element name="EventLogRecord" type="emi:EventLogRecordType" minOccurs="0" maxOccurs="unbounded"/>
134         </xs:sequence>
135     </xs:complexType>
136     <xs:complexType name="SensorHandleArrayType">
137         <xs:sequence>
138             <xs:element name="SensorHandle" type="emi:SensorHandleType" minOccurs="0" maxOccurs="unbounded"/>
139         </xs:sequence>
140     </xs:complexType>
141     <xs:complexType name="SensorAttributesType">
142         <xs:sequence>
143             <xs:element name="IsLegacySensor" type="xs:boolean"/>
144             <xs:element name="AssertionEvent" type="xs:boolean"/>
145             <xs:element name="DeassertionEvent" type="xs:boolean"/>
146             <xs:element name="Index" type="xs:unsignedByte"/>
147             <xs:element name="DeviceAddress" type="xs:unsignedByte"/>
148             <xs:element name="EventSensorType" type="xs:unsignedByte"/>
149             <xs:element name="EventType" type="xs:unsignedByte"/>
150             <xs:element name="EventOffset" type="xs:unsignedByte"/>
151             <xs:element name="EventSourceType" type="xs:unsignedByte"/>
152             <xs:element name="EventSeverity" type="emi:EventSeverityType"/>
153             <xs:element name="SensorNumber" type="xs:unsignedByte"/>
154             <xs:element name="Entity" type="xs:unsignedByte"/>
155             <xs:element name="EntityInstance" type="xs:unsignedByte"/>
156         </xs:sequence>
157     </xs:complexType>
158     <xs:complexType name="ByteStr">
159         <xs:sequence>
160             <xs:element name="Byte" type="xs:unsignedByte" minOccurs="1" maxOccurs="16"/>
161         </xs:sequence>
162     </xs:complexType>
163     <xs:element name="CancelAlertSubscription">
164         <xs:complexType>
165             <xs:sequence>
166                 <xs:element name="SubscriptionHandle" type="emi:AlertSubscriptionHandleType"/>
167             </xs:sequence>
168         </xs:complexType>
169     </xs:element>
170     <xs:element name="CancelAlertSubscriptionResponse">
171         <xs:complexType>
172             <xs:sequence>
173                 <xs:element name="Status" type="emi:PT_STATUS"/>
174             </xs:sequence>
175         </xs:complexType>
176     </xs:element>
177
178     <!-- Intel(r) AMT 2.5 -->
179     <xs:complexType name="AlertCredentialsType">
180         <xs:sequence>
181             <xs:element name="Username" type="xs:string"/>
182             <xs:element name="Password" type="xs:string"/>
183         </xs:sequence>
184     </xs:complexType>
185     <xs:simpleType name="AlertAuthOptionsType">
186         <xs:restriction base="xs:string">
187             <xs:enumeration value="Kerberos" />
188             <xs:enumeration value="Digest" />
189             <xs:enumeration value="Basic" />
190         </xs:restriction>
191     </xs:simpleType>
192     <xs:simpleType name="CommunityStringType">
193         <xs:restriction base="xs:string">
194             <xs:minLength value="1"/>
195             <xs:maxLength value="16"/>
196         </xs:restriction>
197     </xs:simpleType>
198
199     <!-- Intel(r) AMT 2.5 -->
200     <xs:complexType name="AlertSubscriptionSNMPType">
201         <xs:sequence>
202             <xs:element name="Address" type="cmn:NodeAddressType"/>
203             <xs:element name="CommunityString" type="emi:CommunityStringType" minOccurs="0"/>
204         </xs:sequence>
205     </xs:complexType>
206     <xs:complexType name="AlertSubscriptionSoapType">
207         <xs:sequence>
208             <xs:element name="Address" type="cmn:URLType"/>
209             <xs:element name="ClientCredentials" type="sai:CertificateHandleType" minOccurs="0"/>
210             <xs:element name="UserCredentials" type="emi:AlertCredentialsType" minOccurs="0"/>
211             <xs:element name="AlertAuthOptions" type="emi:AlertAuthOptionsType" minOccurs="0" maxOccurs="3"/>
212         </xs:sequence>
213     </xs:complexType>
214     <xs:complexType name="AlertSubscriptionGeneralType">
215         <xs:sequence>
216             <xs:element name="PolicyID" type="emi:AlertSubscriptionPolicyIDType"/>
217             <xs:choice>
218                 <xs:element name="AlertSubscriptionSNMP" type="emi:AlertSubscriptionSNMPType"/>
219                 <xs:element name="AlertSubscriptionSoap" type="emi:AlertSubscriptionSoapType"/>
220             </xs:choice>
221             <xs:any minOccurs="0" namespace="##other" processContents="lax" />            
222         </xs:sequence>
223     </xs:complexType>
224
225     <xs:element name="SubscribeForGeneralAlert">
226         <xs:complexType>
227             <xs:sequence>
228                 <xs:element name="SubscriptionInfo" type="emi:AlertSubscriptionGeneralType"/>
229             </xs:sequence>
230         </xs:complexType>
231     </xs:element>
232     <xs:element name="SubscribeForGeneralAlertResponse">
233         <xs:complexType>
234             <xs:sequence>
235                 <xs:element name="Status" type="emi:PT_STATUS"/>
236                 <xs:element name="SubscriptionHandle" type="emi:AlertSubscriptionHandleType"/>
237             </xs:sequence>
238         </xs:complexType>
239     </xs:element>
240     <xs:element name="EnumerateGeneralAlertSubscriptions">
241         <xs:complexType>
242             <xs:sequence>
243                 <xs:element name="PolicyID" type="emi:AlertSubscriptionPolicyIDType" minOccurs="0"/>
244             </xs:sequence>
245         </xs:complexType>
246     </xs:element>
247     <xs:element name="EnumerateGeneralAlertSubscriptionsResponse">
248         <xs:complexType>
249             <xs:sequence>
250                 <xs:element name="Status" type="emi:PT_STATUS"/>
251                 <xs:element name="SubscriptionHandle" type="emi:AlertSubscriptionHandleType" minOccurs="0" maxOccurs="unbounded"/>
252             </xs:sequence>
253         </xs:complexType>
254     </xs:element>
255     <xs:element name="GetGeneralAlertSubscription">
256         <xs:complexType>
257             <xs:sequence>
258                 <xs:element name="SubscriptionHandle" type="emi:AlertSubscriptionHandleType"/>
259             </xs:sequence>
260         </xs:complexType>
261     </xs:element>
262     <xs:element name="GetGeneralAlertSubscriptionResponse">
263         <xs:complexType>
264             <xs:sequence>
265                 <xs:element name="Status" type="emi:PT_STATUS"/>
266                 <xs:element name="SubscriptionInfo" type="emi:AlertSubscriptionGeneralType"/>
267             </xs:sequence>
268         </xs:complexType>
269     </xs:element>
270
271 </xs:schema>