hm ... there seems to be a regression in SFCB 1.3.1
Register a provider and CIM class in two name spaces no longer work


[My_ElementConformsToProfile]
        provider: ElementConformsToProfileProvider
        location: ElementConformsToProfileProvider
        type: instance association
        namespace: root/interop root/cimv2

After this I issue I looked to see if CIM_ElementConformsToProfile/My_ElementConformsToProfile
are in root/interop

% ./wbemcli ecn 'http://localhost:5988/root/interop'

I indeed see CIM_ElementConformsToProfile and My_ElementConformsToProfile

However doing the same on root/cimv2

% ./wbemcli ecn 'http://localhost:5988/root/cimv2'

I don't see CIM_ElementConformsToProfile/My_ElementConformsToProfile.

The implication of this is if I want to find associated instances of a ComputerSystem instance
(which is  in root//cimv2)
via association class  CIM_ElementConformsToProfile it won't work because CIM_ElementConformsToProfile is not in
root/cimv2.  e.g

% ./wbemcli  ain -ac CIM_ElementConformsToProfile 'http://localhost:5988/root/cimv2:My_ComputerSystem.CreationClassName="My_ComputerSystem",Name="0000000000"'


Luong





Luong.Nguyen-Duy@Sun.COM wrote:

don't know if this will help.  If there is one provider which supports the same class in two namespaces then the following works

[CIM_xyz]
provider: osbase_xyz
location: cmpiOSBase_xyz
type: instance association
namespace: root/interop root/cimv2

Luong


Gokula Kannan wrote:
Hi,

I'm here with another issue that, if a class is registered more than once in different namespace, sfcb is not looking into the second registration provider. Instead it looks in the default provider[either internal or interop]. It works only for the first registration.

i.e if the providerRegister has
[CIM_xyz]
provider: osbase_xyz1
location: cmpiOSBase_xyz1
type: instance association
namespace: root/interop

[CIM_xyz]
provider: osbase_xyz2
location: cmpiOSBase_xyz2
type: instance association
namespace: root/cimv2


if the client gives request to enumerate CIM_xyz in root/cimv2 then sfcb is not invoking the provider osbase_xyz2. I don't know whether a class should have only one registration entry or it can have any any number of entry. kindly help me in this issue.

Note :  I tried Getclass in both namespaces for CIM_xyz, it responded me with the class definition.

Thanks in advance,
Gokulakannan. S



Sharekhan Zero

------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php

_______________________________________________ Sblim-devel mailing list Sblim-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sblim-devel


------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php

_______________________________________________ Sblim-devel mailing list Sblim-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sblim-devel