0

我正在使用 openpegasus 开发 SMI-S 提供程序,

当我尝试

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

控制台显示 CIM_StoragePool 的实例列表,

这意味着enumerateInstanceNames实例提供程序中的方法有效,

但是,当我选择一个实例时,什么也没有发生。

我在关联提供程序中的关联方法没有被调用。

我在下面的 mof 中注册了关联提供者:

  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
  };

有没有人可以帮忙?多谢!

4

0 回答 0