summaryrefslogtreecommitdiffstats
path: root/Schemas
diff options
context:
space:
mode:
authorvenkat.puvvada <venkat.puvvada>2008-05-16 06:26:44 +0000
committervenkat.puvvada <venkat.puvvada>2008-05-16 06:26:44 +0000
commit89038b066d95811bb52e83d2d4e1700507edad5d (patch)
treeb4943d58db3355a21a457826c9c0a6269728d7ce /Schemas
parent20b03b88e869aa1c9219fd95b9e4fcf60d0b046a (diff)
downloadtog-pegasus-89038b066d95811bb52e83d2d4e1700507edad5d.zip
tog-pegasus-89038b066d95811bb52e83d2d4e1700507edad5d.tar.gz
tog-pegasus-89038b066d95811bb52e83d2d4e1700507edad5d.tar.xz
BUG#: 7635
TITLE: PEP#323 DMTF Indications Profile (DSP1054) Implementation, stage 1. DESCRIPTION: PEP 323 implementation.
Diffstat (limited to 'Schemas')
-rw-r--r--Schemas/CIM217/CIM_EventExperimental.mof44
-rw-r--r--Schemas/CIM217/DMTF/EventExperimental/CIM_IndicationService.mof77
-rw-r--r--Schemas/CIM217/DMTF/EventExperimental/CIM_IndicationServiceCapabilities.mof82
-rw-r--r--Schemas/Pegasus/InterOp/Makefile21
-rw-r--r--Schemas/Pegasus/InterOp/VER20/PG_ServerProfile20.mof22
5 files changed, 246 insertions, 0 deletions
diff --git a/Schemas/CIM217/CIM_EventExperimental.mof b/Schemas/CIM217/CIM_EventExperimental.mof
new file mode 100644
index 0000000..a715fbd
--- /dev/null
+++ b/Schemas/CIM217/CIM_EventExperimental.mof
@@ -0,0 +1,44 @@
+//%2006////////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
+// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
+// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
+// IBM Corp.; EMC Corporation, The Open Group.
+// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
+// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
+// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
+// EMC Corporation; VERITAS Software Corporation; The Open Group.
+// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
+// EMC Corporation; Symantec Corporation; The Open Group.
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to
+// deal in the Software without restriction, including without limitation the
+// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+// sell copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
+// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
+// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
+// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
+// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+//==============================================================================
+// ====================================================
+// Title : CIM_Event Experimental MOF
+// Filename : CIM_EventExperimental.mof
+// Version :
+// Date : 05/05/2008
+// Description: This file was created to support DMTF Indications Profile
+// (DSP1054) and compatible with OpenPegasus build enviroment.
+// DMTF Indications Profile classes which are included below are
+// still experimental. These classes were taken from CIM217
+// Experimental schema.
+//=====================================================
+
+#pragma include ("DMTF/EventExperimental/CIM_IndicationService.mof")
+#pragma include ("DMTF/EventExperimental/CIM_IndicationServiceCapabilities.mof")
diff --git a/Schemas/CIM217/DMTF/EventExperimental/CIM_IndicationService.mof b/Schemas/CIM217/DMTF/EventExperimental/CIM_IndicationService.mof
new file mode 100644
index 0000000..e8602a7
--- /dev/null
+++ b/Schemas/CIM217/DMTF/EventExperimental/CIM_IndicationService.mof
@@ -0,0 +1,77 @@
+// Copyright (c) 2007 DMTF. All rights reserved.
+//<change cr="WIPCR00354.005" type="change">Update IndicationService
+// to align with SettingData and add Capabilities</change>
+//<change cr="WIPCR00320.003" type="change">Add CIM_IndicationService
+//</change>
+// ==================================================================
+// CIM_IndicationService
+// ==================================================================
+ [Experimental, Version ( "2.14.0" ),
+ UMLPackagePath ( "CIM::Event" ),
+ Description (
+ "An IndicationService is a Service of the CIM Object Manager "
+ "that is responsible for delivering indications to Indication "
+ "Handlers." )]
+class CIM_IndicationService : CIM_Service {
+
+ [Description (
+ "The FilterCreationEnabled property controls whether or "
+ "not clients can create indication filters. If this value "
+ "is set to false, only the indication filters that exist "
+ "can be subscribed to. If this value is true clients may "
+ "attempt to create filters. Note that implementations may "
+ "preset this setting and not allow this value to be "
+ "modified." )]
+ boolean FilterCreationEnabled = false;
+
+ [Description (
+ "Defines the number of retries that the indication "
+ "service will try to deliver an indication to a "
+ "particular listener destination. This does not effect "
+ "the original delivery attempt, thus if set to 0, it will "
+ "only try to deliver the indication once. Note that "
+ "implementations may preset this setting and not allow "
+ "this value to be modified." ),
+ MinValue ( 0 )]
+ uint16 DeliveryRetryAttempts = 3;
+
+ [Description (
+ "Defines the minimal time interval in seconds for the "
+ "indication service to use before delivering an "
+ "indication to a particular listener destination that "
+ "previously failed. The implementation may take longer "
+ "due to QoS or other processing. Note that "
+ "implementations may preset this setting and not allow "
+ "this value to be modified." ),
+ PUnit ( "Seconds" )]
+ uint64 DeliveryRetryInterval = 30;
+
+ [Description (
+ "Defines the removal action for subscriptions that have "
+ "two failed indication deliveries without any successful "
+ "indication deliveries in between and the time between "
+ "the failed deliveries exceeded the timeout defined in "
+ "the SubscriptionRemovalTimeInterval property. \"Remove\" "
+ "defines the subscription is to be removed.\n"
+ "\"Disable\" indicates that subscription removal process "
+ "isnot being enforced. \n"
+ "\"Ignore\" indicates that the removal action is "
+ "temporarily not enforced. implementations may preset "
+ "this setting and not allow this value to be modified." ),
+ ValueMap { "2", "3", "4", ".." },
+ Values { "Remove", "Disable", "Ignore", "DMTF Reserved" },
+ ModelCorrespondence {
+ "CIM_IndicationService.SubscriptionRemovalTimeInterval" }]
+ uint16 SubscriptionRemovalAction;
+
+ [Description (
+ "Minimum time between two failed indication deliveries "
+ "without any successful indication deliveries in between "
+ "before the SubscriptionRemovalPolicy goes into effect." ),
+ ModelCorrespondence {
+ "CIM_IndicationService.SubscriptionRemovalAction" },
+ PUnit ( "Seconds" )]
+ uint64 SubscriptionRemovalTimeInterval;
+
+
+};
diff --git a/Schemas/CIM217/DMTF/EventExperimental/CIM_IndicationServiceCapabilities.mof b/Schemas/CIM217/DMTF/EventExperimental/CIM_IndicationServiceCapabilities.mof
new file mode 100644
index 0000000..618b734
--- /dev/null
+++ b/Schemas/CIM217/DMTF/EventExperimental/CIM_IndicationServiceCapabilities.mof
@@ -0,0 +1,82 @@
+// Copyright (c) 2007 DMTF. All rights reserved.
+//<change cr="WIPCR00391.004" type="change">
+//Add CIM_IndicationServiceCapabilities.MaxListenerDestinations</change>
+//<change cr="WIPCR00396.002" type="change">Additional Advertisement
+// of Indication Subscription capabilities</change>
+// ==================================================================
+// CIM_IndicationServiceCapabilities
+// ==================================================================
+ [Experimental, Version ( "2.16.0" ),
+ UMLPackagePath ( "CIM::Core::Capabilities" ),
+ Description (
+ "IndicationServiceCapabilities describes whether properties on "
+ "the Indication Service can be modified by a client." )]
+class CIM_IndicationServiceCapabilities : CIM_Capabilities {
+
+ [Description (
+ "Boolean indicating whether the FilterCreationEnabled "
+ "property can be set by a client application." ),
+ ModelCorrespondence {
+ "CIM_IndicationService.FilterCreationEnabled" }]
+ boolean FilterCreationEnabledIsSettable;
+
+ [Description (
+ "Boolean indicating whether the DeliveryRetryAttempts "
+ "property can be set by a client application." ),
+ ModelCorrespondence {
+ "CIM_IndicationService.DeliveryRetryAttempts" }]
+ boolean DeliveryRetryAttemptsIsSettable;
+
+ [Description (
+ "Boolean indicating whether the DeliveryRetryInterval "
+ "property can be set by a client application." ),
+ ModelCorrespondence {
+ "CIM_IndicationService.DeliveryRetryInterval" }]
+ boolean DeliveryRetryIntervalIsSettable;
+
+ [Description (
+ "Boolean indicating whether the SubscriptionRemovalAction "
+ "property can be set by a client application." ),
+ ModelCorrespondence {
+ "CIM_IndicationService.SubscriptionRemovalAction" }]
+ boolean SubscriptionRemovalActionIsSettable;
+
+ [Description (
+ "Boolean indicating whether the "
+ "SubscriptionRemovalTimeInterval property can be set by a "
+ "client application." ),
+ ModelCorrespondence {
+ "CIM_IndicationService.SubscriptionRemovalTimeInterval" }]
+ boolean SubscriptionRemovalTimeIntervalIsSettable;
+
+ [Description (
+ "MaxListenerDestinations specifies the maximum number of "
+ "instances of CIM_ListenerDestination allowed by the "
+ "associated CIM_IndicationService." ),
+ MinValue ( 1 )]
+ uint32 MaxListenerDestinations = 1;
+
+ [Description (
+ "MaxActiveSubscriptions specifies the maximum total "
+ "number of instances of CIM_IndicationSubcription and "
+ "CIM_FilterCollectionSubscription instances supported by "
+ "the CIM_IndicationService." ),
+ MinValue ( 1 )]
+ uint32 MaxActiveSubscriptions = 1;
+
+ [Description (
+ "SubscriptionsPersisted indicates whether or not the "
+ "IndicationService persists indication subscriptions "
+ "across restarts of the service. If "
+ "SubscriptionsPersisted has a value of true, the "
+ "indication service shall persist indication "
+ "subscriptions across restarts of service. If "
+ "SubscriptionsPersisted has a value of false, the "
+ "indication service shall not persist indication "
+ "subscriptions across restarts of the service. A value of "
+ "NULL indicates support for subscription persistence is "
+ "unknown." )]
+ boolean SubscriptionsPersisted = false;
+
+
+};
diff --git a/Schemas/Pegasus/InterOp/Makefile b/Schemas/Pegasus/InterOp/Makefile
index 532c845..67caf12 100644
--- a/Schemas/Pegasus/InterOp/Makefile
+++ b/Schemas/Pegasus/InterOp/Makefile
@@ -78,6 +78,16 @@ ifdef PEGASUS_ENABLE_INTEROP_PROVIDER
endif
+#
+# PEP 323
+#
+ifdef PEGASUS_ENABLE_DMTF_INDICATION_PROFILE_SUPPORT
+ ifeq ($(PEGASUS_CIM_SCHEMA), CIM217)
+ @$(ECHO) +++++ Loading CIM_EventExperimental into $(INTEROPNS) namespace ...
+ @$(CIMMOFCLI) "-R$(REPOSITORY_DIR)" "-N$(REPOSITORY_NAME)" "-M$(REPOSITORY_MODE)" "-I$(CIM_SCHEMA_DIR)" "-n$(INTEROPNS)" "-aE" "$(CIM_SCHEMA_DIR)/CIM_EventExperimental.mof"
+ endif
+endif
+
repositoryServer:
@$(ECHO) +++++ Loading CIM_Core$(CIM_SCHEMA_VER) into $(INTEROPNS) namespace ...
@cimmof "-I$(CIM_SCHEMA_DIR)" "-n$(INTEROPNS)" $(ALLOW_EXPERIMENTAL) "$(CIM_SCHEMA_DIR)/CIM_Core$(CIM_SCHEMA_VER).mof"
@@ -106,6 +116,17 @@ ifdef PEGASUS_ENABLE_INTEROP_PROVIDER
@cimmof "-I$(PG_INTEROP_MOF_PATH)" "-n$(INTEROPNS)" $(ALLOW_EXPERIMENTAL) "$(PG_INTEROP_MOF_PATH)/PG_ServerProfile$(PG_INTEROP_SCHEMA_VER).mof"
endif
+#
+# PEP 323
+#
+ifdef PEGASUS_ENABLE_DMTF_INDICATION_PROFILE_SUPPORT
+ ifeq ($(PEGASUS_CIM_SCHEMA), CIM217)
+ @$(ECHO) +++++ Loading CIM_EventExperimental into $(INTEROPNS) namespace ...
+ @cimmof "-I$(CIM_SCHEMA_DIR)" "-n$(INTEROPNS)" "-aE" "$(CIM_SCHEMA_DIR)/CIM_EventExperimental.mof"
+ endif
+endif
+
+
clean:
@$(ECHO) +++++ Removing existing CIM Repository named $(INTEROPNS)
@$(RMREPOSITORY) "$(INTEROPNSDIRECTORY)"
diff --git a/Schemas/Pegasus/InterOp/VER20/PG_ServerProfile20.mof b/Schemas/Pegasus/InterOp/VER20/PG_ServerProfile20.mof
index 907911c..7d92633 100644
--- a/Schemas/Pegasus/InterOp/VER20/PG_ServerProfile20.mof
+++ b/Schemas/Pegasus/InterOp/VER20/PG_ServerProfile20.mof
@@ -704,4 +704,26 @@ class PG_HostedObjectManager : CIM_HostedService {
class PG_HostedAccessPoint : CIM_HostedAccessPoint {
};
+// ==================================================================
+// PG_HostedIndicationService
+// ==================================================================
+[Association, Version ("2.8.0"), Description(
+ "Subclass supported by the Pegasus Server Profile Implementation.")]
+class PG_HostedIndicationService : CIM_HostedService {
+};
+// ==================================================================
+// PG_ElementCapabilities
+// ==================================================================
+[Association, Version ("2.8.0"), Description(
+ "Subclass supported by the Pegasus Server Profile Implementation.")]
+class PG_ElementCapabilities : CIM_ElementCapabilities {
+};
+
+// ==================================================================
+// PG_ServiceAffectsElement
+// ==================================================================
+[Association, Version ("2.8.0"), Description(
+ "Subclass supported by the Pegasus Server Profile Implementation.")]
+class PG_ServiceAffectsElement : CIM_ServiceAffectsElement {
+};