From: Heidi N. <hei...@us...> - 2005-03-17 08:40:05
|
Update of /cvsroot/sblim/cmpi-base/mof In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29738/mof Modified Files: Linux_Base.mof Linux_BaseRegistration.mof makefile.pegasus Added Files: Linux_BaseIndication.mof Linux_BaseIndicationReg.mof Log Message: added sample subscripion to test/indication directory (for openPegasus); updated README.INDICATION with better description and sample --- NEW FILE: Linux_BaseIndication.mof --- // // Linux_BaseIndication.mof // // (C) Copyright IBM Corp. 2005 // // THIS FILE IS PROVIDED UNDER THE TERMS OF THE COMMON PUBLIC LICENSE // ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE // CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT. // // You can obtain a current copy of the Common Public License from // http://oss.software.ibm.com/developerworks/opensource/license-cpl.html // // Author: Heidi Neumann <hei...@de...> // Contributors: // // Description: // CIM Indication classes for Linux Base System Instrumentation // #pragma locale ("en_US") // ------------------------------------------------------------------- // ******************************************************************* // Classes // ******************************************************************* // ------------------------------------------------------------------- // =================================================================== // Linux_OperatingSystemIndication // =================================================================== [ Indication, Description ("Metric Process Indication"), Provider("cmpi:OSBase_OperatingSystemProvider") ] class Linux_OperatingSystemIndication : CIM_ProcessIndication { [Description("OS Name for Indication")] string Name; [Description("OperationalStatus for Indication")] string OperationalStatus; }; --- NEW FILE: Linux_BaseIndicationReg.mof --- // // Linux_BaseIndicationReg.mof // // (C) Copyright IBM Corp. 2005 // // THIS FILE IS PROVIDED UNDER THE TERMS OF THE COMMON PUBLIC LICENSE // ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE // CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT. // // You can obtain a current copy of the Common Public License from // http://oss.software.ibm.com/developerworks/opensource/license-cpl.html // // Author: Heidi Neumann <hei...@de...> // Contributors: // // Description: // instances to register CIM Indication classes for Linux Base System // Instrumentation to openPegasus' root/PG_InterOp namespace // #pragma locale ("en_US") #pragma namespace ("root/PG_InterOp") // =================================================================== // Linux_OperatingSystemIndication // =================================================================== instance of PG_ProviderCapabilities { //The provider module as defined in PG_ProviderModule ProviderModuleName = "OSBase_OperatingSystemProviderModule"; //The provider name as defined in PG_Provider ProviderName = "OSBase_OperatingSystemProvider"; CapabilityID = "2"; //Name of the CIM class as defined in the mof ClassName = "Linux_OperatingSystemIndication"; Namespaces = {"root/cimv2"}; ProviderType = { 4 }; // Indication SupportedProperties = NULL; // All properties SupportedMethods = NULL; // All methods }; Index: Linux_Base.mof =================================================================== RCS file: /cvsroot/sblim/cmpi-base/mof/Linux_Base.mof,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- Linux_Base.mof 3 Feb 2005 18:19:34 -0000 1.10 +++ Linux_Base.mof 17 Mar 2005 08:39:54 -0000 1.11 @@ -105,19 +105,6 @@ }; -//[ Indication, -// Description ("Metric Process Indication"), -// Provider("cmpi:OSBase_OperatingSystemProvider") -//] -//class Linux_OperatingSystemIndication : CIM_ProcessIndication -//{ -// [Description("OS Name for Indication")] -// string Name; -// [Description("OperationalStatus for Indication")] -// string OperationalStatus; -//}; - - // =================================================================== // Linux_UnixProcess // =================================================================== Index: Linux_BaseRegistration.mof =================================================================== RCS file: /cvsroot/sblim/cmpi-base/mof/Linux_BaseRegistration.mof,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- Linux_BaseRegistration.mof 3 Feb 2005 18:19:34 -0000 1.8 +++ Linux_BaseRegistration.mof 17 Mar 2005 08:39:54 -0000 1.9 @@ -138,21 +138,6 @@ SupportedMethods = NULL; // All methods }; -//instance of PG_ProviderCapabilities -//{ -// //The provider module as defined in PG_ProviderModule -// ProviderModuleName = "OSBase_OperatingSystemProviderModule"; -// //The provider name as defined in PG_Provider -// ProviderName = "OSBase_OperatingSystemProvider"; -// CapabilityID = "2"; -// //Name of the CIM class as defined in the mof -// ClassName = "Linux_OperatingSystemIndication"; -// Namespaces = {"root/cimv2"}; -// ProviderType = { 4 }; // Indication -// SupportedProperties = NULL; // All properties -// SupportedMethods = NULL; // All methods -//}; - // =================================================================== // Linux_UnixProcess Index: makefile.pegasus =================================================================== RCS file: /cvsroot/sblim/cmpi-base/mof/makefile.pegasus,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- makefile.pegasus 18 Mar 2003 09:16:58 -0000 1.1.1.1 +++ makefile.pegasus 17 Mar 2005 08:39:54 -0000 1.2 @@ -5,6 +5,9 @@ install: cimmofl -I. -nroot/cimv2 Linux_Base.mof cimmofl -I. -nroot/PG_InterOp Linux_BaseRegistration.mof +# cimmofl -nroot/PG_InterOp $(PEGASUS_ROOT)/src/Providers/sample/Load/SimpleDisplayConsumerR.mof +# cimmofl -I. -nroot/cimv2 Linux_BaseIndication.mof +# cimmofl -I. -nroot/PG_InterOp Linux_BaseIndicationReg.mof |