Update of /cvsroot/sblim/cmpi-base
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29738
Modified Files:
CHANGE.LOG README.INDICATION
Log Message:
added sample subscripion to test/indication directory (for openPegasus);
updated README.INDICATION with better description and sample
Index: CHANGE.LOG
===================================================================
RCS file: /cvsroot/sblim/cmpi-base/CHANGE.LOG,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- CHANGE.LOG 7 Mar 2005 09:53:37 -0000 1.11
+++ CHANGE.LOG 17 Mar 2005 08:39:53 -0000 1.12
@@ -57,5 +57,8 @@
FreePhysicalMemory, SizeStoredInPagingFiles and
FreeSpaceInPagingFiles for kernel 2.6
* bug# 1155834: fixed OperatingSystem's InstallDate for Fedora
+* added sample subscriptions to test/indication directory
+* updated README.INDICATION with better description and sample for
+ openPegasus
// ===================================================================
Index: README.INDICATION
===================================================================
RCS file: /cvsroot/sblim/cmpi-base/README.INDICATION,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- README.INDICATION 3 Feb 2005 18:19:34 -0000 1.1
+++ README.INDICATION 17 Mar 2005 08:39:53 -0000 1.2
@@ -11,6 +11,11 @@
Author: Heidi Neumann <hei...@de...>
Date : 01/03/2005
+Changes: 03/07/2005: added description to register Pegasus Simple Display
+ consumer
+ 03/09/2005: added sample indication subscription for Pegasus to
+ test/indication directory
+
/* ---------------------------------------------------------------------------*/
@@ -26,6 +31,36 @@
- enable the class definition of Linux_OperatingSystemIndication in the
mof/Linux_Base.mof file
- for PEGASUS:
- enable the registration of the Indication Interface for the provider
- cmpiOSBase_OperatingSystemProvider
+ - edit mof/makefile.pegasus to enable the registration of the Indication
+ class and provider
- now build the cmpi-base package as described in the README
+
+
+
+Indication Sample (openPegasus)
+-------------------------------
+
+A sample indication subscription can be found under test/indication. You
+need to register the Pegasus Simple Display consumer. The registration
+command and mof is:
+
+> cimmofl -nroot/PG_InterOp $(PEGASUS_ROOT)/src/Providers/sample/Load/SimpleDisplayConsumerR.mof
+
+The openPegasus SimpleDisplayConsumer writes received indications into the
+indicationLog file. You only need to set the PEGASUS_DISPLAYCONSUMER_DIR
+environment variable by:
+
+> export PEGASUS_DISPLAYCONSUMER_DIR=<path>
+
+Then load the sample filter, handler and subscription by:
+
+> wbemexec PegasusCreateFilter.localhost.xml
+> wbemexec PegasusCreateHandler.localhost.xml
+> wbemexec PegasusCreateSubscription.localhost.xml
+
+Unload via the following order:
+
+> wbemexec PegasusDeleteSubscription.localhost.xml
+> wbemexec PegasusDeleteHandler.localhost.xml
+> wbemexec PegasusDeleteFilter.localhost.xml
+
|