Open pegasus association provider

200 views Asked by At

I am developing a SMI-S provider using openpegasus,

when I try

cimserver "cimcli -n root/ift a CIM_StoragePool -i"

console shows instance list of CIM_StoragePool,

which means that enumerateInstanceNames method in Instance provider works,

but, when I select a instance,there is nothing happening.

My associator method in association provider did not be called.

I register association provider in my mof below:

  instance of PG_ProviderModule 
  {
     Name = "IFTComputerSystemModule";
     Location = "IFT_ComputerSystemProvider";
     Vendor = "Infortrend";
     Version = "2.4.0";
     InterfaceType = "C++Default";
     InterfaceVersion = "2.1.0";
  };

  instance of PG_Provider 
  {
     ProviderModuleName = "IFTComputerSystemModule";
     Name = "IFT_ComputerSystemProvider";
  };

  instance of PG_ProviderCapabilities 
  {
     ProviderModuleName = "IFTComputerSystemModule";
     ProviderName = "IFT_ComputerSystemProvider";
     CapabilityID = "1";
     ClassName = "CIM_ComputerSystem";
     Namespaces = {"root/ift"};
     ProviderType = { 2, 3 }; // Instance
     SupportedProperties = NULL; // All properties
     SupportedMethods = NULL; // All methods
  };

Is there anyone could help ? thanks a lot!

0

There are 0 answers