|
From: David H. <hel...@us...> - 2013-11-25 20:57:18
|
Hi George,
Sorry for the delay. Apologies also that I may not be understanding your
question:
You have registered a new class "GK_RegProfile" but you are expecting a GC
or a EI operation on this class to return the base class
CIM_RegisteredProfile instead of GK_RegProfile? I think returning the
result of GK_RegProfile is expected here.
Or perhaps your intent is create instances of the base
CIM_RegisteredProfile class directly? There is a test XML in SFCB xmltest
directory that will do this, for example: see
"zcreateInstance_RegProfile.xml". Also you can create static instances of
CIM_RegisteredProfile by defining them in a MOF file. For example, you
can force one the default instances of SFCB_RegisteredProfile to appear
instead as instance of CIM_RegisteredProfile by making an edit like this
to the mof file, then running "make postinstall" to recompile the mof:
$ vi /var/lib/sfcb/stage/mofs/root/interop/10_interop.mof
...
class SFCB_RegisteredProfile : CIM_RegisteredProfile
{
};
-instance of SFCB_RegisteredProfile
+instance of CIM_RegisteredProfile
{
InstanceID = "CIM:SFCB_PR";
RegisteredOrganization = 2;
RegisteredName = "Profile Registration";
RegisteredVersion = "1.0.0";
AdvertiseTypes = 3;
};
You wish your provider to do this? To create instances of the base class
CIM_RegisteredProfile rather than some subclass?
Thanks,
Dave
David E. Heller
IBM Linux Technology Center
hel...@us...
George varghese <geo...@gm...>
11/13/2013 05:08 AM
To
sbl...@li...,
cc
Subject
Re: [Sblim-devel] regarding profile registration profile
Hi,
Anybody please reply to me, I am waiting for your response?
Regards,
George
On Mon, Nov 11, 2013 at 2:27 PM, George varghese <geo...@gm...>
wrote:
Hi,
I had implemented a provider for profile registration using
sblim-development packages. I have some doubts regarding it , For
implementing it, I have been created a mof file, please see the content of
the mof file,
class GK_RegProfile : CIM_RegisteredProfile
{
};
After implementation, testing, I got the following response,
<n1:GK_RegProfile>
<n1:Caption xsi:nil="true"/>
<n1:Description xsi:nil="true"/>
<n1:ElementName xsi:nil="true"/>
<n1:Generation xsi:nil="true"/>
<n1:InstanceID>Base</n1:InstanceID>
<n1:OtherRegisteredOrganization>***</n1:OtherRegisteredOrganization>
<n1:OtherSpecificationType xsi:nil="true"/>
<n1:RegisteredName>***</n1:RegisteredName>
<n1:RegisteredOrganization>*</n1:RegisteredOrganization>
<n1:RegisteredVersion>**</n1:RegisteredVersion>
<n1:SpecificationType xsi:nil="true"/>
</n1::GK_RegProfile>
But I expected following response,
<n1:CIM_RegisteredProfile>
<n1:Caption xsi:nil="true"/>
<n1:Description xsi:nil="true"/>
<n1:ElementName xsi:nil="true"/>
<n1:Generation xsi:nil="true"/>
<n1:InstanceID>base</n1:InstanceID>
<n1:OtherRegisteredOrganization>***</n1:OtherRegisteredOrganization>
<n1:OtherSpecificationType xsi:nil="true"/>
<n1:RegisteredName>***</n1:RegisteredName>
<n1:RegisteredOrganization>*</n1:RegisteredOrganization>
<n1:RegisteredVersion>**</n1:RegisteredVersion>
<n1:SpecificationType xsi:nil="true"/>
</n1:CIM_RegisteredProfile>
For getting this kind of response, what can I do, or above response is
correct?.
For implementing this profile, is it need a new class for this?
Can't we use CIM_RegisteredProfile itself?.. if it posible how?
Please help me.
Regards,
George
On Tue, Jul 16, 2013 at 10:04 PM, Tyrel Datwyler <
ty...@li...> wrote:
On 07/16/2013 08:05 AM, George varghese wrote:
>
> I want to register these profile as per the standard of profile
> registration profile. How to achieve it using sfcb. How to create
> instances of CIM classes.. which classes they are.
>
The sblim-gather package implements the DMTF's DSP1053 Base Metric
Profile. You could look at its provider implementation for a reference.
-Tyrel
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Sblim-devel mailing list
Sbl...@li...
https://lists.sourceforge.net/lists/listinfo/sblim-devel
|