From: <ba...@us...> - 2007-01-18 01:17:01
|
Revision: 427 http://svn.sourceforge.net/omc/?rev=427&view=rev Author: bartw Date: 2007-01-17 17:17:01 -0800 (Wed, 17 Jan 2007) Log Message: ----------- removed xml service schema Modified Paths: -------------- schema/branches/1.0/mof/base/omc-base-providers.mof Removed Paths: ------------- schema/branches/1.0/mof/base/omc-xml-service.mof Modified: schema/branches/1.0/mof/base/omc-base-providers.mof =================================================================== --- schema/branches/1.0/mof/base/omc-base-providers.mof 2007-01-18 01:15:58 UTC (rev 426) +++ schema/branches/1.0/mof/base/omc-base-providers.mof 2007-01-18 01:17:01 UTC (rev 427) @@ -7,4 +7,3 @@ #pragma include ("omc-time-service.mof") #pragma include ("omc-initd.mof") #pragma include ("omc-syslog-ng.mof") -#pragma include ("omc-xml-service.mof") Deleted: schema/branches/1.0/mof/base/omc-xml-service.mof =================================================================== --- schema/branches/1.0/mof/base/omc-xml-service.mof 2007-01-18 01:15:58 UTC (rev 426) +++ schema/branches/1.0/mof/base/omc-xml-service.mof 2007-01-18 01:17:01 UTC (rev 427) @@ -1,282 +0,0 @@ -#pragma locale ("en_US") - -// ================================================================== -// OMC_ServiceFromXML -// ================================================================== -[ Description("The OMC_ServiceFromXML class represents a service " - "that is instrumented by the XML service provider") ] -class OMC_ServiceFromXML : CIM_Service -{ - [ Description("HealthPollingInterval specifies how often the " - "XML Service provider will check the health of the service"), - Units("Seconds") ] - uint64 HealthPollingInterval; - - [ Description("RequiredBadHits specifies the number of times " - "a service must report a unhealthy status at poll time " - "before an indication is generated. If this property is " - "not specified the value of 3 is assumed") ] - uint32 RequiredBadHits = 3; - - [ Description ("The BadHealthActions property holds the actions that must " - "be performed when the HealthState property for this service reaches " - "a degraded(10) or major failure(20) state. The only actions that can " - "be performed are stop and re-start. The property is an array of 2 " - "elements with the elements corresponding to the HealthState " - "property as follows:\n" - "Index 0 = Action to perform for degraded state(HealthState==10)\n" - "Index 1 = Action to perform for major failure state(HealthState==20\n" - "The value for each one of the elements can be as follows:\n" - "0 = Do nothing\n" - "1 = Restart the service\n" - "2 = Stop the service"), - ValueMap { 0, 1, 2 }, - Values{ "No Action", "Restart", "Stop" }, - ArrayType ("Indexed"), - ModelCorrespondence { "CIM_ManagedSystemElement.HealthState" } ] - - uint16 BadHealthActions[]; -}; - -// ================================================================== -// OMC_ServiceFromXMLConfigTool -// ================================================================== -class OMC_ServiceFromXMLConfigTool -{ - [ Key, Propagated("OMC_ServiceFromXML.Name"), - Description("This is the name of the service that configuration " - "tool is used for") ] - string ServiceName; - - [ Key, Description("The TaskName property provides a short name for the " - "task this configuration tool is used for") ] - string TaskName; - - [ Description("The Description property provides discriptive test " - "about this task/configuration tool") ] - string Description; - - [ Required, Description("The Type property specifies what type of " - "access is needed to use the configuration tool") ] - string Type; - - [ Required, Description("The Uri property provides the addressing " - "information needed to access the configuration tool") ] - String Uri; -}; - -// ================================================================== -// OMC_ServiceHealthData -// ================================================================== -[ Description("The OMC_ServiceHealthData class represents a single health " - "data item for a service") ] -class OMC_ServiceHealthData -{ - [ Key, Propagated("OMC_ServiceFromXML.Name"), - Description("This is the name of the service that this health data " - "belongs to.") ] - string ServiceName; - - [ Key, Description("The name of the health data being reported by " - "the service") ] - string DataName; - - [ Description("Free form text that describes this health data") ] - string Description; - - [ Description ("The information in the DataValue property and any " - "of the thresholds is presented as string data. However the " - "appropriate datatype for this information may be something " - "else (e.g. signed 32 bit integer). Knowledge of the appropriate " - "data type may be needed for comparison when processing " - "thresholds."), - ValueMap { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }, - Values{ "Unknown", "String", "Unsigned 8 bit", "Signed 8 bit", - "Unsigned 16 bit", "Signed 16 bit", "Unsigned 32 bit", - "Signed 32 bit", "Unsigned 64 bit", "Signed 64 bit", - "Real 32 bit", "Real 64 bit" } ] - uint16 DataType; - - [ Description("The value of the health data specified by DataName " - "for the service") ] - string DataValue; - - [ ArrayType ("Indexed"), - Description("These are the default thresholds that have been set by " - "the service provider. They are used if the actual thresholds " - "have not been set by the administrator. This is an array of " - "six elements with each element representing a certain " - "threshold. The array is ordered as follows:\n" - "0 = Lower Fatal threshold\n" - "1 = Lower Critical threshold\n" - "2 = Lower Non-Critical threshold\n" - "3 = Upper Non-Critical threshold\n" - "4 = Upper Critical threshold\n" - "5 = Upper Fatal threshold\n" - "Each element is the string representation of that threshold " - "value."), - ModelCorrespondence { - "OMC_ServiceHealthData.DataType", - "OMC_ServiceHealthData.DataValue" } ] - string DefaultThresholds[]; - - [ Write, ArrayType ("Indexed"), - Description("These are the thresholds specified by the administrator " - "If they are present, the DefaultThresholds are ignored." - "This is an array of six elements with each element representing " - "a certain threshold. The array is ordered as follows:\n" - "0 = Lower Fatal threshold\n" - "1 = Lower Critical threshold\n" - "2 = Lower Non-Critical threshold\n" - "3 = Upper Non-Critical threshold\n" - "4 = Upper Critical threshold\n" - "5 = Upper Fatal threshold\n" - "Each element is the string representation of that threshold " - "value."), - ModelCorrespondence { - "OMC_ServiceHealthData.DataType", - "OMC_ServiceHealthData.DataValue" } ] - string ActualThresholds[]; - - [ Description("The health state the value of the health item " - "represents"), - ValueMap { "0", "5", "10", "20" }, - Values { "Unknown", "OK", "Degraded/Warning", - "Major failure" } ] - uint16 HealthState; -}; - -// ================================================================== -// OMC_AssociatedConfigTool -// ================================================================== -[ Association, Version ( "0.0.1" ), - Description ("The AssociatedConfigTool association related the " - "service to its configuration tools") ] -class OMC_AssociatedConfigTool -{ - [ Key, Min(1), Max(1), Description("The service the health " - "data belongs to") ] - OMC_ServiceFromXML REF Service; - - [ Key, Description("A configuration tool object for the service") ] - OMC_ServiceFromXMLConfigTool REF ConfigTool; -}; - -// ================================================================== -// OMC_AssociatedHealthData -// ================================================================== -[ Association, Version ( "0.0.1" ), - Description ("The AssociatedHealthData association related the " - "ServiceHealthData objects with the ServiceFromXML " - "objects") ] -class OMC_AssociatedHealthData -{ - [ Key, Min(1), Max(1), Description("The service the health " - "data belongs to") ] - OMC_ServiceFromXML REF Service; - - [ Key, Description("A health data object for the service") ] - OMC_ServiceHealthData REF HealthData; -}; - -// ================================================================== -// OMC_XMLServiceProcess -// ================================================================== -[ Association, Version ( "0.0.1" ), - Description ("The XMLService process relates a service " - "to its processes") ] -class OMC_XMLServiceProcess : CIM_ServiceProcess -{ - [ Override("Service"), Key, Description("The ServiceFromXML " - "that is associated to a process.") ] - OMC_ServiceFromXML REF Service; - - [ Override("Process"), Key, Description("The process that " - "the XMLService is running in.") ] - OMC_UnixProcess REF Process; -}; - -// ================================================================== -// OMC_HostedXMLService -// ================================================================== -[ Association, Version ( "0.0.1" ), - Description ("The HostedXMLService relates the service to " - "the computer system it is running on") ] -class OMC_HostedXMLService : CIM_HostedService -{ - [ Override("Antecedent"), Key, Description("The computer system " - "that hosts the service") ] - OMC_UnitaryComputerSystem REF Antecedent; - - [ Override("Dependent"), Key, Description("The service that is hosted " - "on the computer system.") ] - OMC_ServiceFromXML REF Dependent; -}; - -// ================================================================== -// OMC_XMLServiceServiceDependency -// ================================================================== -[ Association, Description("OMC_XMLServiceServiceDependency " - "represents the relationship of one OMC_ServiceFromXML " - "depending on another") ] -class OMC_XMLServiceServiceDependency : CIM_ServiceServiceDependency -{ - [Override ( "Antecedent" ), Description ( - "The required Service.")] - OMC_ServiceFromXML REF Antecedent; - - [Override ( "Dependent" ), Description ( - "The Service that is dependent on an underlying Service.")] - OMC_ServiceFromXML REF Dependent; -}; - -// ================================================================== -// OMC_XMLServiceHealthAlert -// ================================================================== -[ Indication, - Description("The alert that goes out when health data exceeds the " - "critical or fatal thresholds") ] -class OMC_XMLServiceHealthAlert : CIM_AlertIndication -{ - [ Description("The name of the service the alert is for." - "This is one of the keys to the OMC_ServiceHealthData object") ] - string ServiceName; - - [ Description("The name of the health data item that has exceeded " - "the critical or fatal threshold. This is one of the keys to the " - "OMC_ServiceHealthData object") ] - string HealthDataItemName; - - [ Description("The current value of the item specified in by the " - "HealthDataitemName property") ] - string CurrentValue; - - [ Description ("The information in the CurrentValue property and any " - "of the thresholds is presented as string data. However the " - "appropriate datatype for this information may be something " - "else (e.g. signed 32 bit integer). Knowledge of the appropriate " - "data type may be needed for comparison when processing " - "thresholds."), - ValueMap { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }, - Values{ "Unknown", "String", "Unsigned 8 bit", "Signed 8 bit", - "Unsigned 16 bit", "Signed 16 bit", "Unsigned 32 bit", - "Signed 32 bit", "Unsigned 64 bit", "Signed 64 bit", - "Real 32 bit", "Real 64 bit" } ] - uint16 DataType; - - [ Description("The threshold the current value has exceeded"), - ValueMap { 0, 1, 2, 3, 4, 5 }, - Values{ "Lower Fatal", "Lower Critical", "Lower Non-Critical", - "Upper Fatal", "Upper Critical", "Upper Non-Critical" } ] - uint16 ThresholdType; - - [ Description("The value of the threshold that has been exceeded") ] - string ThresholdValue; - - [ Description("The health state the ThresholdValue represents"), - ValueMap { "0", "5", "10", "20" }, - Values { "Unknown", "OK", "Degraded/Warning", - "Major failure" } ] - uint16 HealthState; -}; - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |