Cruz, John | 1 Dec 2003 21:48
Picon
Favicon

Indicaiton Consumer Pegasus 2.2

About a week ago, one of the member of this open group explained how to write an Indication Consumer....

I'm using Pegasus 2.2. However, I can't find one of the API in the example:

CIMListener listener(portnumber);
listener.start();				

I notice that there is a CIMListener class supported in Pegasus 2.2; however, is far different from the
above...I also notice that the
RT_Indication example consumer is written as a IN-PROC application... 

Can anyone help me with this problem?

Tx

	John M. Cruz
	Senior Software Engineer 
	Telecommunications and Embedded Group
	Intel Corporation
	(973) 967 6662
	mailto:john.cruz <at> intel.com
	http://www.intel.com

Hills, Steve | 1 Dec 2003 22:21

RE: Writing InstIndication provider

Pegasus does not support embedded objects yet, and so it doesn't support
life-cycle indications.  Your provider is responsible for providing the
CIM_Instxxx indications for your providers classes (but you can't yet
because Pegasus doesn't support embedded objects yet).

-----Original Message-----
From: pegasus-l-request <at> opengroup.org
[mailto:pegasus-l-request <at> opengroup.org] On Behalf Of Imran
Sent: Wednesday, November 26, 2003 2:18 PM
To: pegasus-l <at> opengroup.org
Subject: Writing InstIndication provider

Dear Openpegasus Developers,
I had work on RT_Indication quite a while and it works fine for me. It
generates the indications and my java listener is able to receive the
indications. Now i am working on CIM InstIndication and i have some queries
regarding the same. Does Pegasus 2.3 fully supports InstIndications ? For
Example :
1) InstCreation
2) InstDeletion
3) InstModification
4) InstMethodCall
5) InstRead
I tried to write one Instance+Indication Provider, for that I derived class
from CIM_InstIndication class which contains two properties.I wrote Instance
+ Indication provider for that Class. In filter for Indication I Specified
WQL1 query "SELECT * FROM MyClass" and in handler I specified the url for
Java listener interface.(MyClass is a class derived from
CIM_InstIndication). After that I have created Subscription. Then I tried to
Test the application by creating , deleing and modifying Instances through
(Continue reading)

Roger Kumpf | 1 Dec 2003 23:48
Picon
Favicon

Re: Enumerate CIM_Namespace class.

Basant,

> If Pegasus doesn't support CIM_Namespace class , CLASS_NOT_FOUND
> error should be thrown in stead of CIM_ERR_NOT_SUPPORTED .

What makes you say that?  Loading a schema into a CIM server does not
imply instrumentation for all the classes in that schema.

-Roger

--

-- 
==============================================
 Roger W. Kumpf            roger_kumpf <at> hp.com
 Hewlett-Packard Company   408-447-3215
==============================================

Roger Kumpf | 2 Dec 2003 02:59
Picon
Favicon

Re: Indicaiton Consumer Pegasus 2.2

John,

> About a week ago, one of the member of this open group explained how to
> write an Indication Consumer....
>
> I'm using Pegasus 2.2. However, I can't find one of the API in the example:
>
> CIMListener listener(portnumber);
> listener.start();
>
> I notice that there is a CIMListener class supported in Pegasus 2.2;
> however, is far different from the above...I also notice that the
> RT_Indication example consumer is written as a IN-PROC application...
>
> Can anyone help me with this problem?

This CIMListener interface was introduced in Pegasus 2.3.  It is not
supported in previous Pegasus releases.  I recommend that you move to
Pegasus 2.3 (preferrably 2.3.1) for indications support.

-Roger

--

-- 
==============================================
 Roger W. Kumpf            roger_kumpf <at> hp.com
 Hewlett-Packard Company   408-447-3215
==============================================

Chuck Carmack | 2 Dec 2003 14:22
Picon
Favicon

Document [PEP#058 - Release 2.3 Globalization Design 1.7] created/updated

This message is generated by The Open Group's web service 
because you are a subscriber to the pegasus-l list

A document has just been created/updated by Chuck Carmack.

Web:         Pegasus PEPs
Title:       PEP#058 - Release 2.3 Globalization Design  1.7
URL:         http://www.openpegasus.org/pp/doc.tpl?gdid=4180

----
To unsubscribe from this and/or other mailing lists administered by 
The Open Group please visit http://www.opengroup.org/sophocles/unsubscribe.tpl
or send a request to webmaster <at> opengroup.org (please include the text
of this message).

Imran | 2 Dec 2003 18:21
Favicon

Re: Indicaiton Consumer Pegasus 2.2

Dear Pegasus Developers,

I want to test association provider intrinsic methods associators and
associatornames from Pegasus 2.3 java Client. Is a current Pegasus java
client support this?

As when I click on "show menu" under Instances menu in Client for instances
it shows instances of the associations class but does give any thing under
"related objects" and "associations" tab. how can I test this functionality
from Pegasus Java client?

Thanks and regards

Imran Kazi

----- Original Message -----
From: "Roger Kumpf" <roger_kumpf <at> hp.com>
To: "Cruz, John" <john.cruz <at> intel.com>; <pegasus-l <at> opengroup.org>
Sent: Tuesday, December 02, 2003 7:29 AM
Subject: Re: Indicaiton Consumer Pegasus 2.2

> John,
>
> > About a week ago, one of the member of this open group explained how to
> > write an Indication Consumer....
> >
> > I'm using Pegasus 2.2. However, I can't find one of the API in the
example:
> >
> > CIMListener listener(portnumber);
(Continue reading)

Imran | 2 Dec 2003 18:38
Favicon

Testing Association provider methods from Pegasus Java Client

Dear Pegasus Developers,

I want to test association provider intrinsic methods associators and
associatornames from Pegasus 2.3 java Client. Is a current Pegasus java
client support this?

As when I click on "show menu" under Instances menu in Client for instances
it shows instances of the associations class but does give any thing under
"related objects" and "associations" tab. how can I test this functionality
from Pegasus Java client?

Thanks and regards
Imran Kazi

Imran | 2 Dec 2003 18:47
Favicon

Passing Instance to method Provider

Dear OpenPegasus Developers,
 
I am writting a Method Provider. The MOF is
class cls1
{
[key]string str;
};
class cls2
{
 
string PrintInst( [IN] cls1 ref c1Ref);
};
I wanted to pass the Instance of class cls1 as an IN parameter to method Provider.For that, I am creating the instance of class cls1 by setting properties and qualifiers at the client side(In my test client program). And i send the object path as IN param to Method Provider.Can i send Instance directly as an IN param?
After getting the Object path at provider side i am able to read the path.
Now I want to create an instance using the objectpath, is it possible ?
If not how can I read the properties of the reference object which I am getting as IN parameter.
I am writing the following code to achieve this functionality but I was not able to read the property
The code in InvokeMethod for provider will be as follows
 
CIMObjectPath path;
String reply = String::EMPTY;
Disvalue paramVal = inParameters[0].getValue();
paramVal.get(path);
CIMInstance instcls1("cls1");
instcls1.setPath(path);     //sets the object path for the instance.
CIMProperty propertycls1 = instcls1.getProperty(0);
CIMValue propertyValuecls1 = propertycls1.getValue();
propertyValuecls1.get(replyName);
 
How can i read the properties of this particular instance?
 
Thanks and Regards
Imran
 
 
 
 
 
 
 
Roger Kumpf | 2 Dec 2003 18:47
Picon
Favicon

Re: Method Provider Question ?

Swapnil,

> I want know whether it is possible to send CIM Class
> object references as [IN] or [OUT] parameters in
> Method Provider.

I see no reason why Pegasus would not support that.  I believe Pegasus
Method Providers support all method parameter types that are defined by
the CIM specification.

> For Example Consider the following CIM Class
> which will be having method CreateOrModifyStoragePool.
>
> //
> ==================================================================
> // cim_storageconfigurationservice
> (Device28_StorageServices.mof)
> //
> ==================================================================
>
> [Version ( "2.7.1000"), Description (
>        "This service allows the active management of a
> Storage "
>        "Server.  It allows jobs to be started for the
> creation, "
>        "modification and deletion of storage objects
> (StoragePools and
>        "StorageVolumes).") ]
>
> class CIM_StorageConfigurationService : CIM_Service
> {
> Uint32 CreateOrModifyStoragePool(
>         [Out] CIM_ConcreteJob ref Job,
>         [in] CIM_StorageSetting ref Goal,
>         [in,out] Uint64 Size,
>         [in] string InPool[],
>         [in] string Extent[],
>         [out] CIM_StoragePool ref Pool
> );
> }
>
> In the above Method "CreateOrModifyStoragePool" there
> are Out parameters
> [Out] CIM_ConcreteJob ref Job
> [out] CIM_StoragePool ref Pool
>
> and in parameters
> [in] CIM_StorageSetting ref Goal,
>
> So I want to know whether calling this method by
> Passing passing an object reference (ref Goal) and
> retriving object references for (ref Job,ref Pool)
> supported by Method Provider ?

-Roger

--

-- 
==============================================
 Roger W. Kumpf            roger_kumpf <at> hp.com
 Hewlett-Packard Company   408-447-3215
==============================================

Picon
Favicon

Unable to stop Cimserver with -s when using SSL

        Are you supposed to be able to shutdown the Cimserver when it is using SSL?  The code tries to attach to the HTTP port which isn't there.  I get an "Unable to connect to Cim Server" error message.

Sean

=================

Sean Keenan

HP OpenVMS OpenPegasus Port

Project Leader

Hewlett-Packard Company

sean.keenan <at> hp.com

ZKO03-4/Y02  -  603-884-2453

"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin, 1759

This electronic message transmission is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. Any review, copying, retransmission, dissemination, use or other disclosure by anyone other than the intended recipient(s) is prohibited.

If you are not an intended recipient, please contact the sender by reply email and destroy all copies of the original message.



Gmane