Enumerate NameSpaces |
NameSpace - The NameSpace parameter is a string that defines the target namespace
ClassName - The ClassName input parameter defines the Class that is the basis for the enumeration. Note that the class named is not retrieved as part of the enumeration. Thus, if there are no subclasses to the named class, zero classe names are returned.
Definition of the Namespace - An object that defines a scope within which object keys must be unique. Multiple namespaces typically indicate the presence of multiple management spaces or multiple devices. The namespace pragma
#pragma namespace( )This pragma is used to specify a Namespace path. The syntax needs to conform to the following:
://
The contents of a MOF file are loaded into a namespace that provides a domain (in other words, a container), in which the instances of the classes are guaranteed to be unique per the KEY qualifier definitions. The term namespace is used to refer to an implementation that provides such a domain. Namespaces can be used to:
Implementation of Namespace Manipulation - Today the namespace manipulation defined in CIM Operations over HTTP (Section 2.5) is proprietary in nature. It is based on a class named __Namespace which creates an instance for each namespace defined for the CIMOM. The only required property in the __namespace class is the name.
Within Pegasus, the namespace manipulation based on the __namespace class can be executed through this HTML page or through the enumerateInstanceNames operation with the classname = __namespace and the namespace parameter = root. While it has not been formally defined within the specification, Pegasus today maintains the __namespace class in the root namespace.
Operations on the __NameSpace class are handled within Pegasus by a special provider that manipulates the instances of the class and also creates and deletes namespaces.
Demonstration Prepared by the OpenGroup Manageability Work Group Pegasus Development Team
See (http://www.opengroup.org/management) for more information on Pegasus
Last Modified Monday, March 26, 2001 02:37:32 PM Copyright @ The Open Group 2001