Re:
Sushil <[email protected]> Tue, 21 Jan 2014 16:46:39 +0530
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <CAK0M3kqX-3CQs3OMeA4V0aW-14Jup8QzfYeCJh0N+NoVOxkM=w@mail.gmail.com> |
This is registration mof file and hence needs to be compiled in interop namespace. Cimv2 namespace does not have PG_Provider classes. try namespace root/pg_interop or root/interop Regards, Sushil On Tue, Jan 21, 2014 at 4:25 PM, amitab len <[email protected]> wrote: > Hello All, > > I am getting below error while registering a mof schema file. > > > root@localhost:/home/lhn/Cimple/cimple-2.0.24/src/providers/newprovider# > cimmof -nroot/cimv2 register.mof > Parsing error: parse error: Error getting class PG_ProviderModule from > namespace root/cimv2: CIM_ERR_NOT_FOUND: PG_ProviderModule > > > My mof file look like below. > > instance of PG_ProviderModule > { > Name = "AMIT_NewComputerSystem_Module"; > Vendor = "Pegasus"; > Version = "2.5.0"; > InterfaceType = "C++Default"; > InterfaceVersion = "2.5.0"; > Location = "AMIT_NewComputerSystem"; > }; > > > instance of PG_Provider > { > Name = "AMIT_NewComputerSystem_Provider"; > ProviderModuleName = "AMIT_NewComputerSystem_Module"; > }; > > > instance of PG_ProviderCapabilities > { > CapabilityID = "AMIT_NewComputerSystem"; > ProviderModuleName = "AMIT_NewComputerSystem_Module"; > ProviderName = "AMIT_NewComputerSystem_Provider"; > className = "AMIT_NewComputerSystem"; > Namespaces = {"root/cimv2"}; > ProviderType = {2}; > supportedProperties = NULL; > supportedMethods = NULL; > }; > > > > Please provide the solutions which will be very much helpful to solve my > problem. > \ > > > Thanks > Amitab >