DMTF is a not-for-profit association of industry members
dedicated to promoting enterprise and systems management and interoperability.
Members and non-members may reproduce DMTF specifications and documents
for uses consistent with this purpose, provided that correct attribution
is given. As DMTF specifications may be revised from time to time,
the particular version and release date should always be noted.
Implementation of certain elements of this standard or
proposed standard may be subject to third party patent rights, including
provisional patent rights (herein "patent rights"). DMTF makes no representations
to users of the standard as to the existence of such rights, and is not
responsible to recognize, disclose, or identify any or all such third party
patent right, owners or claimants, nor for any incomplete or inaccurate
identification or disclosure of such rights, owners or claimants. DMTF
shall have no liability to any party, in any manner or circumstance, under
any legal theory whatsoever, for failure to recognize, disclose, or identify
any such third party patent rights, or for such party’s reliance on the
standard or incorporation thereof in its product, protocols or testing
procedures. DMTF shall have no liability to any party implementing such
standard, whether such implementation is foreseeable or not, nor to any
patent owner or claimant, and shall have no liability or responsibility
for costs or losses incurred if a standard is withdrawn or modified after
publication, and shall be indemnified and held harmless by any party implementing
the standard from any and all claims of infringement by a patent owner
for such implementations.
For information about patents held by third-parties
which have notified the DMTF that, in their opinion, such patent may relate
to or impact implementations of DMTF standards, visit http://www.dmtf.org/about/policies/disclosures.php.
The Hypertext Transfer Protocol (HTTP) [6,7,10] is an application-level protocol for distributed, collaborative, hypermedia information systems. It is a generic stateless protocol which can be used for many tasks through extension of its request methods, error codes and headers.
The Extensible Markup Language (XML) [3] is a simplified subset of SGML that offers powerful and extensible data modeling capabilities. An XML Document is a collection of data represented in XML. An XML Schema is a grammar that describes the structure of an XML Document.
This document defines a mapping of CIM Messages onto HTTP that allows implementations of CIM to interoperate in an open, standardized manner. It utilizes the CIM XML DTD [2,11] that defines the XML Schema for CIM objects and messages.
The remainder of this document is structured as follows.
The following criteria have been applied to the representation of CIM messages in XML [2,11]:
This specification uses the same notational conventions and basic parsing constructs as defined in [7].
Examples are displayed in this fashion:
This is an example |
Definitions are illustrated thusly:
This is a definition |
A CIM Message is a well-defined request or
response data packet used to exchange information between CIM products.
There are currently two types of CIM Messages: CIM Operation
Messages and CIM Export Messages.
XML is used as the basis for this description, and in particular the CIM XML DTD [2,11].
XML DTDs are restricted to these terms to describe XML documents, but this document requires a further classification of an XML document with respect to a DTD. Henceforth the term loosely valid is defined to apply to an XML Document with the following characteristics:
The motivation for introducing this class of XML Documents is to relax the restrictions on a CIM Client, CIM Server or CIM Listener when parsing received XML documents defined within the scope of this mapping. It is recognized that not all Clients (respectively, CIM Servers or CIM Listeners) should be required to validate each received CIM Message Response (respectively, CIM Message Request) as this would place too great a processing burden on the validating entity at the expense of footprint and performance, most notably in communication between robust and conformant implementations of this mapping.
Instead the following requirements are made by this specification:
Any CIM Message conforming to this specification MUST specify a value of "1.0" or "1.1" for the PROTOCOLVERSION attribute of the <MESSAGE> element.
An Operation Response Message sent in response to an Operation Request Message MUST:
A Multiple Operation Request is an Operation Request Message that contains a <MULTIREQ> subelement. A Multiple Operation Response is an Operation Response Message that contains a <MULTIRSP> subelement.
An Export Response Message sent in response to an Export Request Message MUST:
A Multiple Export Request is an Export Request Message that contains
a <MULTIEXPREQ> subelement. A Multiple Export Response is an Export
Response Message that contains a <MULTIEXPRSP> subelement.
An extrinsic method call is represented in XML by the <METHODCALL> element, and the response to that call represented by the <METHODRESPONSE> element.
An intrinsic method call is represented in XML by the <IMETHODCALL> element, and the response to that call represented by the <IMETHODRESPONSE> element.
An Input parameter is one with an IN Qualifier (with value true) in the Method definition. An Output parameter is one with an OUT Qualifier (with value true) in the Method definition. A parameter may be both an Input and Output parameter.
The <METHODCALL> or <IMETHODCALL> element serves to name the method to be invoked and supply any Input parameters to the method call. Note that:
If the method is intrinsic then the <SIMPLEREQ> MUST contain a <IMETHODCALL> element, which in turn contains a <LOCALNAMESPACEPATH> subelement identifying the local CIM Namespace against which the method is to be executed. If the method is extrinsic then the <SIMPLEREQ> element MUST contain a <METHODCALL> element which in turn contains either:
A <MULTIREQ> (respectively, <MULTIRSP>) element is a sequence of two or more <SIMPLEREQ> (respectively, <SIMPLERSP>) elements.
A <MULTIRSP> element MUST contain a <SIMPLERSP> element for every <SIMPLEREQ> element in the corresponding Multiple Operation Response, and these <SIMPLERSP> elements MUST be in the same order as their <SIMPLEREQ> counterparts (so the first <SIMPLERSP> in the response corresponds to the first <SIMPLEREQ> in the request, and so forth).
Multiple Operations provide a convenient mechanism whereby multiple method invocations may be batched into a single HTTP Message, thereby reducing the number of roundtrips between a CIM Client and a CIM Server and allowing the CIM Server to make certain internal optimizations should it choose so to do. Note that Multiple Operations do not confer any transactional capabilities in the processing of the request (for example, there is no requirement that the CIM Server guarantee that the constituent method calls either all failed or all succeeded, only that the entity make a "best effort" to process the operation). However, servers MUST process each operation in a batched operation to completion before executing the next operation in the batch. Clients MUST recognize that the order of operations within a batched operation is significant in the manner described in the last sentence.
Not all CIM Servers support Multiple Operations; the means by which they declare support for this feature is defined in the section on Determining CIM Server Capabilities.
The symbolic names defined in the table below do not appear on the wire. They are used here solely as a convenient way to refer to an error in other parts of this specification.
Not all methods would be expected to return all the status codes listed
below. For intrinsic methods, the relevant section
on each method in this specification defines the expected error codes to
be returned. For extrinsic methods the specification of which of
the following codes can be used is described in the section on
Extrinsic
Method Invocation .
The following intrinsic methods are defined by this specification:
This notation admits of the decoration of parameters with a number of pseudo-qualifiers (IN, OPTIONAL and NULL) to define their invocation semantics. It is important to understand that these qualifiers are used for description purposes only within the scope of this specification, and in particular a CIM Client MUST NOT specify them in intrinsic method invocations.
This notation uses the IN qualifier to denote that the parameter is an input parameter.
A CIM Client MAY omit an optional parameter in the case that the required value is the specified default, by not specifying an <IPARAMVALUE> element for that parameter. It MUST NOT omit any parameter that is not marked as optional. A CIM Server MAY omit support for an optional parameter. Any attempt to call a method with an optional parameter that is not supported SHOULD return CIM_ERR_NOT_SUPPORTED, but MAY return CIM_ERR_INVALID_PARAMETER.
This notation uses the NULL qualifier to indicate parameters whose values may be specified as NULL in a method call. A NULL (unassigned) value for a parameter is specified by an <IPARAMVALUE> element with no subelement. For parameters which do not possess the NULL qualifier, the CIM Client MUST specify a value for the parameter by including a suitable subelement for the <IPARAMVALUE> element for that parameter.
All parameters MUST be named uniquely, and MUST correspond to a valid parameter name for that method as described by this specification. The order of the parameters is not significant.
The non-NULL values of intrinsic method parameters or return values which are modeled as standard CIM types (such as string and boolean, or arrays thereof) are represented as follows:
GetClass |
<class>GetClass (
[IN] <className> ClassName, [IN,OPTIONAL] boolean LocalOnly = true, [IN,OPTIONAL] boolean IncludeQualifiers = true, [IN,OPTIONAL] boolean IncludeClassOrigin = false, [IN,OPTIONAL,NULL] string PropertyList [] = NULL ) |
The ClassName input parameter defines the name of the Class to be retrieved.
If the LocalOnly input parameter is true, this specifies that only CIM Elements (properties, methods and qualifiers) defined or overridden within the definition of the Class (as specified in the classname input parameter) are returned. If false, all elements are returned.
If the IncludeQualifiers input parameter is true, this specifies that all Qualifiers for that Class (including Qualifiers on the Class and on any returned Properties, Methods or Method Parameters) MUST be included as <QUALIFIER> elements in the response. If false no <QUALIFIER> elements are present in the returned Class.
If the IncludeClassOrigin input parameter is true, this specifies that the CLASSORIGIN attribute MUST be present on all appropriate elements in the returned Class. If false, no CLASSORIGIN attributes are present in the returned Class.
If the PropertyList input parameter is not NULL, the members of the array define one or more Property names. The returned Class MUST NOT include elements for any Properties missing from this list. Note that if LocalOnly is specified as true this acts as an additional filter on the set of Properties returned (for example, if Property A is included in the PropertyList but LocalOnly is set to true and A is not local to the requested Class, then it will not be included in the response). If the PropertyList input parameter is an empty array this signifies that no Properties are included in the response. If the PropertyList input parameter is NULL this specifies that all Properties (subject to the conditions expressed by the other parameters) are included in the response.
If the PropertyList contains duplicate elements, the Server MUST ignore the duplicates but otherwise process the request normally. If the PropertyList contains elements which are invalid Property names for the target Class, the Server MUST ignore such entries but otherwise process the request normally.
If successful, the return value is a single CIM Class.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
GetInstance |
<instance>GetInstance
(
[IN] <instanceName> InstanceName, [IN,OPTIONAL] boolean LocalOnly = true, [IN,OPTIONAL] boolean IncludeQualifiers = false, [IN,OPTIONAL] boolean IncludeClassOrigin = false, [IN,OPTIONAL,NULL] string PropertyList [] = NULL ) |
The InstanceName input parameter defines the name of the Instance to be retrieved.
If the LocalOnly input parameter is true, this specifies that only CIM Elements (properties, methods and qualifiers) defined or overridden within the definition of the Class (as specified in the classname input parameter) are returned. If false, all elements are returned. When instances are returned, the InstanceName must include all keys, including propagated keys. So these attributes are included in the “name” part of the method response, but not always in the “value” information.
If the IncludeQualifiers input parameter is true, this specifies that all Qualifiers for that Instance (including Qualifiers on the Instance and on any returned Properties) MUST be included as <QUALIFIER> elements in the response. If false no <QUALIFIER> elements are present in the returned Instance.
If the IncludeClassOrigin input parameter is true, this specifies that the CLASSORIGIN attribute MUST be present on all appropriate elements in the returned Instance. If false, no CLASSORIGIN attributes are present in the returned Instance.
If the PropertyList input parameter is not NULL, the members of the array define one or more Property names. The returned Instance MUST NOT include elements for any Properties missing from this list. Note that if LocalOnly is specified as true this acts as an additional filter on the set of Properties returned (for example, if Property A is included in the PropertyList but LocalOnly is set to true and A is not local to the requested Instance, then it will not be included in the response). If the PropertyList input parameter is an empty array this signifies that no Properties are included in the response. If the PropertyList input parameter is NULL this specifies that all Properties (subject to the conditions expressed by the other parameters) are included in the response.
If the PropertyList contains duplicate elements, the Server MUST ignore the duplicates but otherwise process the request normally. If the PropertyList contains elements which are invalid Property names for the target Instance, the Server MUST ignore such entries but otherwise process the request normally.
If successful, the return value is a single CIM Instance.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
DeleteClass |
void DeleteClass (
[IN] <className> ClassName ) |
The ClassName input parameter defines the name of the Class to be deleted.
If successful, the specified Class (including any subclasses and any instances) MUST have been removed by the CIM Server. The operation MUST fail if any one of these objects cannot be deleted.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
DeleteInstance |
void DeleteInstance (
[IN] <instanceName> InstanceName ) |
The InstanceName input parameter defines the name (model path) of the Instance to be deleted.
The deletion of the Instance may or may not cause the automatic deletion of additional instances.For example, the deletion of an instance may cause the automatic deletion of all associations that reference that instance. Or the deletion of an instance may cause the automatic deletion of instances (and their associations) that have a Min(1) relationship to that instance.
If successful, the specified Instance MUST have been removed by the CIM Server.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
CreateClass |
void CreateClass (
[IN] <class> NewClass ) |
The NewClass input parameter defines the new Class. The proposed definition MUST be a correct Class definition according to the CIM specification [1].
In processing the creation of the new Class, the following rules MUST be conformed to by the CIM Server:
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
CreateInstance |
<instanceName>CreateInstance
(
[IN] <instance> NewInstance ) |
The NewInstance input parameter defines the new Instance. The proposed definition MUST be a correct Instance definition for the underlying CIM Class according to the CIM specification [1].
In processing the creation of the new Instance, the following rules MUST be conformed to by the CIM Server:
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
ModifyClass |
void ModifyClass (
[IN] <class> ModifiedClass ) |
The ModifiedClass input parameter defines the set of changes (which MUST be correct amendments to the CIM Class as defined by the CIM Specification [1]) to be made to the current class definition.
In processing the modification of the Class, the following rules MUST be conformed to by the CIM Server:
The request to modify the Class MUST fail if the Server cannot update any existing Subclasses or Instances of that Class in a consistent manner.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
ModifyInstance |
void ModifyInstance (
[IN] <namedInstance> ModifiedInstance, [IN, OPTIONAL] boolean IncludeQualifiers = true, [IN, OPTIONAL, NULL] string propertyList[] = NULL ) |
The ModifiedInstance input parameter identifies the name of the Instance to be modified, and defines the set of changes (which MUST be correct amendments to the Instance as defined by the CIM Specification [1]) to be made to the current Instance definition.
If the IncludeQualifiers input parameter is true, this specifies that the Qualifiers are modified as specified in the ModifiedInstance. If false, Qualifiers in the ModifiedInstance are ignored and no Qualifiers are explicitly modified in the specified Instance.
If the PropertyList input parameter is not NULL, the members of the array define one or more Property names. Only those properties specified in the PropertyList are modified as specified in the ModifiedInstance. Properties of the ModifiedInstance that are missing from the PropertyList are ignored. If the PropertyList input parameter is an empty array this signifies that no Properties are explicitly modified in the specified Instance. If the PropertyList input parameter is NULL this specifies that all Properties are updated in the specified Instance.
If the PropertyList contains duplicate elements, the Server MUST ignore the duplicates but otherwise process the request normally. If the PropertyList contains elements which are invalid Property names for the target Instance, the Server MUST ignore such entries but otherwise process the request normally.
In processing the modification of the Instance, the following rules MUST be conformed to by the CIM Server:
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
EnumerateClasses |
<class>*EnumerateClasses
(
[IN,OPTIONAL,NULL] <className> ClassName=NULL, [IN,OPTIONAL] boolean DeepInheritance = false, [IN,OPTIONAL] boolean LocalOnly = true, [IN,OPTIONAL] boolean IncludeQualifiers = true, [IN,OPTIONAL] boolean IncludeClassOrigin = false ) |
The ClassName input parameter defines the Class that is the basis for the enumeration.
If the DeepInheritance input parameter is true, this specifies that all subclasses of the specified Class should be returned (if the ClassName input parameter is absent, this implies that all Classes in the target Namespace should be returned). If false, only immediate child subclasses are returned (if the ClassName input parameter is NULL, this implies that all base Classes in the target Namespace should be returned). This definition of DeepInheritance applies only to the EnumerateClasses and EnumerateClassName operations.
If the LocalOnly input parameter is true, this specifies that only CIM Elements (properties, methods and qualifiers) defined or overridden within the definition of the Class (as specified in the classname input parameter) are returned. If false, all elements are returned.
If the IncludeQualifiers input parameter is true, this specifies that all Qualifiers for each Class (including Qualifiers on the Class and on any returned Properties, Methods or Method Parameters) MUST be included as <QUALIFIER> elements in the response. If false no <QUALIFIER> elements are present in each returned Class.
If the IncludeClassOrigin input parameter is true, this specifies that the CLASSORIGIN attribute MUST be present on all appropriate elements in each returned Class. If false, no CLASSORIGIN attributes are present in each returned Class.
If successful, the method returns zero or more Classes that meet the required criteria.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
EnumerateClassNames |
<className>*EnumerateClassNames
(
[IN,OPTIONAL,NULL] <className> ClassName = NULL, [IN,OPTIONAL] boolean DeepInheritance = false ) |
The ClassName input parameter defines the Class that is the basis for the enumeration.
If the DeepInheritance input parameter istrue, this specifies that the names of all subclasses of the specified Class should be returned (if theClassName input parameter is absent, this implies that the names of all Classes in the target Namespace should be returned). If false, only the names of immediate child subclasses are returned (if theClassName input parameter is NULL, this implies that the names of all base Classes in the target Namespace should be returned). This definition of DeepInheritance applies only to the EnumerateClasses and EnumerateClassName operations.
If successful, the method returns zero or more names of Classes that meet the requested criteria.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
EnumerateInstances |
<namedInstance>*EnumerateInstances
(
[IN] <className> ClassName, [IN,OPTIONAL] boolean LocalOnly = true, [IN,OPTIONAL] boolean DeepInheritance = true, [IN,OPTIONAL] boolean IncludeQualifiers = false, [IN,OPTIONAL] boolean IncludeClassOrigin = false, [IN,OPTIONAL,NULL] string PropertyList [] = NULL ) |
The ClassName input parameter defines the Class that is the basis for the enumeration.
Used in combination, the LocalOnly and DeepInheritance input parameters describe the elements for Properties that are to be included as part of the returned Instances. If the DeepInheritance input parameter is true and the LocalOnly input parameter is false, then the elements for all defined Properties are returned. This includes elements for Properties explicitly defined in the designated class, elements for inherited Properties, and elements for any Properties defined in subclasses of the designated class. If the DeepInheritance input parameter is true and the LocalOnly input parameter is true, then only elements for Properties defined in the designated class or one of the subclasses of the designated class are returned. This does not include elements for inherited Properties, but does include elements for Properties explicitly defined in the designated class or one of the subclasses of the designated class. If the DeepInheritance input parameter is false and the LocalOnly input parameter is true, then only elements for Properties defined in the designated class are returned. This does not include elements for inherited Properties or elements for Properties defined in subclasses of the designated class, but does includes elements for Properties explicitly defined in the designated class. If the DeepInheritance input parameter is false and the LocalOnly input parameter is false, then only elements for Properties defined in the designated class or one the superclasses of the designated class are returned. This includes elements for Properties explicitly defined in the designated class and elements of inherited properties, but does not include elements of properties defined in subclasses of the designated class.
If the IncludeQualifiers input parameter is true, this specifies that all Qualifiers for each Instance (including Qualifiers on the Instance and on any returned Properties) MUST be included as <QUALIFIER> elements in the response. If false no <QUALIFIER> elements are present in each returned Instance.
If the IncludeClassOrigin input parameter is true, this specifies that the CLASSORIGIN attribute MUST be present on all appropriate elements in each returned Instance. If false, no CLASSORIGIN attributes are present in each returned Instance.
If the PropertyList input parameter is not NULL, the members of the array define one or more Property names of the designated class. This may include inherited Property names or Property names explicitly defined in the designated class, but MAY NOT include Property names defined in subclasses of the designated class. Each returned Instance MUST NOT include elements for any Properties missing from this list. Note that the PropertyList parameter acts as an additional filter on the Properties defined by the LocalOnly and DeepInheritance input parameters; if the PropertyList includes a Property that is not in the set defined by the LocalOnly and DeepInheritance combination, the element for the Property MUST NOT be returned. If the PropertyList input parameter is an empty array this signifies that no elements for Properties are included in the returned Instances. If the PropertyList input parameter is NULL, no additional filtering is defined by this parameter.
If the PropertyList contains duplicate elements, the Server MUST ignore the duplicates but otherwise process the request normally. If the PropertyList contains elements which are invalid Property names for any target Instance, the Server MUST ignore such entries but otherwise process the request normally.
If successful, the method returns zero or more named Instances that meet the required criteria.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
EnumerateInstanceNames |
<instanceName>*EnumerateInstanceNames
(
[IN] <className> ClassName ) |
The ClassName input parameter defines the Class that is the basis for the enumeration.
If successful, the method returns zero or more names of Instances (model paths) that meet the requsted criteria.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
ExecQuery |
<object>*ExecQuery (
[IN] string QueryLanguage, [IN] string Query ) |
The QueryLanguage input parameter defines the query language in which the Query parameter is expressed.
The Query input parameter defines the query to be executed.
Neither the Query language nor the format of the Query are defined by this specification. It is anticipated that Query languages will be submitted to the DMTF as separate proposals.
A mechanism whereby CIM Servers can declare which query languages they support (if any) is defined in Determining CIM Server Capabilities.
If successful, the method returns zero or more CIM Classes or Instances that correspond to the results set of the query.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
Associators |
<objectWithPath>*Associators
(
[IN] <objectName> ObjectName, [IN,OPTIONAL,NULL] <className> AssocClass = NULL, [IN,OPTIONAL,NULL] <className> ResultClass = NULL, [IN,OPTIONAL,NULL] string Role = NULL, [IN,OPTIONAL,NULL] string ResultRole = NULL, [IN,OPTIONAL] boolean IncludeQualifiers = false, [IN,OPTIONAL] boolean IncludeClassOrigin = false, [IN,OPTIONAL,NULL] string PropertyList [] = NULL ) |
The ObjectName input parameter defines the source CIM Object whose associated Objects are to be returned. This may be either a Class name or Instance name (model path).
The AssocClass input parameter, if not NULL, MUST be a valid CIM Association Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Instance of this Class or one of its subclasses.
The ResultClass input parameter, if not NULL, MUST be a valid CIM Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses) or be this Class (or one of its subclasses).
The Role input parameter, if not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter).
The ResultRole input parameter, if not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the returned Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the returned Object MUST match the value of this parameter).
If the IncludeQualifiers input parameter is true, this specifies that all Qualifiers for each Object (including Qualifiers on the Object and on any returned Properties) MUST be included as <QUALIFIER> elements in the response. If false no <QUALIFIER> elements are present in each returned Object.
If the IncludeClassOrigin input parameter is true, this specifies that the CLASSORIGIN attribute MUST be present on all appropriate elements in each returned Object. If false, no CLASSORIGIN attributes are present in each returned Object.
If the PropertyList input parameter is not NULL, the members of the array define one or more Property names. Each returned Object MUST NOT include elements for any Properties missing from this list. If the PropertyList input parameter is an empty array this signifies that no Properties are included in each returned Object. If the PropertyList input parameter is NULL this specifies that all Properties (subject to the conditions expressed by the other parameters) are included in each returned Object.
If the PropertyList contains duplicate elements, the Server MUST ignore the duplicates but otherwise process the request normally. If the PropertyList contains elements which are invalid Property names for any target Object, the Server MUST ignore such entries but otherwise process the request normally.
Clients SHOULD NOT explicitly specify properties in the PropertyList parameter unless they have specified a non-NULL value for the ResultClass parameter.
If successful, the method returns zero or more CIM Classes or Instances meeting the requested criteria. Since it is possible for CIM Objects from different hosts or namespaces to be associated, each returned Object includes location information.If the ObjectName refers to a class, then classes are returned.Otherwise, the ObjectName refers to an instance, and instances are returned.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
AssociatorNames |
<objectPath>*AssociatorNames
(
[IN] <objectName> ObjectName, [IN,OPTIONAL,NULL] <className> AssocClass = NULL, [IN,OPTIONAL,NULL] <className> ResultClass = NULL, [IN,OPTIONAL,NULL] string Role = NULL, [IN,OPTIONAL,NULL] string ResultRole = NULL ) |
The ObjectName input parameter defines the source CIM Object whose associated names are to be returned. This is either a Class name or Instance name (model path).
The AssocClass input parameter, if not NULL, MUST be a valid CIM Association Class name. It acts as a filter on the returned set of names by mandating that each returned name identifies an Object that MUST be associated to the source Object via an Instance of this Class or one of its subclasses.
The ResultClass input parameter, if not NULL, MUST be a valid CIM Class name. It acts as a filter on the returned set of names by mandating that each returned name identifies an Object that MUST be either an Instance of this Class (or one of its subclasses) or be this Class (or one of its subclasses).
The Role input parameter, if not NULL, MUST be a valid Property name. It acts as a filter on the returned set of names by mandating that each returned name identifies an Object that MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter).
The ResultRole input parameter, if not NULL, MUST be a valid Property name. It acts as a filter on the returned set of names by mandating that each returned name identifies an Object that MUST be associated to the source Object via an Association in which the named returned Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the returned Object MUST match the value of this parameter).
If successful, the method returns zero or more CIM Class paths or Instance paths meeting the requested criteria. Since it is possible for CIM Objects from different hosts or namespaces to be associated, each returned Object includes location information.If the ObjectName refers to a Class path, then Class paths are returned.Otherwise, the ObjectName refers to an instance path, and instance paths are returned.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
References |
<objectWithPath>*References
(
[IN] <objectName> ObjectName, [IN,OPTIONAL,NULL] <className> ResultClass = NULL, [IN,OPTIONAL,NULL] string Role = NULL, [IN,OPTIONAL] boolean IncludeQualifiers = false, [IN,OPTIONAL] boolean IncludeClassOrigin = false, [IN,OPTIONAL,NULL] string PropertyList [] = NULL ) |
The ObjectName input parameter defines the target CIM Object whose referring Objects are to be returned. This is either a Class name or Instance name (model path).
The ResultClass input parameter, if not NULL, MUST be a valid CIM Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be an Instance of this Class (or one of its subclasses), or this Class (or one of its subclasses).
The Role input parameter, if not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Objects MUST refer to the target Object via a Property whose name matches the value of this parameter.
If the IncludeQualifiers input parameter is true, this specifies that all Qualifiers for each Object (including Qualifiers on the Object and on any returned Properties) MUST be included as <QUALIFIER> elements in the response. If false no <QUALIFIER> elements are present in each returned Object.
If the IncludeClassOrigin input parameter is true, this specifies that the CLASSORIGIN attribute MUST be present on all appropriate elements in each returned Object. If false, no CLASSORIGIN attributes are present in each returned Object.
If the PropertyList input parameter is not NULL, the members of the array define one or more Property names. Each returned Object MUST NOT include elements for any Properties missing from this list. If the PropertyList input parameter is an empty array this signifies that no Properties are included in each returned Object. If the PropertyList input parameter is NULL this specifies that all Properties (subject to the conditions expressed by the other parameters) are included in each returned Object.
If the PropertyList contains duplicate elements, the Server MUST ignore the duplicates but otherwise process the request normally. If the PropertyList contains elements which are invalid Property names for any target Object, the Server MUST ignore such entries but otherwise process the request normally.
Clients SHOULD NOT explicitly specify properties in the PropertyList parameter unless they have specified a non-NULL value for the ResultClass parameter.
If successful, the method returns zero or more CIM Classes or Instances meeting the requested criteria. Since it is possible for CIM Objects from different hosts or namespaces to be associated, each returned Object includes location information.If the ObjectName refers to a class, then classes are returned.Otherwise, the ObjectName refers to an instance, and instances are returned.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
ReferenceNames |
<objectPath>*ReferenceNames
(
[IN] <objectName> ObjectName, [IN,OPTIONAL,NULL] <className> ResultClass = NULL, [IN,OPTIONAL,NULL] string Role = NULL ) |
The ObjectName input parameter defines the target CIM Object whose referring object names are to be returned. It may be either a Class name or an Instance name (model path).
The ResultClass input parameter, if not NULL, MUST be a valid CIM Class name. It acts as a filter on the returned set of Object Names by mandating that each returned Object Name MUST identify an Instance of this Class (or one of its subclasses), or this Class (or one of its subclasses).
The Role input parameter, if not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Object Names by mandating that each returned Object Name MUST identify an Object that refers to the target Instance via a Property whose name matches the value of this parameter.
If successful, the method returns zero or more CIM Class paths or Instance paths meeting the requested criteria. Since it is possible for CIM Objects from different hosts or namespaces to be associated, each returned Object includes location information.If the ObjectName refers to a Class path, then Class paths are returned.Otherwise, the ObjectName refers to an instance path, and instance paths are returned.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
GetProperty |
<propertyValue>GetProperty
(
[IN] <instanceName> InstanceName, [IN] string PropertyName ) |
The InstanceName input parameter specifies the name of the Instance (model path) from which the Property value is requested.
The PropertyName input parameter specifies the name of the Property whose value is to be returned.
If successful, the return value specifies the value of the requested Property. If the value is NULL then no element is returned.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
SetProperty |
void SetProperty (
[IN] <instanceName> InstanceName, [IN] string PropertyName, [IN,OPTIONAL,NULL] <propertyValue> NewValue = NULL ) |
The InstanceName input parameter specifies the name of the Instance (model path) for which the Property value is to be updated.
The PropertyName input parameter specifies the name of the Property whose value is to be updated.
The NewValue input parameter specifies the new value for the Property (which may be NULL).
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
GetQualifier |
<qualifierDecl>GetQualifier
(
[IN] string QualifierName ) |
The QualifierName input parameter identifies the Qualifier whose declaration to be retrieved.
If successful, the method returns the Qualifier declaration for the named Qualifier.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
SetQualifier |
void SetQualifier (
[IN] <qualifierDecl> QualifierDeclaration ) |
The QualifierDeclaration input parameter defines the Qualifier Declaration to be added to the Namespace.
If successful, the Qualifier declaration MUST have been added to the target Namespace. If a Qualifier declaration with the same Qualifier name already existed, then it MUST have been replaced by the new declaration.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
DeleteQualifier |
void DeleteQualifier (
[IN] string QualifierName ) |
The QualifierName input parameter identifies the Qualifier whose declaration to be deleted.
If successful, the specified Qualifier declaration MUST have been deleted from the Namespace.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
EnumerateQualifiers |
<qualifierDecl>*EnumerateQualifiers
(
) |
If successful, the method returns zero or more Qualifier declarations.
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
The proposed definition MUST be a correct namespace definition according to the CIM specification [1]. Despite the naming conventions used in the CIM specifications (Use of / in namespaces such as root/CIMV2 and root/CIMV2/test) there is no hierarchy implied between different namespaces. Each namespace is independent of all others. The namespaces are to be considered flat and there is no defined behavior for navigating namespaces.
In processing the creation of the new namespace, the following rules MUST be conformed to by the CIM Server:
The namespace defined by name property
MUST NOT already exist in the CIM Server.
The <LOCALNAMESPACEPATH> defined for the
operation defines the namespace in which the CIM_Namespace instance associated
with this new namespace is created.
It is the common practice proposed by this document that instances of CIM_Namespace be created in root unless there is a specific reason to define them in another namespace.
The inclusion of a CIM_Namespace instance within a namespace other than root is allowed.
In addition to creating instances of CIM_Namespace, compliant implementations MUST also create an instance of the association class CIM_NamespaceInManager defining the linking of the namespace created to the current CIM_ObjectManager.
If successful, the specified Namespace MUST have been created by the CIM Server. In addition, the CIM Server MUST return information about the namespace as an instance of the class CIM_Namespace and of returning instances of the association class CIM_NamespaceInManager for each CIM_Namespace instance created.
Deletion of a namespace is realized by calling the intrinsic method
DeleteInstance for the class CIM_Namespace against the namespace containing
this instance, specifying the InstanceName for the instance of CIM_Namespace
corresponding to the namespace to be deleted.
In processing the deletion of the new Namespace, the following rules MUST be conformed to by the CIM Server:
The namespace to be deleted MUST exist in the
target CIM Server.
The namespace to be deleted MUST be empty
-- it MUST NOT contain any classes or instances.
If successful, the specified namespace MUST have been deleted by the CIM Server. In addition, any reference to this namespace through an instance of the CIM_Namespace class or subclasses MUST be deleted so that CIM operation requests for the instance representing the deleted namespace will be returned "CIM_ERR_NOT_FOUND". If the Namespace cannot be deleted (for example, it is not empty), the CIM error response CIM_ERR_NAMESPACE_NOT_EMPTY MUST be returned.
The query of namespaces is provided through:
1. Query of the CIM_Namespace class on an individual
namespace.
2. Use of the CIM_NamespaceInManager association
which links the target CIM_ObjectManager and the instances of CIM_Namespace
representing all namespaces defined in the target CIM_ObjectManager
There are no intrinsic methods defined specifically for the purpose of manipulating CIM Namespaces. However, the modeling of a CIM Namespace using the class __Namespace, together with the requirement that the root Namespace MUST be supported by all CIM Servers, implies that all Namespace operations can be supported.
For example:
Enumeration of
all child Namespaces of a particular Namespace is realized by calling the
intrinsic method EnumerateInstanceNames against the parent Namespace, specifying
a value for the ClassName parameter of __Namespace.
Creation of
a child Namespace is realized by calling the intrinsic method CreateInstance
against the parent Namespace, specifying a value for the NewInstance parameter
which defines a valid instance of the class __Namespace and whose Name
property is the desired name of the new Namespace.
The use of the __Namespace class is deprecated. In its place, use the CIM_Namespace class and the behavior as defined in section 2.3.3.1 of this specification.
Support for a particular group does not guarantee that all invocations of any method in that group will succeed. Rather, the exclusion of a group is a declaration that any attempt to call a method in that group will always return CIM_ERR_NOT_SUPPORTED.
Mechanisms by which a CIM Server may declare the functional groups that it supports are defined in the section on Determining CIM Server Capabilities.
In order to limit the number of different profiles that may be supported by a CIM Server, each functional group has a dependency on another group (with the exception of the Basic Read functional group). If functional group G1 has a dependency on functional group G2, then a CIM Server which supports G1 MUST also support G2.
The dependency relation is transitive, so that if G1 depends on G2, and G2 depends on G3, then G1 depends on G3. It is also anti-symmetric, so that if G1 depends on G2 then G2 cannot depend on G1.
Using these rules, the table below defines a rooted directed tree of dependencies with the Basic Read dependency representing the root node.
For example, a CIM Server which supports the Schema Manipulation functional
group MUST also support the Instance Manipulation, Basic Write and Basic
Read.
|
|
|
Basic Read | none | GetClass
EnumerateClasses EnumerateClassNames GetInstance EnumerateInstances EnumerateInstanceNames GetProperty |
Basic Write | Basic Read | SetProperty |
Schema Manipulation | Instance Manipulation | CreateClass
ModifyClass DeleteClass |
Instance Manipulation | Basic Write | CreateInstance
ModifyInstance DeleteInstance |
Association Traversal | Basic Read | Associators
AssociatorNames References ReferenceNames |
Query Execution | Basic Read | ExecQuery |
Qualifier Declaration | Schema Manipulation | GetQualifier
SetQualifier DeleteQualifier EnumerateQualifiers |
If the CIM Server is unable to perform the extrinsic method invocation, one of the following status codes MUST be returned by the CIM Server, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional specific interpretation of the error is given in parentheses.
An export method call is represented in XML by the <EXPMETHODCALL> element, and the response to that call represented by the <EXPMETHODRESPONSE> element.
An Input parameter is one with an IN Qualifier (with value true) in the Method definition. An Output parameter is one with an OUT Qualifier (with value true) in the Method definition. A parameter may be both an Input and Output parameter.
The <EXPMETHODCALL> element serves to name the method to be invoked and supply any Input parameters to the export method call. Note that:
The <EXPMETHODRESPONSE> element defines either an <ERROR>
or a (possibly optional) return value and output parameters (i.e. one decorated
with the OUT Qualifier in the method definition). In the latter case:
The method invocation process may be thought of as:
A simple export is defined as one that requires the invocation of
a single export method. A simple export request is represented by
a <SIMPLEEXPREQ> element, and a simple export response by a <SIMPLEEXPRSP>
element.
A <SIMPLEEXPREQ> MUST contain a <EXPMETHODCALL> element.
A multiple export is defined as one that requires the invocation
of more than one export method. A multiple export request is represented
by a <MULTEXPREQ> element, and a multiple export response by a <MULTIEXPRSP>
element.
A <MULTIEXPREQ> (respectively, <MULTIEXPRSP>) element is a sequence of two or more <SIMPLEEXPREQ> (respectively, <SIMPLEEXPRSP>) elements.
A <MULTIEXPRSP> element MUST contain a <SIMPLEEXPRSP> element for every <SIMPLEEXPREQ> element in the corresponding multiple export response, and these <SIMPLEEXPRSP> elements MUST be in the same order as their <SIMPLEEXPREQ> counterparts (so the first <SIMPLEEXPRSP> in the response corresponds to the first <SIMPLEEXPREQ> in the request, and so forth).
Multiple Exports provide a convenient mechanism to batch the delivery of multiple export method invocations into a single HTTP Message, reducing the number of roundtrips between a CIM Client and a CIM Listener and allowing the CIM Listener to make certain internal optimizations should it choose so to do. Note that Multiple Exports do not confer any transactional capabilities in the processing of the request (for example, there is no requirement that the CIM Listener guarantee that the constituent export method calls either all failed or all succeeded, only that the CIM Listener make a "best effort" to process the operation). However, CIM Listeners MUST process each method invocation in a batched message to completion before executing the next method invocation in the batch. Clients MUST recognize that the order of method calls within a batched message is significant in the manner described in the last sentence.
Not all CIM Listeners support Multiple Exports. If a CIM Listener does not support Multiple Exports it MUST return the status code CIM_ERR_NOT_SUPPORTED.
The symbolic names defined in the table below do not appear on the wire. They are used here solely as a convenient way to refer to an error in other parts of this specification.
Not all methods would be expected to return all the status codes listed
below.
|
|
|
CIM_ERR_FAILED | 1 | A general error occurred that is not covered by a more specific error code |
CIM_ERR_ACCESS_DENIED | 2 | Access was not available to the client |
CIM_ERR_NOT_SUPPORTED | 7 | The requested operation is not supported |
CIM_ERR_TYPE_MISMATCH | 13 | The value supplied is incompatible with the type |
The following export method is defined by this specification:
The convention used in the following subsections to define the signatures
of the export methods is a pseudo-MOF notation that extends the standard
MOF BNF [1] for describing CIM export methods with a number of pseudo parameter
types (which are indicated by being placed within "<" and ">" characters).
This notation admits of the decoration of parameters with a number of pseudo-qualifiers (IN, OPTIONAL and NULL) to define their invocation semantics. It is important to understand that these qualifiers are used for description purposes only within the scope of this specification, and in particular a CIM Client MUST NOT specify them in export method invocations.
This notation uses the IN qualifier to denote that the parameter is an input parameter.
A CIM Client MAY omit an optional parameter in the case that the required value is the specified default, by not specifying an <EXPPARAMVALUE> element for that parameter. It MUST NOT omit any parameter that is not marked as optional.
This notation uses the NULL qualifier to indicate parameters whose values may be specified as NULL in an export method call. A NULL (unassigned) value for a parameter is specified by an <EXPPARAMVALUE> element with no subelement. For parameters which do not possess the NULL qualifier, the CIM Client MUST specify a value for the parameter by including a suitable subelement for the <EXPPARAMVALUE> element for that parameter.
All parameters MUST be named uniquely, and MUST correspond to a valid
parameter name for that method as described by this specification. The
order of the parameters is not
significant.
The non-NULL values of export method parameters or return values that are modeled as standard CIM types (such as string and boolean, or arrays thereof) are represented as follows:
The following table describes how each of the pseudo-types used
by the export methods MUST be mapped to an XML element described in [2]
in the context of both a parameter value (subelement of <EXPPARAMVALUE>)
and a return value (subelement of <IRETURNVALUE>).
|
|
<object> | (VALUE.OBJECT|VALUE.OBJECTWITHLOCALPATH|VALUE.OBJECTWITHPATH) |
<class> | CLASS |
<instance> | INSTANCE |
<className> | CLASSNAME |
<namedInstance> | VALUE.NAMEDINSTANCE |
<instanceName> | INSTANCENAME |
<objectWithPath> | VALUE.OBJECTWITHPATH |
<objectName> | (CLASSNAME|INSTANCENAME) |
<propertyValue> | (VALUE|VALUE.ARRAY|VALUE.REFERENCE) |
<qualifierDecl> | QUALIFIER.DECLARATION |
ExportIndication |
void ExportIndication (
[IN] <instance> NewIndication ) |
The NewIndication input parameter defines the Indication to be exported. The proposed definition SHOULD be a correct instance definition for the underlying CIM Indication Class according to the CIM specification [1].
If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses.
Support for a particular group does not guarantee that all invocations of any export method in that group will succeed. Rather, the exclusion of a group is a declaration that any attempt to call an export method in that group will always return CIM_ERR_NOT_SUPPORTED.
If group G1 has a dependency on functional group G2, then a CIM Listener which supports G1 MUST also support G2.
The dependency relation is transitive, so that if G1 depends on G2,
and G2 depends on G3, then G1 depends on G3. It is also anti-symmetric,
so that if G1 depends on G2 then G2 cannot depend on G1.
Functional Group | Dependency | Method |
Indication | none | ExportIndication |
All CIM Message Responses are carried in the corresponding HTTP Response message to the M-POST or POST request.
In the remainder of this document:
Where it is necessary to distinguish requirements between the use of M-POST and POST, these will be explicitly defined.
The extension mechanism used in this document is based on the HTTP Extension Framework [9]. A goal of the framework is to allow a decentralized naming mechanism whereby parties can introduce additional HTTP Headers without fear of conflicting interpretation of a given Header name.
It is not the intention of this document to replicate information in that document concerning the required behavior of entities that implement this framework; suffice it to say that conforming CIM implementations of this specification protocol MUST abide by all requirements in that document.
Throughout this document the terms CIM Client, CIM Server, CIM Listener
and CIM Product are used as convenient shorthand to refer to the subset
of CIM Products that conform to
this specification.
In the case of a client receiving a 501 or 510 status in response to an M-POST request, then in subsequent invocations to the same HTTP server, the client MAY omit the attempt at M-POST invocations for a suitable period, thus avoiding the need for an extra round trip on each and every method invocation. The details of the caching strategy employed by the client are outside of the scope of this specification.
Given this algorithm, firewalls can if they wish effectively force the use of M-POST by prohibiting POST invocations containing the Extension Header CIMOperation for CIM Operation Messages and the Extension Header CIMExport for CIM Export Messages.
Any CIM Operation Request or CIM Operation Response MUST, and only CIM Operation Requests and Responses MAY, include the following CIM extension header:
Any CIM Operation Request MUST, and only CIM Operation Requests MAY, include one and only one of the following CIM extension header sets: Any CIM Export Request or CIM Export Response MUST, and only CIM Export Requests and Responses MAY, include the following CIM extension header:The full format of the "Man" header declaration for this specification is:
Man = "Man" ":" "http://www.dmtf.org/cim/mapping/http/v1.0" |
";" "ns" "=" header-prefix |
header-prefix = 2*DIGIT |
This header-prefix SHOULD be generated at random on a per-HTTP message basis, and SHOULD NOT necessarily be a specific number.
In accordance with [9], all POST request messages (and their responses) MUST NOT include such a mandatory extension declaration. In POST request messages (and their responses), name space prefixes MUST NOT be used.
Example 1
Using M-POST:
M-POST /cimom HTTP/1.1 |
Man: http://www.dmtf.org./cim/mapping/http/v1.0 ; ns=23 |
23-CIMOperation: MethodCall |
... |
Example 2
Using POST:
POST /cimom HTTP/1.1 |
CIMOperation: MethodCall |
... |
One characteristic of this mapping is that CIM elements that are named with an ASCII representation will appear in ASCII in the resultant URL.
Examples
CIM_LogicalElement is unchanged under this transformation |
The class named using the UCS-2 sequence representing the Hangul characters
for the Korean word "hangugo" (D55C, AD6D, C5B4) becomes
%ED%95%9C%EA%B5%AD%EC%96%B4=10 after UTF-8 transformation and escaping all characters with their % HEX HEX equivalent. |
If the element to be transformed is a <LOCALNAMESPACEPATH> element, the algorithm is as follows:
CIMOperation = "CIMOperation" ":" ("MethodCall" | "MethodResponse") |
A CIM Client MUST include this header, with the value "MethodCall", in all CIM Operation Requests that it issues. A CIM Server MUST include this header in all CIM Operation Responses, with the value "MethodResponse", that it issues.
If a CIM Server receives CIM Operation request with this header, but with a missing value or a value that is not "MethodCall", then it MUST fail the request with status "400 Bad Request". The CIM Server MUST include a CIMError header in the response with a value of unsupported-operation.
If a CIM Server receives a CIM Operation request without this header, it MUST NOT process it as if it were a CIM Operation Request. The status code returned by the CIM Server in response to such a request is outside of the scope of this specification.
If a CIM Client receives a response to a CIM Operation Request without this header (or if this header has a value which is not "MethodResponse"), it SHOULD discard the response, and take appropriate measures to publicize the fact that it has received an incorrect response. The details as to how this is done are outside of the scope of this specification.
This header affords a simple mechanism by which firewall or proxy administrators can make global administrative decisions on all CIM Operations.
This header MUST be present in all CIM Export Request and CIM Export
Response messages. It identifies the HTTP message as carrying a CIM
Export method request or response. CIMExport = "CIMExport" ":" ("MethodRequest"
| "MethodResponse")
A CIM Client MUST include this header, with the value "MethodRequest", in all CIM Export Requests that it issues. A CIM Listener MUST include this header in all CIM Export Responses, with the value "MethodResponse", that it issues.
If a CIM Listener receives a CIM Export request with this header, but with a missing value or a value that is not "MethodRequest", then it MUST fail the request with status "400 Bad Request". The CIM Listener MUST include a CIMError header in the response with a value of unsupported-operation.
If a CIM Listener receives a CIM Export request without this header, it MUST NOT process it. The status code returned by the CIM Listener in response to such a request is outside of the scope of this specification.
If a CIM Client receives a response to a CIM Export Request without this header (or if this header has a value which is not "MethodResponse”), it SHOULD discard the response, and take appropriate measures to publicize the fact that it has received an incorrect response. The details as to how this is done are outside of the scope of this specification.
This header affords a simple mechanism by which firewall or proxy administrators can make global administrative decisions on all CIM Exports.
CIMProtocolVersion = "CIMProtocolVersion" ":" 1*DIGIT "." 1*DIGIT |
If the header is omitted, then a value of 1.0 MUST be assumed.
The major and minor numbers MUST be treated as independent integers which MAY be incremented higher than a single digit. Therefore version x1.y1 is lower than x2.y2 if and only if:
Otherwise, if a CIM Server or CIM Listener receives a CIM Message Request for which the value of this header does not match the value of the PROTOCOLVERSION attribute of the <MESSAGE> element within the Message Request, then it MUST fail the request and return a status of "400 Bad Request" (and MUST include a CIMError header in the response with a value of unsupported-protocol-version), subject to the considerations specified in Errors.
It MUST NOT be present in any CIM
Operation Response message, nor in any CIM
Operation Request message that is not a Simple Operation Request.
It MUST NOT be present in
any CIM Export Request or Response message
The header identifies the name of the CIM method to be invoked, encoded in an HTTP-safe representation. Firewalls and proxies may use this header to carry out routing and forwarding decisions based on the CIM method to be invoked.
The name of the CIM method within a Simple Operation Request is defined to be the value of the NAME attribute of the <METHODCALL> or <IMETHODCALL> element.
CIMMethod = "CIMMethod" ":" MethodName |
MethodName = CIMIdentifier |
If a CIM Server receives a CIM Operation Request for which either:
Note that this verification provides a basic level of assurance that any intermediate firewall or proxy was not acting on misleading information when it decided to forward the request based on the content of the CIMMethod header. Additional securing of HTTP messages against modification in transit (such as the encryption of the payload or appending of a digital signature thereto) would be required to provide a higher degree of integrity.
It MUST NOT be present in any CIM
Operation Response message, nor in any CIM
Operation Request message that that is not a Simple Operation Request.
It MUST NOT be
present in any CIM Export Request or Response message.
The header identifies the CIM object (which MUST be a Class or Instance for an extrinsic method, or a Namespace for an intrinsic method) on which the method is to be invoked, using a CIM object path encoded in an HTTP-safe representation. Firewalls and proxies may use this header to carry out routing and forwarding decisions based on the CIM object that is the target of a method invocation.
CIMObject = "CIMObject" ":" ObjectPath |
ObjectPath = CIMObjectPath |
The ObjectPath value is constructed by applying the algorithm defined in Encoding CIM Object Paths to either:
If a CIM Server receives a CIM Operation Request for which either:
Note that this verification provides a basic level of assurance that any intermediate firewall or proxy was not acting on misleading information when it decided to forward the request based on the content of the CIMObject header. Additional securing of HTTP messages against modification in transit (such as the encryption of the payload or appending of a digital signature thereto) would be required to provide a higher degree of integrity.
It MUST NOT be present in any CIM Export Response message, nor in any
CIM Export Request message that is not a Simple Export Request. It MUST
NOT be present in any CIM
Operation Request or Response message.
The header identifies the name of the CIM export method to be invoked,
encoded in an HTTP-safe representation. Firewalls and proxies may
use this header to carry out routing and
forwarding decisions based on the CIM export method to be invoked.
The name of the CIM export method within a Simple Export Request is defined to be the value of the NAME attribute of the <EXPMETHODCALL> element.
CIMExportMethod = "CIMExportMethod" ":" ExportMethodName
ExportMethodName = CIMIdentifier
If a CIM Listener receives a CIM Export Request for which either
then it MUST fail the request and return a status of "400 Bad Request"
(and MUST include a CIMError header in the response with a value of header-mismatch),
subject to the
considerations specified in Errors.
Note that this verification provides a basic level of assurance that any intermediate firewall or proxy was not acting on misleading information when it decided to forward the request based on the content of the CIMExportMethod header. Additional securing of HTTP messages against modification in transit (such as the encryption of the payload or appending of a digital signature thereto) would be required to provide a higher degree of integrity.
It MUST NOT be present in any CIM
Operation Response message, nor in any CIM
Operation Request message that is not a Multiple Operation Request.
It MUST NOT be present
in any CIM Export Request or Response message.
The header identifies the encapsulated Operation Request Message as containing multiple method invocations. Firewalls and proxies may use this header to carry out routing and forwarding decisions for batched CIM method invocations.
CIMBatch = "CIMBatch" ":" |
If a CIM Server receives a CIM Operation Request for which either:
Note that this verification provides a basic level of assurance that any intermediate firewall or proxy was not acting on misleading information when it decided to forward the request based on the content of the CIMBatch header. Additional securing of HTTP messages against modification in transit (such as the encryption of the payload or appending of a digital signature thereto) would be required to provide a higher degree of integrity.
If a CIM Server receives a CIM Operation Request for which the CIMBatch header is present, but the Server does not support Multiple Operations, then it MUST fail the request and return a status of "501 Not Implemented". Firewalls or Proxies MAY also employ this mechanism to compel a CIM Client to use Simple Operation Requests rather than Multiple Operation Requests.
A CIM Client that receives a response of "501 Not Implemented" to a Multiple Operation Request SHOULD resubmit that request as a series of Simple Operation Requests.
It MUST NOT be present in any CIM Operation Request or Response message. It MUST NOT be present in any CIM Export Response Message, nor in any CIM Export Request message that is not a Multiple Export Request.
The header identifies the encapsulated Export Request Message as containing multiple export method invocations. Firewalls and proxies may use this header to carry out routing and forwarding decisions for batched CIM Export method invocations.
CIMExportBatch = "CIMExportBatch" ":"
If a CIM Listener receives a CIM Export Request for which either:
then it MUST fail the request and return a status of "400 Bad Request"
(and MUST include a CIMError header in the response with a value of header-mismatch),
subject to the considerations specified in Errors.
Note that this verification provides a basic level of assurance that any intermediate firewall or proxy was not acting on misleading information when it decided to forward the request based on the content of the CIMExportBatch header. Additional securing of HTTP messages against modification in transit (such as the encryption of the payload or appending of a digital signature thereto) would be required to provide a higher degree of integrity.
If a CIM Listener receives a CIM Export Request for which the CIMExportBatch header is present, but the CIM Listener does not support Multiple Exports, then it MUST fail the request and return a status of "501 Not Implemented". Firewalls or Proxies MAY also employ this mechanism to compel a CIM Client to use Simple Export Requests rather than Multiple Export Requests.
A CIM Client that receives a response of "501 Not Implemented" to a Multiple Export Request SHOULD resubmit that request as a series of Simple Export Requests.
It MUST NOT be present in any CIM Message Response , nor in any CIM Message request.
The header provides further CIM specific diagnostic information in the
case that the CIM Server or CIM
Listener encountered a fundamental error during processing of the CIM
Operation Request, and is intended to assist Clients to further disambiguate
errors that have the same HTTP status code.
CIMError = "CIMError" ":" cim-error
cim-error = "unsupported-protocol-version" |
|
It should be noted that the current revised draft [10] of RFC 2068 clarifies and corrects ambiguities and errors in that RFC.
CIM Products that make use of extension headers as defined in this specification MUST conform to the requirements defined in [9] for their use.
Note that headers defined in RFC 2068 [7] but deprecated from [10] (e.g. Public, Content-Base) SHOULD NOT be used by CIM Products.
A CIM server or CIM Listener MUST accept any value for this header which states that "text/xml" or "application/xml" is an acceptable type for an response entity. A CIM Server or CIM Listener SHOULD return "406 Not Acceptable" if the Accept header indicates that neither of these content types are acceptable.
If a CIM server or CIM Listener decides to accept a request to return an entity of type other than "text/xml" or "application/xml", the nature of the response is outside of the domain of this specification.
A CIM server or CIM Listener MUST accept any value for this header which implies that "utf-8" is an acceptable character set for an response entity. A CIM Server or CIM Listener SHOULD return "406 Not Acceptable" if the Accept-Charset header indicates that this character set is not acceptable.
If a CIM Server or CIM Listener decides to accept a request to return an entity using a character set other than "utf-8", the nature of the response is outside of the domain of this specification.
See Internationalization Considerations for more details.
A CIM server or CIM Listener MUST accept any value for this header which implies that "identity" is an acceptable encoding for the response entity. A CIM Server or CIM Listener MAY return "406 Not Acceptable" if the Accept-Encoding header indicates that the this encoding is not acceptable.
CIM Servers MAY support multiple languages if they so choose.
See Internationalization Considerations for more details.
Furthermore, the encapsulation of such multiple method invocations within an HTTP POST or M-POST means that if a CIM Message Request has any effect on an HTTP cache it is likely to be one of invalidating cached responses for the target CIM Server or CIM Listener. Indeed HTTP/1.1[7] stipulates that by default POST responses are not cachable unless the server indicates otherwise using an appropriate Cache-Control or Expires header.
For these reasons, CIM Message Responses SHOULD NOT be considered cachable. A CIM Server or CIM Listener SHOULD NOT include a Cache-Control header in a CIM Message response which might indicate to a cache that the response could be cached.
If the CIM Server or CIM Listener is responding to a CIM Message Request conveyed within an M-POST request, then in accordance with [9] the CIM Server or CIM Listener MUST include a no-cache control directive to prevent inadvertent caching of the "Ext" header. For example:
HTTP/1.1 200 OK |
Ext: |
Cache-Control: no-cache |
... |
CIM Clients, CIM Servers and CIM Listeners SHOULD support pipelining [7, section 1.1.2.2] if possible, but be aware of the requirements defined in [7]. In particular, attention is drawn to the following requirement from [7]:
Clients SHOULD NOT pipeline requests using non-idempotent methods or non-idempotent sequences of methods...A client wishing to send a non-idempotent request SHOULD wait to send that request until it has received the response status for the previous request.Back to contents
If there is an error in processing the HTTP Request-Line or standard HTTP Headers then the CIM Server or CIM Listener MUST take the appropriate action as dictated by its conformance to the relevant version of HTTP [6,7].
Otherwise, if there are any mandatory extension declarations which the server does not support it MUST respond with a "510 Not Extended" status according to [9].
Otherwise, the request MUST be processed in accordance with the relevant version of HTTP [6,7] and the additional rules defined in this document.
Assuming that the HTTP request is otherwise correct, the CIM Server or CIM Listener MUST use the following status codes when processing the CIM Extension Headers:
501 Not Implemented One of the following occurred:Assuming that the CIM Extension Headers are correct, then a validating CIM Server or CIM Listener (one which is enforcing validity of the CIM Message Request with respect to the CIM XML DTD) MUST use the following status code when processing the entity body containing the CIM Message Request.401 Unauthorized The CIM Server or CIM Listener is configured to require that a client authenticate itself before it can issue CIM Message Requests to the server or listener.
- The CIMProtocolVersion extension header specified in the request specifies a version of the CIM Mapping onto HTTP which is not supported by this CIM Server or CIM Listener. The CIM Server or CIM Listener MUST include a CIMError header in the response with a value of unsupported-protocol-version.
- The Client specified a Multiple Operation Request (or Multiple Export Request) and the CIM Server (or CIM Listener) does not support such requests. The CIM Server or CIM Listener MUST include a CIMError header in the response with a value of multiple-requests-unsupported.
- The CIMVERSION attribute in the Message Request was not set to a proper value. The CIMVERSION attribute MUST be in the form of "M.N". Where M is the major revision of the specification in numeric form and N is the minor revision of the specification in numeric form. The version MUST be at "2.0" or greater. For example, "2.0" or "2.3". The CIM Server or CIM Listener MUST include a CIMError header in the response with a value of unsupported-cim-version.
- The DTDVERSION attribute in the Message Request was not set to a proper value. The DTDVERSION attribute MUST be in the form of "M.N". Where M is the major revision of the specification in numeric form and N is the minor revision of the specification in numeric form. The version MUST be at "2.0" or greater. For example, "2.0" or "2.1". The CIM Server or CIM Listener MUST include a CIMError header in the response with a value of unsupported-dtd-version.
403 Forbidden The CIM Server or CIM Listener does not allow the client to perform issue CIM Message Requests. The CIM Server or CIM Listener MAY alternatively respond with a "404 Not Found" if it does not wish to reveal this information to the client.
407 Proxy Authentication Required The CIM Server or CIM Listener is configured to require that the proxy authenticate itself before it can issue CIM Message Requests on behalf of a CIM Client to the server or listener.
400 Bad Request The entity body defining the CIM Message Request was not well-formed or not valid with respect to the CIM XML DTD. The CIM Server or CIM Listener MUST include a CIMError header in the response with a value of request-not-well-formed or request-not-valid (as appropriate).A loosely-validating CIM Server or CIM Listener (one that is only enforcing that the CIM Message Request be loosely valid) MAY reject an CIM Message Request that is not loosely valid with an HTTP status code of 400 (Bad Request) before further processing, in which case the CIM Server or CIM Listener MUST include a CIMError header in the response with a value of request-not-loosely-valid.
A loosely-validating CIM Server or CIM Listener MUST reject an CIM Message Request that is not well-formed with an HTTP status code of 400 (Bad Request), in which case the CIM Server or CIM Listener MUST include a CIMError header in the response with a value of request-not-well-formed.
A loosely-validating CIM Server or CIM Listener MUST NOT reject an invalid (in the XML sense) CIM Message Request that is loosely valid.
A loosely-validating CIM Server or CIM Listener MUST ultimately signal an error to the CIM Client if the CIM Message Request is not loosely valid (i.e. is missing required content, or for which the required content is incorrect, such as an attribute with an invalid value according to the CIM XML DTD). It is not mandated to reject a CIM Message Request before processing, for to do otherwise would compel the server or listener into checking the complete request before processing could begin and this would be as expensive as requiring that the server or listener fully validate the request. Therefore a loosely-validating server or listener MAY elect to begin processing the request and issuing a response (with an HTTP success status code) before checking that the entire request is loosely valid.
A CIM Client may determine whether a CIM Server and CIM Listener is validating or loosely-validating via the CIMValidation header mechanism.
Assuming that the CIM Message Request was correctly formed (in the manner described above), the CIM Server or CIM Listener MUST process the request accordingly and return a CIM Message Response.
The entity body MUST be a correct CIM Message Response for that request.
If the CIM Message Response contains an entity which is a Simple Message response then the response status MUST be 200 OK. Otherwise the response status MUST be 207 Multistatus .
Basic Authentication is described in [6,7]. Digest Authentication is defined in [12]. Both authentication schemes are covered in a consolidated document [14] which also makes a number of improvements to the original specification of Digest Authentication.
Basic Authentication provides a very rudimentary level of authentication, with the major weakness that the client password is sent over the wire in unencrypted form.
For this reason CIM clients, CIM servers and CIM Listeners MUST NOT use Basic Authentication other than in the context of a highly secure environment (for example, if used in conjunction with SSL, or in a physically secure private network). CIM Servers and CIM Listeners MUST NOT send Basic Authentication credentials in a WWW-Authenticate header other than in the context of a highly secure environment.
Conforming applications SHOULD support the Digest authentication scheme. Since Digest authentication verifies that both parties share a common secret, without having to send that secret in the clear, it is more secure than Basic authentication. However, CIM Clients, CIM Servers and CIM Listeners that require more robust protection SHOULD use encryption mechanisms such as SSL or SHTTP.
CIM Clients, CIM Servers and CIM Listeners using Basic or Digest Authentication MUST comply with the requirements set forth in [6,7,12,14]. This specification describes only additional requirements on CIM Clients and CIM Servers and CIM Listeners when using these authentication schemes.
CIM Servers and CIM Listeners SHOULD require that CIM Clients authenticate themselves. This specification does not mandate this as it is recognized that in some circumstances the CIM Server and CIM Listener MAY NOT require or wish the overhead of employing authentication. CIM Servers and CIM Listeners SHOULD consider carefully the performance/security tradeoffs in determining how often to issue challenges to CIM Clients.
A CIM Server or CIM Listener that returns a "401 Unauthorized" response to a CIM Message Request SHOULD include in the WWW-Authenticate response-header either the "Basic" or "Digest" authentication values (but not both). This specification does not mandate use of Basic or Digest Authentication as it is recognized that in some circumstances the CIM Server or CIM Listener MAY use bespoke authentication mechanisms not covered by [14]. Similar considerations apply to the use of the Proxy-Authorization header in "407 Proxy Authentication Required".
CIM_ObjectManager - A type of CIM_Service that defines the capabilities of the target CIM Server
CIM_ObjectManagerCommunicationMechanism - Class that describes access to the target CIM Server that defines the capabilities of the CIM Server available through the target Object Manager Communication Mechanism. It is allowable for a CIM server to support different capabilities through different Communication Mechanisms.
CIM_CIMXMLCommunicationMechanism - This class specializes ObjectManagerCommunicationMechanism, adding properties specific to the CIM-XML encoding and protocol.
CIM_CommMechanismForManager - Association between CIM_ObjectManager and CIM_ObjectManagerCommunicationsMechanism which defines the communications protocols (and corresponding capabilities) available on the target CIM Server through the ObjectManagerCommunicationMechanism instances.
Instances of these CIM classes MAY be used by a CIM Client to determine the CIM capabilities (if any) of the target CIM Server. A CIM server that supports capabilities determination through these classes MUST support at least the Enumerate Instance and Get Instance operations for the classed defined above. The use of other methods of the basic read profile is optional. A CIM Server that does not support the determination of CIM capabilities through these classes MUST return CIM_ERR_NOT_FOUND to any instance or class request on these classes. These classes MUST NOT be used for reporting any other information than capabilities of the target CIM Server.
To provide interoperability, the CIM Object Manager classes MUST exist in a well-known namespace. Because there is no discovery mechanism defined that could define this well-known namespace to a CIM Client, it MUST be one or more predefined namespaces. Therefore, in this specification we recommend that pending future extensions of the WBEM specifications to include discovery tools that define a namespace for these classes in a CIM Server, to insure interoperability these should exist in either the root namespace or in the /root/CIMV2 namespace.
A CIM Server that supports capabilities reporting through these classes MUST report correctly the current actual capabilities of the target CIM Server and MUST report on all of the capabilities defined. It is allowable for a CIM Server to report "none" if the capability does not exist or "unknown" if the status of the capability is unknown at the time of the request for those properties where these choices exist in the properties definition. Because the CIM_ObjectManager object provides information on the target CIM Server only a single instance of this class may exist in a CIM server.
The capabilities to be reported through CIM_ObjectManagerCommunicationMechanism are as follows:
CommunicationMechanism property which defines the communication protocol for the CommunicationMechanism object. A compliant CIM Server MUST include the CIM-XML protocol for at least one ObjectManagerCommunicationMechanism instance.
ProfilesSupported property that defines the functional profiles supported as defined in section 2.6.All CIM Servers MUST support the basic-read functional group. All CIM Clients MAY assume that any CIM Server supports the basic-read functional group. The list of functional groups returned by a CIM Server MUST contain the basic-read group, and MUST NOT contain any duplicates. CIM Clients MUST ignore any duplicate entries in the functional-group list. If a functional group is included in the list, then the CIM Client MUST assume that all other groups on which it depends (according to the rules defined in Functional Profiles) are also supported. A CIM Server SHOULD NOT explicitly include a functional group in the list whose presence may be inferred implicitly by a dependency. Support for a functional group does not imply that any method from that group will always succeed. Rather, the absence (whether explicit or implied) of the functional group from this list is an indication to the CIM Client that methods in that group will never succeed.
MultipleOperationsSupported property which defines whether the target CIM Server supports multiple operation requests as defined in section 2.3.2. TRUE in this property indicates that the Server can accept and process Multiple Operation Requests. FALSE indicates that the CIM Server can accept only Single Operation Requests.
AuthenticationMechanismsSupported property which defines the authentication mechanisms supported by the target CIM Server as defined in section 4.4 of this specification.
Compliant CIM Servers may report additional capabilities for the CommunicationMechanism
Functional Profiles, QueryLanguageSupported, and AuthenticationMechanismSupported
by defining the "other" enumeration in the property and returning additional
information in the associated "additional capabilities" property.
The OPTIONS method MAY be used by a client to determine the CIM
capabilities (if any) of the target server. A CIM
Server MAY support the OPTIONS method (for example, CIM Servers supporting
only HTTP/1.0 would not support OPTIONS).
In order to support the ability for a Server to declare its CIM capabilities in a manner independent of HTTP, it is the intention of the DMTF to publish a CIM Schema (in a separate document) describing such capabilities. In particular this mechanism would allow Servers that do not support the OPTIONS method to declare their capabilities to a Client.
If a CIM Server supports the OPTIONS method, it SHOULD:
The full format of the "Opt" header declaration for this specification is:
Opt = "Opt" ":" "http://www.dmtf.org/cim/mapping/http/v1.0" |
";" "ns" "=" header-prefix |
header-prefix = 2*DIGIT |
This header-prefix SHOULD be generated at random on a per-HTTP message basis, and SHOULD NOT necessarily be a specific number.
For example the following is a fragment of a legitimate OPTIONS response from a CIM Server:
HTTP/1.1 200 OK |
Opt: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=77 |
77-CIMProtocolVersion: 1.0 |
77-CIMSupportedFunctionalGroups: basic-read |
77-CIMBatch |
77-CIMSupportedQueryLanguages: wql |
... |
This header is defined as follows:
CIMSupportedFunctionalGroups = "CIMSupportedFunctionalGroups"
":" 1#functional-group
functional-group = "basic-read"
|
|
The functional group definitions correspond directly to those listed in Functional Profiles. All CIM Servers MUST support the basic-read functional group. All CIM Clients MAY assume that any CIM Server supports the basic-read functional group.
The list of functional groups returned by a CIM Server MUST contain the basic-read group, and MUST NOT contain any duplicates. CIM Clients MUST ignore any duplicate entries in the functional-group list.
If a functional group is included in the list, then the CIM Client MUST assume that all other groups on which it depends (according to the rules defined in Functional Profiles) are also supported. A CIM Server SHOULD NOT explicitly include a functional group in the list whose presence may be inferred implicitly by a dependency.
For example the following HTTP response message indicates that the CIM Server supports instance-manipulation, association-traversal, basic-write and basic-read.
HTTP/1.1 200 OK |
Opt: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=77 |
77-CIMProtocolVersion: 1.0 |
77-CIMSupportedFunctionalGroups: association-traversal, instance-manipulation |
... |
Support for a functional group does not imply that any method from that group will always succeed. Rather, the absence (whether explicit or implied) of the functional group from this header is an indication to the CIM Client that methods in that group will never succeed.
This header is defined as follows:
CIMSupportsMultipleOperations = "CIMSupportsMultipleOperations" |
The presence of this header indicates that the Server can accept and process Multiple Operation Requests. The absence of this header indicates that the Server can only accept and process Simple Operation Requests.
This header is defined as follows (token has the meaning conferred by [7, section 2.2]:
CIMSupportedQueryLanguages = "CIMSupportedQueryLanguages" ":"
1#query-language
query-language = token |
The query-language value MUST be treated as case-insensitive. It is anticipated that query languages will be submitted for approval to the DMTF, and each submission will define a value for this token to enable it to be specified in this header.
This header is defined as follows:
CIMValidation = "CIMValidation" ":" validation-level
validation-level = "validating" | "loosely-validating" |
A validation-level of validating indicates that the CIM Server will always apply strict validation of each CIM Operation Request. A validation-level of loosely-validating indicates that the CIM Server will apply loose validation of each CIM Operation Request.
In the absence of this header, a CIM Client SHOULD assume that the CIM Server operates in strict validation mode.
An HTTP Server which supports the CIM Mapping defined herein, and which supports the OPTIONS method, SHOULD include the following CIM extension header in an OPTIONS response:
CIMOM = "CIMOM" ":" (absoluteURI | relativeURI) |
The terms absoluteURI and relativeURI are taken from [7]; they indicate the location of the CIM Server for this HTTP Server.
If the CIMOM extension header is included in the response, the CIM Server MUST declare it an Optional extension header in an analogous fashion to that described in the section on Determining CIM Server Capabilities.
A CIM Client that wishes to communicate with a CIM Server on an HTTP Server SHOULD try an OPTIONS request to that HTTP Server. If the OPTIONS request fails, or the response does not include the CIM-CIMOM extension header, then the CIM Client MAY assume that the value of CIM-CIMOM is the relative URI cimom.
The DMTF recommends the use of the following well-known IP ports for
use in compliant CIM Servers. This is a recommendation and not a
requirement for compliance with this specification. These port addresses
have been registered with IANA by the DMTF, so are for the exclusive use
by the DMTF.
CIM-XML (HTTP) | 5988/tcp |
CIM-XML (HTTP) | 5988/udp |
CIM-XML (HTTPS) | 5989/tcp |
CIM-XML (HTTPS) | 5989/udp |
Other discovery mechanisms are outside the scope of this version of the specification.
Example 1
This example shows an HTTP Server located at http://www.dmtf.org/ issuing an OPTIONS response to an HTTP client to indicate that its CIM Server is located at http://www.dmtf.org/access/cimom.
HTTP/1.1 200 OK |
Opt: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=48 |
48-CIMOM: /access/cimom |
... |
Example 2
If an HTTP Server located at http://www.dmtf.org/ responds with a "501 Not Implemented" to an OPTIONS request from a CIM Client, the CIM client may then try to contact the CIM Server at http://www.dmtf.org/cimom.
In this specification, human-readable fields can be found within a response or request entity body. In all cases, any human-readable content is encoded using XML (which has explicit provisions for character set tagging and encoding) and requires that XML processors read XML elements encoded, at minimum, using the UTF-8 [15] encoding of the ISO 10646 multilingual plane.
XML examples in this specification demonstrate use of the charset parameter of the Content-Type header, as defined in [10], as well as the XML encoding attribute on the <?xml> processing instruction, which together provide charset identification information for MIME and XML processors. This specification mandates that conforming applications MUST support at least the "utf-8" charset encoding [19] in the Content-Type header, and the "utf-8" value for the XML encoding attribute.
XML also provides a language tagging capability for specifying the language of the contents of a particular XML element, based on use of IANA registered language tags [20] in the xml:lang attribute of an XML element to identify the language of its content and attributes. The XML CIM DTD [2,11] does not declare this attribute on any of the XML elements, and therefore conforming applications MUST NOT use this attribute as otherwise the XML document would not be valid with respect to that DTD.
This specification defines a number of names of HTTP headers and their values. These are constructed using standard encoding practices so as to always have an HTTP-safe ASCII representation. Since these headers are not in general visible to users they do not need to support encoding in multiple character sets.
The XML DTD for CIM [2,11] introduces a number of XML element names. Similarly these are not visible to an end user and do not need to support multiple character set encodings.
The CIM model [1] defines the subset of the Unicode character set that can be used to name CIM elements (Classes, Instances, Methods, Properties, Qualifiers and Method Parameters). In general these appear as the value of XML attributes or as element content, and in general would not be displayed to end users.
Values of CIM Properties and Qualifiers, and error message descriptions MAY be localizable, but there is no mandate on CIM Servers to support this. Negotiation and notification of language settings is effected in this mapping using the standard Accept-Language and Content-Language headers defined in [7].
Version 1.0a | May 1st, 1999 | First Draft Release |
Version 1.0b | May 7th, 1999 | Updates after first Working Group Review |
Version 1.0c | May 11th, 1999 | Further updates |
Version 1.0d | May 25th, 1999 | Changed LOCAL to PROPAGATED
Added VALUETYPE attribute to KEYVALUE |
Version 1.0e | May 28th, 1999 | AssociationTraversal dependent on BasicRead. not BasicWrite
CIMFunctionalGroups OPTIONS header renamed to CIMSupportedFunctionalGroups 501 returned by server if it does not support multiple requests and receives such a request Added some operation parameters and allowed them to take default values |
Version 1.0 | June 2nd, 1999 | Clarified meaning of default intrinsic parameter value
Resolved ambiguity over server response to protocol version that is not supported Clarified use of property list in Associators and References intrinsic methods |
July 6th, 1999 | Updated examples to reflect DTD changes
QueryExecution based on BasicRead, not BasicWrite |
|
July 20th, 1999 | Remove IncludeClassOrigin and IncludeQualifiers parameters
from ExecQuery.
Parameters to Associators, AssociaftorNames, References and ReferenceNames which express class names are modeled as <className> rather than string. NewValue parameter to SetProperty is now OPTIONAL Clarified semantics of optional parameters, and the distinction between a default parameter value and a NULL parameter value. Clarified Create and Modify operational semantics. Clarified validation requirements and introduced CIMValidation header for OPTIONS response. Introduced CIMError response header to disambiguate fundamental CIM-specific errors that map to the same HTTP status code. |
|
Version 1.1a | November 23, 2001 | CR604: Add information regarding well known ports (Section 4.7)
CR605: CIM-XML Indication Delivery Support CR611: Determining CIM Server Capabilities through CIM Classes (Section 4.5) CR627: Add CIM_ERR_NO_SUCH_PROPERTY to list returned from ModifyInstance CR628: Deprecate __Namespace and add CIM_Namespace behavior (Section 2.3.3) CR646: Clarify handling of unsupported and optional parameters (Section 2.3.2) CR649: Add optional propertyList support to ModifyInstance (2.3.2.8) CR653: Add Indication Delivery Example (Appendix 11) Remove participant list since many new companies involved. |
Version 1.1b | January 16, 2002 | Incorporate Errata 01
CR666: Fix Error in 3.3.10. CIMBatch CR667: Remove Determining CIM Listener Capabilities CR669: Move Change Histroy Table to Appendix CR708: Subscription Example CR711: Modify definition of EXPMETHODCALL to be more extensible. |
Version 1.1c | April 24, 2002 | CR737: CIM Operations Over HTTP 1.0 – Remove reference to OPTIONAL
qualifier
CR741: Add additional wording to DeleteInstance CR742: Add additional description for what “associator” operations return CR743: Update PropertyList descriptions CR744: 4.5.1. Determining CIM Server Capabilities CR808: Appendix C: EnumerateInstance Example CR809: Clarify semantics of the DeepInheritance and LocalOnly flags on EnumerateInstances. CR810: Update wording related to DeepInheritance property for Enum CR815: Update wording for LocalOnly |
Version 1.1d | May 02, 2002 | Add DMTF Copyright |
Version 1.1 | January 06, 2003 | Final 1.1 Version
CR924: Correct missing object in the object mapping table (ObjectPath) CR925: Update DTD & HTTP Operations version information to match latest spec Update copyright, date, status |
For the purposes of clarity additional white space has been included in the examples, but such white space is not an intrinsic part of such XML documents.
M-POST /cimom HTTP/1.1 |
HOST: http://www.myhost.com/ |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=73 |
73-CIMOperation: MethodCall |
73-CIMMethod: GetClass |
73-CIMObject: root/cimv2 |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87872" PROTOCOLVERSION="1.0"> |
<SIMPLEREQ> |
<IMETHODCALL NAME="GetClass"> |
<LOCALNAMESPACEPATH> |
<NAMESPACE NAME="root"/> |
<NAMESPACE NAME="cimv2"/> |
</LOCALNAMESPACEPATH> |
<IPARAMVALUE NAME="ClassName"><CLASSNAME NAME="CIM_VideoBIOSElement"/></IPARAMVALUE> |
<IPARAMVALUE NAME="LocalOnly"><VALUE>FALSE</VALUE></IPARAMVALUE> |
</IMETHODCALL> |
</SIMPLEREQ> |
</MESSAGE> |
</CIM> |
The following is an HTTP response to the above request indicating success
of the requested operation. For clarity of exposition the complete
definition of the returned <CLASS> element has not been shown.
HTTP/1.1 200 OK |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Ext: |
Cache-Control: no-cache |
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=73 |
73-CIMOperation: MethodResponse |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87872" PROTOCOLVERSION="1.0"> |
<SIMPLERSP> |
<IMETHODRESPONSE NAME="GetClass"> |
<IRETURNVALUE> |
<CLASS NAME="CIM_VideoBIOSElement" SUPERCLASS="CIM_SoftwareElement"> |
... |
</CLASS> |
</IRETURNVALUE> |
</IMETHODRESPONSE> |
</SIMPLERSP> |
</MESSAGE> |
</CIM> |
M-POST /cimom HTTP/1.1 |
HOST: http://www.myhost.com/ |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=73 |
73-CIMOperation: MethodCall |
73-CIMMethod: GetInstance |
73-CIMObject: root/cimv2 |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="1.1"> |
<MESSAGE ID="87855" PROTOCOLVERSION="1.0"> |
<SIMPLEREQ> |
<IMETHODCALL NAME="GetInstance"> |
<LOCALNAMESPACEPATH> |
<NAMESPACE NAME="root"/> |
<NAMESPACE NAME="myNamespace"/> |
</LOCALNAMESPACEPATH> |
<IPARAMVALUE NAME="InstanceName"> |
<INSTANCENAME CLASSNAME="MyClass"> |
<KEYBINDING NAME="MyKey"><KEYVALUE>S3</KEYVALUE></KEYBINDING> |
</INSTANCENAME> |
</IPARAMVALUE> |
<IPARAMVALUE NAME="LocalOnly"><VALUE>FALSE</VALUE></IPARAMVALUE> |
</IMETHODCALL> |
</SIMPLEREQ> |
</MESSAGE> |
</CIM> |
The following is an HTTP response to the above request indicating an
error due to the specified instance not being found.
HTTP/1.1 200 OK |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Ext: |
Cache-Control: no-cache |
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=73 |
73-CIMOperation: MethodResponse |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87885" PROTOCOLVERSION="1.0"> |
<SIMPLERSP> |
<IMETHODRESPONSE NAME="GetInstance"> |
<ERROR CODE="6" DESCRIPTION="Instance of MyClass not found"/> |
</IMETHODRESPONSE> |
</SIMPLERSP> |
</MESSAGE> |
</CIM> |
M-POST /cimom HTTP/1.1 |
HOST: http://www.myhost.com/ |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=73 |
73-CIMOperation: MethodCall |
73-CIMMethod: DeleteClass |
73-CIMObject: root/cimv2 |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87872" PROTOCOLVERSION="1.0"> |
<SIMPLEREQ> |
<IMETHODCALL NAME="DeleteClass"> |
<LOCALNAMESPACEPATH> |
<NAMESPACE NAME="root"/> |
<NAMESPACE NAME="cimv2"/> |
</LOCALNAMESPACEPATH> |
<IPARAMVALUE NAME="ClassName"><CLASSNAME NAME="CIM_VideoBIOSElement"/></IPARAMVALUE> |
</IMETHODCALL> |
</SIMPLEREQ> |
</MESSAGE> |
</CIM> |
The following is an HTTP response to the above request indicating failure
of the above operation due to the inability to delete instances of the
Class.
HTTP/1.1 200 OK |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Ext: |
Cache-Control: no-cache |
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=73 |
73-CIMOperation: MethodResponse |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87872" PROTOCOLVERSION="1.0"> |
<SIMPLERSP> |
<IMETHODRESPONSE NAME="DeleteClass"> |
<ERROR CODE="9" DESCRIPTION="Class has non-deletable instances"/> |
</IMETHODRESPONSE> |
</SIMPLERSP> |
</MESSAGE> |
</CIM> |
M-POST /cimom HTTP/1.1 |
HOST: http://www.myhost.com/ |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=73 |
73-CIMOperation: MethodCall |
73-CIMMethod: DeleteInstance |
73-CIMObject: root/cimv2 |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87872" PROTOCOLVERSION="1.0"> |
<SIMPLEREQ> |
<IMETHODCALL NAME="DeleteInstance"> |
<LOCALNAMESPACEPATH> |
<NAMESPACE NAME="root"/> |
<NAMESPACE NAME="myNamespace"/> |
</LOCALNAMESPACEPATH> |
<IPARAMVALUE NAME="InstancePath"> |
<INSTANCENAME CLASSNAME="MyClass"> |
<KEYBINDING NAME="MyKey"> |
<KEYVALUE>S3</KEYVALUE> |
</KEYBINDING> |
</INSTANCENAME> |
</IPARAMVALUE> |
</IMETHODCALL> |
</SIMPLEREQ> |
</MESSAGE> |
</CIM> |
The following is an HTTP response to the above request indicating success
of the above operation.
HTTP/1.1 200 OK |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Ext: |
Cache-Control: no-cache |
Man: http://www.dmtf.org/cim/operation ; ns=73 |
73-CIMOperation: MethodResponse |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87872" PROTOCOLVERSION="1.0"> |
<SIMPLERSP> |
<IMETHODRESPONSE NAME="DeleteInstance"/> |
</SIMPLERSP> |
</MESSAGE> |
</CIM> |
M-POST /cimom HTTP/1.1 |
HOST: http://www.myhost.com/ |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=73 |
73-CIMOperation: MethodCall |
73-CIMMethod: CreateClass |
73-CIMObject: root/cimv2 |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87872" PROTOCOLVERSION="1.0"> |
<SIMPLEREQ> |
<IMETHODCALL NAME="CreateClass"> |
<LOCALNAMESPACEPATH> |
<NAMESPACE NAME="root"/> |
<NAMESPACE NAME="cimv2"/> |
</LOCALNAMESPACEPATH> |
<IPARAMVALUE NAME="NewClass"> |
<CLASS NAME="MySchema_VideoBIOSElement" SUPERCLASS="CIM_VideoBIOSElement"> |
... |
</CLASS> |
</IPARAMVALUE> |
</IMETHODCALL> |
</SIMPLEREQ> |
</MESSAGE> |
</CIM> |
The following is an HTTP response to the above request indicating success
of the above operation.
HTTP/1.1 200 OK |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Ext: |
Cache-Control: no-cache |
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=73 |
73-CIMOperation: MethodResponse |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87872" PROTOCOLVERSION="1.0"> |
<SIMPLERSP> |
<IMETHODRESPONSE NAME="CreateClass"/> |
</SIMPLERSP> |
</MESSAGE> |
</CIM> |
M-POST /cimom HTTP/1.1 |
HOST: http://www.myhost.com/ |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=73 |
73-CIMOperation: MethodCall |
73-CIMMethod: CreateInstance |
73-CIMObject: root/cimv2 |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87872" PROTOCOLVERSION="1.0"> |
<SIMPLEREQ> |
<IMETHODCALL NAME="CreateInstance"> |
<LOCALNAMESPACEPATH> |
<NAMESPACE NAME="root"/> |
<NAMESPACE NAME="cimv2"/> |
</LOCALNAMESPACEPATH> |
<IPARAMVALUE NAME="NewInstance"> |
<INSTANCE CLASSNAME="CIM_VideoBIOSElement"> |
... |
</INSTANCE> |
</IPARAMVALUE> |
</IMETHODCALL> |
</SIMPLEREQ> |
</MESSAGE> |
</CIM> |
The following is an HTTP response to the above request indicating success
of the above operation.
HTTP/1.1 200 OK |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Ext: |
Cache-Control: no-cache |
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=73 |
73-CIMOperation: MethodResponse |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87872" PROTOCOLVERSION="1.0"> |
<SIMPLERSP> |
<IMETHODRESPONSE NAME="CreateInstance"> |
<IRETURNVALUE> |
<INSTANCENAME CLASSNAME="MySchema_VideoBIOSElement"> |
<KEYBINDING NAME="Name"> |
<KEYVALUE>S4</KEYVALUE> |
</KEYBINDING> |
</INSTANCENAME> |
</IRETURNVALUE> |
</IRETURNVALUE> |
</SIMPLERSP> |
</MESSAGE> |
</CIM> |
M-POST /cimom HTTP/1.1 |
HOST: http://www.myhost.com/ |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=73 |
73-CIMOperation: MethodCall |
73-CIMMethod: EnumerateClassNames |
73-CIMObject: root/cimv2 |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87872" PROTOCOLVERSION="1.0"> |
<SIMPLEREQ> |
<IMETHODCALL NAME="EnumerateClassNames"> |
<LOCALNAMESPACEPATH> |
<NAMESPACE NAME="root"/> |
<NAMESPACE NAME="cimv2"/> |
</LOCALNAMESPACEPATH> |
<IPARAMVALUE NAME="ClassName"><CLASSNAME NAME="CIM_SoftwareElement"/></IPARAMVALUE> |
<IPARAMVALUE NAME="DeepInheritance"><VALUE>FALSE</VALUE></IPARAMVALUE> |
</IMETHODCALL> |
</SIMPLEREQ> |
</MESSAGE> |
</CIM> |
The following is an HTTP response to the above request indicating success
of the above operation, and returning the names of the requested subclasses.
HTTP/1.1 200 OK |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Ext: |
Cache-Control: no-cache |
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=73 |
73-CIMOperation: MethodResponse |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87872" PROTOCOLVERSION="1.0"> |
<SIMPLERSP> |
<IMETHODRESPONSE NAME="EnumerateClassNames"> |
<IRETURNVALUE> |
<CLASSNAME NAME="CIM_BIOSElement"/> |
<CLASSNAME NAME="CIM_VideoBOISElement"/> |
</IRETURNVALUE> |
</IMETHODRESPONSE> |
</SIMPLERSP> |
</MESSAGE> |
</CIM> |
M-POST /cimom HTTP/1.1 |
HOST: http://www.myhost.com/ |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Man: http://www.dmtf.org/cim/operation ; ns=73 |
73-CIMOperation: MethodCall |
73-CIMMethod: EnumerateInstances |
73-CIMObject: root/cimv2 |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87872" PROTOCOLVERSION="1.0"> |
<SIMPLEREQ> |
<IMETHODCALL NAME="EnumerateInstances"> |
<LOCALNAMESPACEPATH> |
<NAMESPACE NAME="root"/> |
<NAMESPACE NAME="cimv2"/> |
</LOCALNAMESPACEPATH> |
<IPARAMVALUE NAME="ClassName"><CLASSNAME NAME="CIM_LogicalDisk"/></IPARAMVALUE> |
<IPARAMVALUE NAME="LocalOnly"><VALUE>TRUE</VALUE></IPARAMVALUE> |
<IPARAMVALUE NAME="DeepInheritance"><VALUE>TRUE</VALUE></IPARAMVALUE> |
</IMETHODCALL> |
</SIMPLEREQ> |
</MESSAGE> |
</CIM> |
The following is an HTTP response to the above request indicating success
of the above operation, returning the requested instances.
HTTP/1.1 200 OK |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Ext: |
Cache-Control: no-cache |
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=73 |
73-CIMOperation: MethodResponse |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87872" PROTOCOLVERSION="1.0"> |
<SIMPLERSP> |
<IMETHODRESPONSE NAME="EnumerateInstances"> |
<IRETURNVALUE> |
<VALUE.NAMEDINSTANCE> |
<INSTANCENAME CLASSNAME="Erewhon_LogicalDisk"> |
... |
</INSTANCENAME> |
<INSTANCE CLASSNAME="Erewhon_LogicalDisk"> |
... |
</INSTANCE> |
</VALUE.NAMEDINSTANCE> |
... |
<VALUE.NAMEDINSTANCE> |
<INSTANCENAME CLASSNAME="Foobar_LogicalDisk"> |
... |
</INSTANCENAME> |
<INSTANCE CLASSNAME="Foobar_LogicalDisk"> |
... |
</INSTANCE> |
</VALUE.NAMEINSTANCE> |
</IRETURNVALUE> |
</IMETHODRESPONSE> |
</SIMPLERSP> |
</MESSAGE> |
</CIM> |
M-POST /cimom HTTP/1.1 |
HOST: http://www.myhost.com/ |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Man: http://www.dmtf.org/cim/operation ; ns=73 |
73-CIMOperation: MethodCall |
73-CIMMethod: GetProperty |
73-CIMObject: root/cimv2 |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87872" PROTOCOLVERSION="1.0"> |
<SIMPLEREQ> |
<IMETHODCALL NAME="GetProperty"> |
<LOCALNAMESPACEPATH> |
<NAMESPACE NAME="root"/> |
<NAMESPACE NAME="myNamespace"/> |
</LOCALNAMESPACEPATH> |
<IPARAMVALUE NAME="InstanceName"> |
<INSTANCENAME CLASSNAME="MyDisk"> |
<KEYBINDING NAME="DeviceID"><KEYVALUE>C:</KEYVALUE></KEYBINDING> |
</INSTANCENAME> |
</IPARAMVALUE> |
<IPARAMVALUE NAME="PropertyName"><VALUE>FreeSpace</VALUE></IPARAMVALUE> |
</IMETHODCALL> |
</SIMPLEREQ> |
</MESSAGE> |
</CIM> |
The following is an HTTP response to the above request indicating success
of the above operation, returning the requested value.
HTTP/1.1 200 OK |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Ext: |
Cache-Control: no-cache |
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=73 |
73-CIMOperation: MethodResponse |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87872" PROTOCOLVERSION="1.0"> |
<SIMPLERSP> |
<IMETHODRESPONSE NAME="GetProperty"> |
<IRETURNVALUE> |
<VALUE>6752332</VALUE> |
</IRETURNVALUE> |
</IMETHODRESPONSE> |
</SIMPLERSP> |
</MESSAGE> |
</CIM> |
M-POST /cimom HTTP/1.1 |
HOST: http://www.myhost.com/ |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=73 |
73-CIMOperation: MethodCall |
73-CIMMethod: SetPowerState |
73-CIMObject: root/cimv2:Win32_LogicalDisk="C:" |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87872" PROTOCOLVERSION="1.0"> |
<SIMPLEREQ> |
<METHODCALL NAME="SetPowerState"> |
<LOCALINSTANCEPATH> |
<LOCALNAMESPACEPATH> |
<NAMESPACE NAME="root"/> |
<NAMESPACE NAME="myNamespace"/> |
</LOCALNAMESPACEPATH> |
<INSTANCENAME CLASSNAME="MyDisk"> |
<KEYBINDING NAME="C:"><KEYVALUE>C:</KEYVALUE></KEYBINDING> |
</INSTANCENAME> |
</LOCALINSTANCEPATH> |
<PARAMVALUE NAME="PowerState"><VALUE>1</VALUE></PARAMVALUE> |
<PARAMVALUE NAME="Time"><VALUE>00000001132312.000000:000</VALUE></PARAMVALUE> |
</METHODCALL> |
</SIMPLEREQ> |
</MESSAGE> |
</CIM> |
The following is an HTTP response to the above request indicating success
of the above operation.
HTTP/1.1 200 OK |
Content-Type: application/xml; charset="utf-8" |
Content-Length: xxxx |
Ext: |
Cache-Control: no-cache |
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=73 |
73-CIMOperation: MethodResponse |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="87872" PROTOCOLVERSION="1.0"> |
<SIMPLERSP> |
<METHODRESPONSE NAME="SetPowerState"> |
<RETURNVALUE> |
<VALUE>0</VALUE> |
</RETURNVALUE> |
</METHODRESPONSE> |
</SIMPLERSP> |
</MESSAGE> |
</CIM> |
M-POST /cimlistener/browser HTTP/1.1 |
HOST: http://www.acme.com/ |
Content-CIMType: application/xml; charset="utf-8" |
Content-Length: XXX |
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=40 |
40-CIMExport: MethodRequest |
40-CIMExportMethod: ExportIndication |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="1007" PROTOCOLVERSION="1.0"> |
<SIMPLEEXPREQ> |
<EXPMETHODCALL NAME="ExportIndication"> |
<EXPPARAMVALUE NAME="NewIndication"> |
<INSTANCE CLASSNAME="CIM_AlertIndication" > |
<PROPERTY NAME="Description" TYPE="string"> |
<VALUE>Sample CIM_AlertIndication indication</VALUE> |
</PROPERTY> |
<PROPERTY NAME="AlertType" TYPE="uint16"> |
<VALUE>1</VALUE> |
</PROPERTY> |
<PROPERTY NAME="PerceivedSeverity" TYPE="uint16"> |
<VALUE>3</VALUE> |
</PROPERTY> |
<PROPERTY NAME="ProbableCause" TYPE="uint16"> |
<VALUE>2</VALUE> |
</PROPERTY> |
<PROPERTY NAME="IndicationTime" TYPE="datetime"> |
<VALUE>20010515104354.000000:000</VALUE> |
</PROPERTY> |
</INSTANCE> |
</EXPPARAMVALUE> |
</EXPMETHODCALL> |
</SIMPLEEXPREQ> |
</MESSAGE> |
</CIM> |
The following is an HTTP response to the above request indicating a
successful receipt, by the CIM Listener, of the above operation.
HTTP/1.1 200 OK |
Content-CIMType: application/xml; charset="utf-8" |
Content-Length: 267 |
Ext: |
Cache-Control: no-cache |
Man: http://www.dmtf.org/cim/mapping/http/v1.0; ns=40 |
40-CIMExport: MethodResponse |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="1007" PROTOCOLVERSION="1.0"> |
<SIMPLEEXPRSP> |
<EXPMETHODRESPONSE NAME="ExportIndication"> |
<IRETURNVALUE> |
</IRETURNVALUE> |
</EXPMETHODRESPONSE> |
</SIMPLEEXPRSP> |
</MESSAGE> |
</CIM> |
A CIM client application activates a subscription by creating an
instance of the CIM_IndicationSubscription class. A CIM_IndicationSubscription
instance defines an association between a CIM_IndicationFilter (a Filter)
instance and a CIM_IndicationHandler (a Handler) instance. The CIM_IndicationFilter
instance defines the filter criteria and data project list that describe
the desired Indication stream. The CIM_IndicationHandler instance defines
the desired Indication encoding, destination location and protocol for
delivery of the Indication stream.
The following HTTP request illustrates how a client would create an
instance of the class CIM_IndicationFilter. Note that the exact syntax
of the WQL Query Language is still under review and subject to change.
M-POST /cimom HTTP/1.1 |
Host: bryce |
Content-Type: application/xml; charset="utf-8" |
Content-Length: XXXX |
Man: http://www.dmtf.org/cim/mapping/http/v1.0;ns=20 |
20-CIMProtocolVersion: 1.0 |
20-CIMOperation: MethodCall |
20-CIMMethod: CreateInstance |
20-CIMObject: root/cimv2 |
<?xml version="1.0" encoding="utf-8"?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="53000" PROTOCOLVERSION="1.0"> |
<SIMPLEREQ> |
<IMETHODCALL NAME="CreateInstance"> |
<LOCALNAMESPACEPATH> |
<NAMESPACE NAME="root"/> |
<NAMESPACE NAME="cimv2"/> |
</LOCALNAMESPACEPATH> |
<IPARAMVALUE NAME="NewInstance"> |
<INSTANCE CLASSNAME="CIM_IndicationFilter"> |
<PROPERTY NAME="SystemCreationClassName" TYPE="string"> |
<VALUE>CIM_UnitaryComputerSystem</VALUE> |
</PROPERTY> |
<PROPERTY NAME="SystemName" TYPE="string"> |
<VALUE>server001.acme.com</VALUE> |
</PROPERTY> |
<PROPERTY NAME="CreationClassName" TYPE="string"> |
<VALUE>CIM_IndicationFilter</VALUE> |
</PROPERTY> |
<PROPERTY NAME="Name" TYPE="string"> |
<VALUE>ACMESubscription12345</VALUE> |
</PROPERTY> |
<PROPERTY NAME="SourceNamespace" TYPE="string"> |
<VALUE>root/cimv2</VALUE> |
</PROPERTY> |
<PROPERTY NAME="Query" TYPE="string"> |
<VALUE> |
SELECT Description, AlertType, PerceivedSeverity, ProbableCause, IndicationTime |
FROM CIM_AlertIndication |
WHERE PerceivedSeverity = 3 |
</VALUE> |
</PROPERTY> |
<PROPERTY NAME="QueryLanguage" TYPE="string"> |
<VALUE>WQL</VALUE> |
</PROPERTY> |
</INSTANCE> |
</IPARAMVALUE> |
</IMETHODCALL> |
</SIMPLEREQ> |
</MESSAGE> |
</CIM> |
The following is an HTTP response to the above request indicating success
of the above operation.
HTTP/1.1 200 OK |
Content-CIMType: application/xml; charset="utf-8" |
Content-Length: XXX |
Ext: |
Cache-Control: no-cache |
Man: http://www.dmtf.org/cim/mapping/http/v1.0; ns=28 |
28-CIMOperation: MethodResponse |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="53000" PROTOCOLVERSION="1.0"> |
<SIMPLERSP> |
<IMETHODRESPONSE NAME="CreateInstance"> |
<IRETURNVALUE> |
<INSTANCENAME CLASSNAME="CIM_IndicationFilter"> |
<KEYBINDING NAME="SystemCreationClassName"> |
<KEYVALUE VALUETYPE="string"> |
CIM_UnitaryComputerSystem |
</KEYVALUE> |
</KEYBINDING> |
<KEYBINDING NAME="SystemName"> |
<KEYVALUE VALUETYPE="string"> |
server001.acme.com |
</KEYVALUE> |
</KEYBINDING> |
<KEYBINDING NAME="CreationClassName"> |
<KEYVALUE VALUETYPE="string"> |
CIM_IndicationFilter |
</KEYVALUE> |
</KEYBINDING> |
<KEYBINDING NAME="Name"> |
<KEYVALUE VALUETYPE="string"> |
ACMESubscription12345 |
</KEYVALUE> |
</KEYBINDING> |
</INSTANCENAME> |
</IRETURNVALUE> |
</IMETHODRESPONSE> |
</SIMPLERSP> |
</MESSAGE> |
</CIM> |
The following HTTP request illustrates how a client would create an
instance of the class CIM_IndicationHandlerCIMXML.
M-POST /cimom HTTP/1.1 |
Host: bryce |
Content-Type: application/xml; charset="utf-8" |
Content-Length: XXX |
Man: http://www.dmtf.org/cim/mapping/http/v1.0;ns=20 |
20-CIMProtocolVersion: 1.0 |
20-CIMOperation: MethodCall |
20-CIMMethod: CreateInstance |
20-CIMObject: root/cimv2 |
<?xml version="1.0" encoding="utf-8"?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="54000" PROTOCOLVERSION="1.0"> |
<SIMPLEREQ> |
<IMETHODCALL NAME="CreateInstance"> |
<LOCALNAMESPACEPATH> |
<NAMESPACE NAME="root"/> |
<NAMESPACE NAME="cimv2"/> |
</LOCALNAMESPACEPATH> |
<IPARAMVALUE NAME="NewInstance"> |
<INSTANCE CLASSNAME="CIM_IndicationHandlerCIMXML"> |
<PROPERTY NAME="SystemCreationClassName" TYPE="string"> |
<VALUE>CIM_UnitaryComputerSystem</VALUE> |
</PROPERTY> |
<PROPERTY NAME="SystemName" TYPE="string"> |
<VALUE>server001.acme.com</VALUE> |
</PROPERTY> |
<PROPERTY NAME="CreationClassName" TYPE="string"> |
<VALUE>CIM_IndicationHandlerCIMXML</VALUE> |
</PROPERTY> |
<PROPERTY NAME="Name" TYPE="string"> |
<VALUE>ACMESubscription12345</VALUE> |
</PROPERTY> |
<PROPERTY NAME="Owner" TYPE="string"> |
<VALUE>ACMEAlertMonitoringConsole</VALUE> |
</PROPERTY> |
<PROPERTY NAME="Destination" TYPE="string"> |
<VALUE>HTTP://www.acme.com/cimlistener/browser</VALUE> |
</PROPERTY> |
</INSTANCE> |
</IPARAMVALUE> |
</IMETHODCALL> |
</SIMPLEREQ> |
</MESSAGE> |
</CIM> |
The following is an HTTP response to the above request indicating success
of the above operation.
HTTP/1.1 200 OK |
Content-CIMType: application/xml; charset="utf-8" |
Content-Length: XXX |
Ext: |
Cache-Control: no-cache |
Man: http://www.dmtf.org/cim/mapping/http/v1.0; ns=27 |
27-CIMOperation: MethodResponse |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="54000" PROTOCOLVERSION="1.0"> |
<SIMPLERSP> |
<IMETHODRESPONSE NAME="CreateInstance"> |
<IRETURNVALUE> |
<INSTANCENAME CLASSNAME="CIM_IndicationHandlerCIMXML"> |
<KEYBINDING NAME="SystemCreationClassName"> |
<KEYVALUE VALUETYPE="string"> |
CIM_UnitaryComputerSystem |
</KEYVALUE> |
</KEYBINDING> |
<KEYBINDING NAME="SystemName"> |
<KEYVALUE VALUETYPE="string"> |
server001.acme.com |
</KEYVALUE> |
</KEYBINDING> |
<KEYBINDING NAME="CreationClassName"> |
<KEYVALUE VALUETYPE="string"> |
CIM_IndicationHandlerCIMXML |
</KEYVALUE> |
</KEYBINDING> |
<KEYBINDING NAME="Name"> |
<KEYVALUE VALUETYPE="string"> |
ACMESubscription12345 |
</KEYVALUE> |
</KEYBINDING> |
</INSTANCENAME> |
</IRETURNVALUE> |
</IMETHODRESPONSE> |
</SIMPLERSP> |
</MESSAGE> |
</CIM> |
The following HTTP request illustrates how a client would create an
instance of the class CIM_IndicationSubscription.
M-POST /cimom HTTP/1.1 |
Host: bryce |
Content-Type: application/xml; charset="utf-8" |
Content-Length: XXXX |
Man: http://www.dmtf.org/cim/mapping/http/v1.0;ns=55 |
55-CIMProtocolVersion: 1.0 |
55-CIMOperation: MethodCall |
55-CIMMethod: CreateInstance |
55-CIMObject: root/cimv2 |
<?xml version="1.0" encoding="utf-8"?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="55000" PROTOCOLVERSION="1.0"> |
<SIMPLEREQ> |
<IMETHODCALL NAME="CreateInstance"> |
<LOCALNAMESPACEPATH> |
<NAMESPACE NAME="root"/> |
<NAMESPACE NAME="cimv2"/> |
</LOCALNAMESPACEPATH> |
<IPARAMVALUE NAME="NewInstance"> |
<INSTANCE CLASSNAME="CIM_IndicationSubscription"> |
<PROPERTY.REFERENCE NAME="Filter" REFERENCECLASS="CIM_IndicationFilter"> |
<VALUE.REFERENCE> |
<INSTANCENAME CLASSNAME="CIM_IndicationFilter"> |
<KEYBINDING NAME="SystemCreationClassName"> |
<KEYVALUE VALUETYPE="string"> |
CIM_UnitaryComputerSystem |
</KEYVALUE> |
</KEYBINDING> |
<KEYBINDING NAME="SystemName"> |
<KEYVALUE VALUETYPE="string"> |
server001.acme.com |
</KEYVALUE> |
</KEYBINDING> |
<KEYBINDING NAME="CreationClassName"> |
<KEYVALUE VALUETYPE="string"> |
CIM_IndicationFilter |
</KEYVALUE> |
</KEYBINDING> |
<KEYBINDING NAME="Name"> |
<KEYVALUE VALUETYPE="string"> |
ACMESubscription12345 |
</KEYVALUE> |
</KEYBINDING> |
</INSTANCENAME> |
</VALUE.REFERENCE> |
</PROPERTY.REFERENCE> |
<PROPERTY.REFERENCE NAME="Handler" REFERENCECLASS="CIM_IndicationHandler"> |
<VALUE.REFERENCE> |
<INSTANCENAME CLASSNAME="CIM_IndicationHandlerCIMXML"> |
<KEYBINDING NAME="SystemCreationClassName"> |
<KEYVALUE VALUETYPE="string"> |
CIM_UnitaryComputerSystem |
</KEYVALUE> |
</KEYBINDING> |
<KEYBINDING NAME="SystemName"> |
<KEYVALUE VALUETYPE="string"> |
server001.acme.com |
</KEYVALUE> |
</KEYBINDING> |
<KEYBINDING NAME="CreationClassName"> |
<KEYVALUE VALUETYPE="string"> |
CIM_IndicationHandlerCIMXML |
</KEYVALUE> |
</KEYBINDING> |
<KEYBINDING NAME="Name"> |
<KEYVALUE VALUETYPE="string"> |
ACMESubscription12345 |
</KEYVALUE> |
</KEYBINDING> |
</INSTANCENAME> |
</VALUE.REFERENCE> |
</PROPERTY.REFERENCE> |
</INSTANCE> |
</IPARAMVALUE> |
</IMETHODCALL> |
</SIMPLEREQ> |
</MESSAGE> |
</CIM> |
The following is an HTTP response to the above request indicating success
of the above operation.
HTTP/1.1 200 OK |
Content-CIMType: application/xml; charset="utf-8" |
Content-Length: XXXX |
Ext: |
Cache-Control: no-cache |
Man: http://www.dmtf.org/cim/mapping/http/v1.0; ns=75 |
75-CIMOperation: MethodResponse |
<?xml version="1.0" encoding="utf-8" ?> |
<CIM CIMVERSION="2.0" DTDVERSION="2.0"> |
<MESSAGE ID="55000" PROTOCOLVERSION="1.0"> |
<SIMPLERSP> |
<IMETHODRESPONSE NAME="CreateInstance"> |
<IRETURNVALUE> |
<INSTANCENAME CLASSNAME="CIM_IndicationSubscription"> |
<KEYBINDING NAME="Filter"> |
<VALUE.REFERENCE> |
<INSTANCENAME CLASSNAME="CIM_IndicationFilter"> |
<KEYBINDING NAME="SystemCreationClassName"> |
<KEYVALUE VALUETYPE="string"> |
CIM_UnitaryComputerSystem |
</KEYVALUE> |
</KEYBINDING> |
<KEYBINDING NAME="SystemName"> |
<KEYVALUE VALUETYPE="string"> |
server001.acme.com |
</KEYVALUE> |
</KEYBINDING> |
<KEYBINDING NAME="CreationClassName"> |
<KEYVALUE VALUETYPE="string"> |
CIM_IndicationFilter |
</KEYVALUE> |
</KEYBINDING> |
<KEYBINDING NAME="Name"> |
<KEYVALUE VALUETYPE="string"> |
ACMESubscription12345 |
</KEYVALUE> |
</KEYBINDING> |
</INSTANCENAME> |
</VALUE.REFERENCE> |
</KEYBINDING> |
<KEYBINDING NAME="Handler"> |
<VALUE.REFERENCE> |
<INSTANCENAME CLASSNAME="CIM_IndicationHandlerCIMXML"> |
<KEYBINDING NAME="SystemCreationClassName"> |
<KEYVALUE VALUETYPE="string"> |
CIM_UnitaryComputerSystem |
</KEYVALUE> |
</KEYBINDING> |
<KEYBINDING NAME="SystemName"> |
<KEYVALUE VALUETYPE="string"> |
server001.acme.com |
</KEYVALUE> |
</KEYBINDING> |
<KEYBINDING NAME="CreationClassName"> |
<KEYVALUE VALUETYPE="string"> |
CIM_IndicationHandlerCIMXML |
</KEYVALUE> |
</KEYBINDING> |
<KEYBINDING NAME="Name"> |
<KEYVALUE VALUETYPE="string"> |
ACMESubscription12345 |
</KEYVALUE> |
</KEYBINDING> |
</INSTANCENAME> |
</VALUE.REFERENCE> |
</KEYBINDING> |
</INSTANCENAME> |
</IRETURNVALUE> |
</IMETHODRESPONSE> |
</SIMPLERSP> |
</MESSAGE> |
</CIM> |
The following table characterizes how the DeepInheritance and LocalOnly
parameters are used to control the selection of the elements returned.
|
Local Only
|
Use Model
|
Description
|
|
|
"Tell me everything you know"
|
The elements for all defined Properties are returned.
This includes elements for Properties explicitly defined in the designated
class, elements for inherited Properties, and elements for any Properties
defined in subclasses of the designated class.
|
|
|
"I'm not interested in seeing inherited properties."
|
Only elements for Properties defined in the designated
class or one of the subclasses of the designated class are returned.
This does not include elements for inherited Properties, but does include
elements for Properties explicitly defined in the designated class or one
of the subclasses of the designated class.
|
|
|
"I'm only interested in the properties explicitly
defined in the class I specified."
|
Only elements for Properties defined in the designated
class are returned. This does not include elements for inherited
Properties or elements for Properties defined in subclasses of the designated
class, but does includes elements for Properties explicitly defined in
the designated class.
|
|
|
"I'm not interested in any properties defined in
the subclasses."
|
Only elements for Properties defined in the designated
class or one the superclasses of the designated class are returned.
This includes elements for Properties explicitly defined in the designated
class and elements of inherited properties, but does not include elements
of properties defined in subclasses of the designated class.
|
Using the following MOF definition, the next table illustrates the use of the DeepInheritance and LocalOnly parameters to control the selection of the elements returned.
class Example_C1 {
[Key]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
||
|
|
|
|
||
|
|
|
|