From: Benjamin B. <bg...@us...> - 2005-08-11 11:48:03
|
Update of /cvsroot/sblim/ecute/bender In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4605/bender Added Files: Cisco_Job.mof Cisco_LogicalElementSubclasses.mof Cisco_Qualifiers.mof Cisco_LogicalPhysicalCore.mof Log Message: --- NEW FILE: Cisco_LogicalPhysicalCore.mof --- // Base Classes of the CIM-CX Model // Classes in this file: Top, ManagedElement, Component, Dependency, // SeeAlso, Asset, PhysicalElement, SoftwareElement, // PhysicalPackage, Location, ElementLocation, // LogicalElement, AssetResultingElement // Date of Original Release: December 2003 // Change History: // July 15, 2004 // - Aligned with CIM V2.9 Preliminary and Inventory Schema // classes/properties added // December 15, 2004 // - Updated the CorrelatableName qualifier to correspond to the // DMTF definition (Becomes the Correlatable qualifier) // - Corrected the value of an 'unknown' date/time // - Updated and clarified several Descriptions // - Removed the ModelCorrespondence qualifier when // CrossIndexedArrays is defined, since the latter contains // more data regarding the correspondence // - Added Latitude, Longitude and Altitude data to Location // February 13, 2005 // - Fixed compile errors // - Replaced ModelCorrespondence on PhysicalPackage.NumberOf // SlotsWithModules with specific OCL // - Renamed and split the Cisco_Core MOF into the // LogicalPhysicalCore, Job and LogicalElementSubclasses MOFs for // improved import into Rose // February 21, 2005 // - Corrected MinValues (to be negative numbers) for Latitude // and Longitude properties in the Location class // - Added MinValue to Location.Altitude // - Added UnknownValues to Location.Latitude, Longitude and // Altitude // - Added OCL qualifier to the Location class // Copyright (c) 2004-2005, Cisco Systems Inc. #pragma locale ("en_US") // ================================================================== // Top // ================================================================== [Abstract, Version ("3.0.yyyymmdd"), Description ( "Top of the inheritance tree.") ] class Cisco_Top { [Key, Required, Description ( "Opaque instance identifier. In order to create a " "multi-scoped ID, identifiers SHOULD be prefaced " "with a scoping name. The identifier takes the form, " "<scoping name>:<identifier within scope>. The " "<scoping name> SHOULD be a trademarked, registered, " "or copyrighted name for uniqueness in a multi-vendor " "environment. For example, an IOS system ID could " "take the form, \"IOS:<hardware id>\". Note that the " "first occurrence of a colon MUST be between the scoping " "name and identifier.") ] string InstanceID; [Description ( "Short description of the instance."), MappingStrings { "MOF.DMTF|CIM_ManagedElement.Description|2.8.1000"} ] string InstanceDescription; }; // ================================================================== // ManagedElement // ================================================================== [Abstract, Version ("3.0.yyyymmdd"), Description ( "Top of the inheritance tree for non-association classes."), MappingStrings {"MOF.DMTF|CIM_ManagedElement|2.8.1000"} ] class Cisco_ManagedElement : Cisco_Top { [Description ( "A user-friendly name for the instance."), MappingStrings { "MOF.DMTF|CIM_ManagedElement.ElementName|2.8.1000"} ] string InstanceName; }; // ================================================================== // SeeAlso // ================================================================== [Association, Version ("3.0.yyyymmdd"), Description ( "Indicates different aspects of the same 'real world' thing. " "Instead of an association, this could be supported via " "multiple inheritance. This relationship is defined " "here as a basic mechanism for all environments."), MappingStrings {"MOF.DMTF|CIM_LogicalIdentity|2.8.1000"} ] class Cisco_SeeAlso : Cisco_Top { [Required, Description ("An aspect of the element."), MappingStrings { "MOF.DMTF|CIM_LogicalIdentity.SystemElement|2.8.1000"} ] Cisco_Top REF Aspect1; [Required, Description ("An aspect of the element."), MappingStrings { "MOF.DMTF|CIM_LogicalIdentity.SameElement|2.8.1000"} ] Cisco_Top REF Aspect2; }; // ================================================================== // Dependency // ================================================================== [Association, Version ("3.0.yyyymmdd"), Description ( "A generic 'usage' relationship."), MappingStrings {"MOF.DMTF|CIM_Dependency|2.8.1000"} ] class Cisco_Dependency : Cisco_Top { [Required, Description ("The independent element."), MappingStrings { "MOF.DMTF|CIM_Dependency.Antecedent|2.8.1000"} ] Cisco_Top REF Independent; [Required, Description ("The dependent element."), MappingStrings { "MOF.DMTF|CIM_Dependency.Dependent|2.8.1000"} ] Cisco_Top REF Dependent; }; // ================================================================== // Component // ================================================================== [Association, Aggregation, Version ("3.0.yyyymmdd"), Description ( "A generic whole-part relationship."), MappingStrings {"MOF.DMTF|CIM_Component|2.8.1000"} ] class Cisco_Component : Cisco_Top { [Aggregate, Required, Description ("The grouping element."), MappingStrings { "MOF.DMTF|CIM_Component.GroupComponent|2.8.1000"} ] Cisco_Top REF GroupComponent; [Required, Description ("The component element that is grouped."), MappingStrings { "MOF.DMTF|CIM_Component.PartComponent|2.8.1000"} ] Cisco_Top REF PartComponent; }; // ================================================================== // Asset // ================================================================== [Abstract, Version ("3.0.yyyymmdd"), Description ( "Superclass for all hardware/software assets. Can define " "subcomponents of an asset using the Component relationship.") ] class Cisco_Asset : Cisco_ManagedElement { [Correlatable {"Cisco:AssetId:Manufacturer"}, Description ("Manufacturer/vendor of the asset."), MappingStrings { "MOF.DMTF|CIM_PhysicalElement.Manufacturer|2.8.1000", "MOF.DMTF|CIM_SoftwareIdentity.Manufacturer|2.8.1000"} ] string Manufacturer; [Required, Correlatable {"Cisco:AssetId:ProductName"}, Description ("Asset product name."), MappingStrings { "MOF.DMTF|CIM_PhysicalElement.Name|2.8.1000", "MOF.DMTF|CIM_SoftwareIdentity.Name|2.8.1000"} ] string ProductName; [Required, Correlatable {"Cisco:AssetId:ProductVersion"}, Description ("Asset version information."), MappingStrings { "MOF.DMTF|CIM_PhysicalElement.Version|2.8.1000", "MOF.DMTF|CIM_SoftwareIdentity.VersionString|2.8.1000"} ] string ProductVersion; [Description ( "Model, part or software image information for the asset."), MappingStrings { "MOF.DMTF|CIM_PhysicalElement.PartNumber|2.8.1000"} ] string PartOrImageID; [Correlatable {"Cisco:AssetId:SerialNumber"}, Description ("Asset serial number."), MappingStrings { "MOF.DMTF|CIM_PhysicalElement.SerialNumber|2.8.1000"} ] string SerialNumber; [UnknownValues {"00000101000000.000000+000"}, Description ( "The manufacturing/release date of the asset. Use a value of " "00000101000000.000000+000 (midnight, Jan 1, year 0, at " "+0 minutes) if this information is unknown."), MappingStrings { "MOF.DMTF|CIM_PhysicalElement.ManufactureDate|2.8.1000", "MOF.DMTF|CIM_SoftwareIdentity.ReleaseDate|2.8.1000"} ] datetime ManufacturedDate; }; // ================================================================== // PhysicalElement // ================================================================== [Version ("3.0.yyyymmdd"), Description ( "A hardware asset."), MappingStrings {"MOF.DMTF|CIM_PhysicalElement|2.8.1000"} ] class Cisco_PhysicalElement : Cisco_Asset { [Override ("InstanceDescription"), MappingStrings { "MIB.IETF|ENTITY-MIB.entPhysicalDescr"} ] string InstanceDescription; [Override ("InstanceName"), MappingStrings { "MIB.IETF|ENTITY-MIB.entPhysicalName"} ] string InstanceName; [Override ("ProductName"), MappingStrings { "MIB.IETF|ENTITY-MIB.entPhysicalModel"} ] string ProductName; [Override ("Manufacturer"), MappingStrings { "MIB.IETF|ENTITY-MIB.entPhysicalMfgName"} ] string Manufacturer; [Override ("ProductVersion"), MappingStrings { "MIB.IETF|ENTITY-MIB.entPhysicalHardwareRev"} ] string ProductVersion; [Override ("PartOrImageID"), MappingStrings { "MIB.Cisco|CISCO-ENTITY-ASSET-MIB." "ceAssetOrderablePartNumber"} ] string PartOrImageID; [Override ("SerialNumber"), MappingStrings { "MIB.IETF|ENTITY-MIB.entPhysicalSerialNumber", "MIB.Cisco|CISCO-ENTITY-ASSET-MIB." "ceAssetSerialNumber"} ] string SerialNumber; [Required, UnknownValues {"0"}, Description ( "Base classification of the physical element."), ValueMap {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16.."}, Values {"Unknown", "Other", "Rack", "Chassis-Frame", "Cross Connect-Backplane", "Container-Slot", "Power Supply", "Fan", "Sensor", "Module-Card", "Port-Connector", "Battery", "Processor", "Memory", "Power Source-Generator", "Storage Media (Disk, Tape, Etc.)", "Reserved"}, MappingStrings {"MOF.DMTF|CIM_PhysicalPackage.PackageType|2.8.1000", "MIB.IETF|ENTITY-MIB.entPhysicalClass"} ] uint8 PhysicalElementType; [Description ( "Boolean indicating whether the element can be FRU'ed " "(TRUE) or not (FALSE). The default value is FALSE."), MappingStrings { "MOF.DMTF|CIM_PhysicalElement.CanBeFRUed|2.8.1000", "MIB.IETF|ENTITY-MIB.entPhysicalIsFRU"} ] boolean CanBeFRUed = FALSE; [UnknownValues {"0"}, Description ( "Index from the SNMP MIB that is referenced at the corresponding " "position of the SNMPMIB array. For example, this might be the " "value of the Physical Index from the Entity MIB (where " "\"ENTITY-MIB\" is listed in the property, SNMPMIB)."), ArrayType ("Indexed"), CrossIndexedArrays ("SNMPPhysicalIndexInfo"), MappingStrings {"MIB.IETF|ENTITY-MIB.entPhysicalIndex"} ] uint32 SNMPPhysicalIndex[]; [Description ( "The name of the SNMP MIB whose index is reported at the " "corresponding position in the SNMPPhysicalIndex array. For " "example, this might hold the value, \"ENTITY-MIB\"."), ArrayType ("Indexed"), CrossIndexedArrays ("SNMPPhysicalIndexInfo") ] string SNMPMIB[]; [UnknownValues {"0"}, Description ( "Indicates whether the hardware is removable or not, " "and if removable, if it is hotswappable (indicated by the " "value 4, \"Removable with or without Power\")."), ValueMap {"0", "2", "3", "4"}, Values {"Unknown", "Not Removable", "Removable without Power", "Removable with or without Power"}, MappingStrings { "MOF.DMTF|CIM_PhysicalPackage.RemovalConditions|2.8.1000"} ] uint8 Removable; [Description ("A Cisco assigned asset ID, such as a PID."), MappingStrings { "MIB.Cisco|CISCO-ENTITY-ASSET-MIB.ceAssetCLEI"} ] string VendorAssetID; [Write, Description ( "A user assigned asset ID, such as a bar-coded asset tag."), MappingStrings { "MOF.DMTF|CIM_PhysicalElement.UserTracking|2.8.1000", "MIB.IETF|ENTITY-MIB.entPhysicalAssetID"} ] string UserAssetID; [Description ("Vendor specific manufacturing information."), MappingStrings { "MIB.Cisco|CISCO-ENTITY-ASSET-MIB.ceAssetMfgAssyNumber"} ] string AssemblyInfo; [Description ("Vendor specific assembly revision information."), MappingStrings { "MIB.Cisco|CISCO-ENTITY-ASSET-MIB.ceAssetMfgAssyRevision"} ] string AssemblyRevision; }; // ================================================================== // PhysicalPackage // ================================================================== [Version ("3.0.yyyymmdd"), Description ( "A specific hardware asset that is a package, containing " "other physical entities."), MappingStrings {"MOF.DMTF|CIM_PhysicalPackage|2.8.1000"}, OCL {"inv: self.NumberOfSlots >= self.NumberOfSlotsWithModules"} ] class Cisco_PhysicalPackage : Cisco_PhysicalElement { [Description ( "A string defining the vendor's classification of the " "physical element."), MappingStrings {"MOF.DMTF|CIM_PhysicalElement." "VendorEquipmentType|2.8.1000", "MIB.IETF|ENTITY-MIB.entPhysicalVendorType"} ] string VendorEquipmentType; [Write, Description ("User names for the package."), MappingStrings {"MIB.IETF|ENTITY-MIB.entPhysicalAlias"} ] string UserAliases[]; [UnknownValues {"-1"}, Description ("Number of slots in the element.") ] sint32 NumberOfSlots; [UnknownValues {"-1"}, Description ("Number of occupied slots in the element."), Gauge ] sint32 NumberOfSlotsWithModules; [UnknownValues {"-1"}, Description ("Number of ports on the element.") ] sint32 NumberOfCommunicationPorts; }; // ================================================================== // SoftwareElement // ================================================================== [Version ("3.0.yyyymmdd"), Description ( "A software asset."), MappingStrings {"MOF.DMTF|CIM_SoftwareIdentity|2.8.1000"} ] class Cisco_SoftwareElement : Cisco_Asset { [UnknownValues {"00000101000000.000000+000"}, Description ( "Time that the software was compiled/built. Use a value of " "00000101000000.000000+000 (midnight, Jan 1, year 0, at " "+0 minutes) if this information is unknown.") ] datetime BuildTime; [Description ( "A list of the operating systems on which this software " "can execute, if applicable. This property has no meaning " "for various types of software, such as BIOS/Fcode or " "operating systems themselves. In these cases, the array " "is left NULL. To determine if software can execute on a " "specific platform, that platform's OperatingSystem." "OSDetails property is compared against this value."), MappingStrings {"MOF.DMTF|CIM_SoftwareIdentity." "TargetOperatingSystems|2.8.1000"}, ModelCorrespondence {"Cisco_OperatingSystem.OSDetails"} ] string TargetOperatingSystems[]; [Required, UnknownValues {"0"}, Description ( "Defines a general classification for the software. For " "more specific information, see the corresponding array " "entry in the property, ClassificationDescriptions."), // Note that the value 6 is not used in the enumeration. It was // deprecated in the DMTF CIM definition. ValueMap {"0", "1", "2", "3", "4", "5", "7", "8", "9", "10", "11", "12", "13.."}, Values {"Unknown", "Other", "Driver", "Configuration Software", "Application Software", "Instrumentation", "Diagnostic Software", "Operating System", "Middleware", "Firmware", "BIOS/Fcode", "Support-Service Pack", "Reserved"}, MappingStrings { "MOF.DMTF|CIM_SoftwareIdentity.Classifications|2.8.1000"}, ArrayType ("Indexed"), CrossIndexedArrays ("SoftwareClassifications") ] uint8 Classifications[]; [Description ( "More information about the corresponding entry in the " "Classifications array."), MappingStrings {"MOF.DMTF|CIM_SoftwareIdentity." "ClassificationDescriptions|2.8.1000"}, ArrayType ("Indexed"), CrossIndexedArrays ("SoftwareClassifications") ] string ClassificationDescriptions[]; [Description ( "Each entry of this array defines a feature supported " "by the software. What is actually installed MAY be " "a subset of this list of features.") ] string FeatureSet[]; [UnknownValues {"0"}, Description ( "The types of software media available for this asset."), ValueMap {"0", "1", "2", "3", "4", "5", "6", "7.."}, Values {"Unknown", "Other", "In Hardware", "Downloaded", "Diskette", "CD", "Tape", "Reserved"} ] uint8 SoftwareMedia[]; }; // ================================================================== // Location // ================================================================== [Version ("3.0.yyyymmdd"), Description ( "A physical location."), OCL {"inv: self.Latitude >= -91 and self.Latitude <= 90", "inv: self.Longitude >= -181 and self.Longitude <= 180", "inv: self.Altitude >= -20000"}, MappingStrings {"MOF.DMTF|CIM_Location|2.8.1000"} ] class Cisco_Location : Cisco_ManagedElement { [Required, Description ( "A free-form string indicating the placement of an " "element. For example, it can specify slot information on " "a motherboard, a mounting site in a chassis, or latitude " "and longitude information from a GPS. The information in " "this property MAY aggregate the other information in the " "individual properties below."), MappingStrings { "MOF.DMTF|CIM_Location.PhysicalPosition|2.8.1000"} ] string PhysicalPosition; [Description ("A multi-line postal address."), ArrayType ("Ordered"), MappingStrings { "MOF.DMTF|CIM_Location.Address|2.8.1000"}, ModelCorrespondence {"Cisco_Location.City", "Cisco_Location.StateOrProvince", "Cisco_Location.PostalCode", "Cisco_Location.Country"} ] string PostalAddress[]; [Description ("The city portion of a postal address."), MappingStrings { "MOF.DMTF|CIM_Location.Address|2.8.1000"}, ModelCorrespondence {"Cisco_Location.PostalAddress", "Cisco_Location.StateOrProvince", "Cisco_Location.PostalCode", "Cisco_Location.Country"} ] string City; [Description ( "The state or province information of a postal address."), MappingStrings { "MOF.DMTF|CIM_Location.Address|2.8.1000"}, ModelCorrespondence {"Cisco_Location.PostalAddress", "Cisco_Location.City", "Cisco_Location.PostalCode", "Cisco_Location.Country"} ] string StateOrProvince; [Description ( "The postal or zip code information of an address."), MappingStrings { "MOF.DMTF|CIM_Location.Address|2.8.1000"}, ModelCorrespondence {"Cisco_Location.PostalAddress", "Cisco_Location.City", "Cisco_Location.StateOrProvince", "Cisco_Location.Country"} ] string PostalCode; [Description ("The country portion of a postal address."), MappingStrings { "MOF.DMTF|CIM_Location.Address|2.8.1000"}, ModelCorrespondence {"Cisco_Location.PostalAddress", "Cisco_Location.City", "Cisco_Location.StateOrProvince", "Cisco_Location.PostalCode"} ] string Country; [UnknownValues {"-91"}, Description ( "Latitude information in degrees, expressed and stored as " "a floating point number. Latitudes north of the Equator " "are defined as positive numbers, while south of the Equator, " "the values are negative. A point on the Equator is assumed to " "be positive (in the northern hemisphere). If this information " "is not known, the value 91 is entered."), MinValue (-91), MaxValue (90), Units ("Degrees"), ModelCorrespondence {"Cisco_Location.Longitude", "Cisco_Location.Altitude"} ] real32 Latitude; [UnknownValues {"-181"}, Description ( "Longitude information in degrees, expressed and stored as " "a floating point number. Longitudes east of the Prime Meridian " "are defined as positive numbers, while west of the Prime Meridian, " "the values are negative. A point on the Prime Meridian is assumed to " "be positive (in the eastern hemisphere). A point on the 180th " "Meridian is assumed to be negative (in the western hemisphere). " "If this information is not known, the value 181 is entered."), MinValue (-181), MaxValue (180), Units ("Degrees"), ModelCorrespondence {"Cisco_Location.Latitude", "Cisco_Location.Altitude"} ] real32 Longitude; [UnknownValues {"-20000"}, Description ( "Altitude information in meters, where depths below sea level " "are defined as negative numbers. If this information is not " "known, the value -20000 is entered."), MinValue (-20000), Units ("Meters"), ModelCorrespondence {"Cisco_Location.Latitude", "Cisco_Location.Longitude"} ] real32 Altitude; }; // ================================================================== // ElementLocation // ================================================================== [Association, Aggregation, Version ("3.0.yyyymmdd"), Description ( "Specifies that an element is in or is restricted to a " "Location."), MappingStrings {"MOF.DMTF|CIM_ElementLocation|2.8.1000"} ] class Cisco_ElementLocation : Cisco_Top { [Required, Description ("The located element."), MappingStrings { "MOF.DMTF|CIM_ElementLocation.Element|2.8.1000"} ] Cisco_Top ref LocatedElement; [Aggregate, Required, Max (1), Description ("The location."), MappingStrings { "MOF.DMTF|CIM_ElementLocation.PhysicalLocation|2.8.1000"} ] Cisco_Location ref Location; }; // ================================================================== // LogicalElement // ================================================================== [Abstract, Version ("3.0.yyyymmdd"), Description ( "Any logical aspect of a system or hardware."), MappingStrings {"MOF.DMTF|CIM_LogicalElement|2.8.1000"} ] class Cisco_LogicalElement : Cisco_ManagedElement { [Required, UnknownValues {"0"}, Description ( "Provides a general description of an element's " "operational status. For more specific information, " "see the corresponding array entry in the property, " "StatusDescriptions."), ValueMap {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24..199", "200", "201", "202", "203.."}, Values {"Unknown", "Other", "OK", "Degraded", "Stressed-Overloaded", "Predictive Failure", "Error", "Non-Recoverable Error", "Starting", "Stopping", "Shut Down-Stopped", "In Service", // No Contact = 12 "No Contact", "Lost Communication", "Aborted", "Dormant", "Supporting Entity in Error", "Completed", "Power-Save Mode", "Supporting Entity Missing", // Pending-Discovery in Progress = 20 "Pending-Discovery in Progress", "Sync in Progress", "Self Test", "Configuration Data - Not Managed/Not in Existence", "Reserved", // Environmental Problem = 200 "Environmental Problem", "Hardware Mismatch", "Configuration Mismatch", "Reserved"}, MappingStrings {"MOF.DMTF|CIM_ManagedSystemElement." "OperationalStatus|2.8.1000"}, ArrayType ("Indexed"), CrossIndexedArrays ("LogicalElementStatuses") ] uint8 OperationalStatus[]; [Description ( "Additional detail related to the corresponding entry " "in the OperationalStatus array."), MappingStrings {"MOF.DMTF|CIM_ManagedSystemElement." "StatusDescriptions|2.8.1000"}, ArrayType ("Indexed"), CrossIndexedArrays ("LogicalElementStatuses") ] string StatusDescriptions[]; }; // ================================================================== // AssetResultingElement // ================================================================== [Association, Version ("3.0.yyyymmdd"), Description ( "The LogicalElement that results from installing the hardware " "or software asset. This relationship SHOULD be instantiated " "as specifically (i.e., as low) in the object hierarchy " "as possible."), MappingStrings {"MOF.DMTF|CIM_Realizes|2.8.1000", "MOF.DMTF|CIM_ServiceSoftwareIdentity|2.8.1000"} ] class Cisco_AssetResultingElement : Cisco_Dependency { [Required, Override ("Independent"), Description ("The hardware or software 'behind' the element."), MappingStrings { "MOF.DMTF|CIM_Realizes.Antecedent|2.8.1000", "MOF.DMTF|CIM_ServiceSoftwareIdentity.Antecedent|2.8.1000"} ] Cisco_Asset REF Independent; [Required, Override ("Dependent"), Description ("The element realized from the asset."), MappingStrings { "MOF.DMTF|CIM_Realizes.Dependent|V2.8.1000", "MOF.DMTF|CIM_ServiceSoftwareIdentity.Dependent|2.8.1000"} ] Cisco_LogicalElement REF Dependent; }; // =================================================================== // end of file // =================================================================== --- NEW FILE: Cisco_LogicalElementSubclasses.mof --- // Subclasses of Cisco_LogicalElement representing the basic // concepts of System, Service and AccessPoint // Classes in this file: EnabledLogicalElement, System, // AdminDomain, AutonomousSystem, ApplicationSystem, // ComputerSystem, NetworkElement, Service, SystemService, // AccessPoint, SystemAccessPoint, ServiceAccess, // ManagementAccess, ServiceAvailableToElement, // InstalledSoftware // Date of Original Release: December 2003 // Change History: // July 15, 2004 // - Aligned with CIM V2.9 Preliminary and Inventory Schema // classes/properties added // December 15, 2004 // - Updated the CorrelatableName qualifier to correspond to the // DMTF definition (Becomes the Correlatable qualifier) // - Corrected the value of an 'unknown' date/time // - Updated and clarified several Descriptions // - Removed the ModelCorrespondence qualifier when // CrossIndexedArrays is defined, since the latter contains // more data regarding the correspondence // - Added the AutonomousSystem and ApplicationSystem classes // based on the DMTF class definitions // - Modified the cardinality of the System reference in the // SystemService and SystemAccessPoint associations to be 1..* // (versus 1) // February 16, 2005 // - Fixed compile errors // - Corrected the MappingStrings for the references in ServiceAccess // - Renamed and split the Cisco_Core MOF into the // LogicalPhysicalCore, Job and LogicalElementSubclasses MOFs for // improved import into Rose // - Removed duplicated return code in RequestStateChange method // (previously had both Busy - In Use and Busy return values - // the second value, 4099, was removed) // Copyright (c) 2004-2005, Cisco Systems Inc. #pragma locale ("en_US") // ================================================================== // EnabledLogicalElement // ================================================================== [Abstract, Version ("3.0.yyyymmdd"), Description ( "A LogicalElement that can be enabled/disabled and " "administratively set."), MappingStrings {"MOF.DMTF|CIM_EnabledLogicalElement|2.8.1000"} ] class Cisco_EnabledLogicalElement : Cisco_LogicalElement { [Required, UnknownValues {"0"}, Description ( "An enumeration that indicates the enabled/disabled " "states of an element. The following text briefly " "summarizes the various states: \n" "Enabled (2) indicates that the element is/could be " "executing commands, will process any queued commands, and " "queues new requests. \n" "Disabled (3) indicates that the element will not execute " "commands and will drop any new requests. \n" "Stopping/Shutting Down (4) indicate that the element is " "in the process of going to an Disabled state. New " "requests are dropped. \n" "Not Applicable (5) indicates the element doesn't support " "being enabled/disabled. \n" "Enabled but Offline (6) indicates that the element may be " "completing commands, and will drop any new requests. \n" "In Test (7) indicates that the element is in a test " "state. \n" "Deferred (8) indicates that the element may be completing " "commands, but will queue any new requests. \n" "Quiesced-Suspended (9) indicates that the element is " "enabled but in a restricted mode. The element's behavior is " "similar to the Enabled state, but it only processes a " "restricted set of commands. All other requests are " "queued. \n" "Starting (10) indicates that the element is in the process " "of going to an Enabled state. New requests are queued. \n" "Reset (11) indicates that the element is in a 'startup' " "state following a reset. The reset state may not " "correspond to the initial startup state of an element, " "and therefore is separately enumerated."), ValueMap {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12.."}, Values {"Unknown", "Other", "Enabled", "Disabled-Off", "Stopping-Shutting Down", "Not Applicable", "Enabled but Offline", "In Test", "Deferred", "Quiesced-Suspended", "Starting", "Reseting", "Reserved"}, MappingStrings { "MOF.DMTF|CIM_EnabledLogicalElement.EnabledState|2.8.1000", "MIB.IETF|ESSWITCH-MIB.swPortStatus"} ] uint8 EnabledState = 2; [Description ( "Set by the class' RequestState method, and SHOULD be reset " "to 'No Change' (5) after the request has been serviced. " "The values of the enumeration are explained in the " "EnabledState property. The reason that this value is " "reported is that state transitions MAY take time to complete, " "and it MAY be necessary to monitor changes in progress. \n" "Note that this property is read only. It is set by invoking " "the RequestStateChange method."), ValueMap {"2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13.."}, Values {"Enable", "Disable-Off", "Shut Down", "No Change", "Offline", "Test", "Defer", "Quiesce-Suspend", "Reboot", "Reset", "Not Applicable", "Reserved"}, MappingStrings {"MOF.DMTF|CIM_EnabledLogicalElement." "RequestedState|2.8.1000"}, ModelCorrespondence { "Cisco_EnabledLogicalElement.RequestStateChange"} ] uint8 LastRequestedState = 5; [UnknownValues {"00000101000000.000000+000"}, Description ( "Time of the last state change of the element. " "Use a value of 00000101000000.000000+000 (midnight, " "Jan 1, year 0, at +0 minutes) if this information is " "unknown."), MappingStrings {"MOF.DMTF|CIM_EnabledLogicalElement." "TimeOfLastStateChange|2.8.1000"} ] datetime TimeOfLastStateChange; [Description ( "Method to request a change of the enabled/" "disabled state of the element. This method " "updates the LastRequestedState property. Invoking the " "method multiple times could result in earlier requests " "being overwritten/lost. \n" "If 0 is returned, then the task completed successfully. " "Any other return code indicates an error condition."), ValueMap {"0", "1", "2", "3", "4", "5", "6", "7..4096", "4097", "4098", "4099.."}, Values {"Completed with No Error", "Not Supported", "Unknown or Unspecified Error", "Can NOT complete within Timeout Period", "Attempted but Failed", "Invalid Parameter", "Busy - In Use", "Reserved", // 4097 "Invalid State Transition", "Use of Timeout Parameter Not Supported", "Reserved"}, MappingStrings {"MOF.DMTF|CIM_EnabledLogicalElement." "RequestStateChange|2.8.1000"}, ModelCorrespondence { "Cisco_EnabledLogicalElement.LastRequestedState"} ] uint32 RequestStateChange( [IN, Description ( "Selection of the enabled/disabled state to which " "the element should be set. The values of the " "enumeration are explained in the class' EnabledState " "property."), ValueMap {"2", "3", "4", "6", "7", "8", "9", "10", "11", "12.."}, Values {"Enable", "Disable-Off", "Shut Down", "Offline", "Test", "Defer", "Quiesce-Suspend", "Reboot", "Reset", "Reserved"}, MappingStrings {"MOF.DMTF|CIM_EnabledLogicalElement." "RequestStateChange.RequestedState|2.8.1000"}, ModelCorrespondence { "Cisco_EnabledLogicalElement.LastRequestedState"} ] uint8 RequestedState, [IN, IntervalOnly, Description ( "A timeout period that specifies the maximum amount of " "time that the client expects the transition to the new " "state to take. The interval format MUST be used to " "specify the TimeoutPeriod. A value of " "99999999000000.000000:000 indicates that the client has no " "time requirements for the transition. Note that if a non-" "zero value is specified and an implementation does not " "support timeouts, a return code of 'Use Of Timeout " "Parameter Not Supported' (4098) will be received."), MappingStrings {"MOF.DMTF|CIM_EnabledLogicalElement." "RequestStateChange.TimeoutPeriod|2.8.1000"} ] datetime TimeoutPeriod, [IN (FALSE), OUT, Description ( "If the element state change can be processed asynchronously " "and is not an instantaneous change, then a reference to a " "Job MAY be returned. This enables a client to track and " "manage the status of the state change."), MappingStrings {"MOF.DMTF|CIM_EnabledLogicalElement." "RequestStateChange.Job|2.8.1000"} ] Cisco_Job REF Job); }; // ================================================================== // System // ================================================================== [Abstract, Version ("3.0.yyyymmdd"), Description ( "Represents an entity made up of component parts, that " "operates as a 'functional whole' and is viewed as more than " "the sum of its parts. For example, a computer system is a " "kind of System."), MappingStrings {"MOF.DMTF|CIM_System|2.8.1000"} ] class Cisco_System : Cisco_EnabledLogicalElement { [Override ("InstanceName"), MappingStrings {"MIB.IETF|SNMPv2-MIB.sysName"} ] string InstanceName; [Override ("InstanceDescription"), MappingStrings {"MIB.IETF|SNMPv2-MIB.sysDescr"} ] string InstanceDescription; [Description ( "Contact information for the primary owner of this system."), MappingStrings { "MOF.DMTF|CIM_System.PrimaryOwnerContact|2.8.1000", "MIB.IETF|SNMPv2-MIB.sysContact"} ] string PrimaryOwnerContact; [Write, Description ( "User-specified roles that the System plays " "in the managed environment."), MappingStrings {"MOF.DMTF|CIM_System.Roles|2.8.1000"} ] string Roles[]; }; // ================================================================== // ApplicationSystem // ================================================================== [Version ("3.0.yyyymmdd"), Description ( "The ApplicationSystem class represents an application or a " "software system that supports a particular business function " "and that can be managed as an independent unit. Examples of " "this are any types of client-server application, where the " "individual client and database services are on specific " "platforms, but the configuration of the entire system ('as a " "whole') is defined. The role of an ApplicationSystem is to: \n" "a) act as the root node of the containment hierarchy of " "application elements (services, access points, sub-systems, " "etc.), and provide drill-down to those elements, \n" "b) locate overview information such as response time or " "overall system status, and, \n" "c) provide runtime control of the entire application " "(e.g., start/stop and lifetime)."), MappingStrings {"MOF.DMTF|CIM_ApplicationSystem|2.8.1000"} ] class Cisco_ApplicationSystem : Cisco_System { }; // ================================================================== // AdminDomain // ================================================================== [Version ("3.0.yyyymmdd"), Description ( "Viewed as a single entity, specifies that all of the " "domain's components are administered similarly - either by " "the same user, group of users or policy."), MappingStrings {"MOF.DMTF|CIM_AdminDomain|2.8.1000", "MOF.DMTF|CIM_Network|2.8.1000", "Recommendation.ITU|M3100.Network" } ] class Cisco_AdminDomain : Cisco_System { }; // ================================================================== // AutonomousSystem // ================================================================== [Version ("3.0.yyyymmdd"), Description ( "An Autonomous System (AS) is a fundamental concept in " "networking. An AS provides a structured view of routing by " "segregating the system that is using routing (e.g., the " "Internet, or an extranet) into a set of separately " "administered domains that each have their own independent " "routing policies. These domains are the 'autonomous " "systems'. \n" "\n" "The classic definition of an AS, from RFC1771, is '...a set of " "routers under a single technical administration, using an " "interior gateway protocol and common metrics to route packets " "within the AS, and using an exterior gateway protocol to route " "packets to other ASs'. The RFC continues: 'Since this classic " "definition was developed, it has become common for a single AS " "to use several interior gateway protocols and sometimes " "several sets of metrics within an AS. The use of the term " "Autonomous System here stresses the fact that, even when " "multiple IGPs and metrics are used, the administration of an " "AS appears to other ASs to have a single coherent interior " "routing plan and presents a consistent picture of what " "destinations are reachable through it.'"), MappingStrings {"MOF.DMTF|CIM_AutonomousSystem|2.8.1000"} ] class Cisco_AutonomousSystem : Cisco_AdminDomain { [Required, Correlatable {"Cisco:AS:ASNumber"}, Description ( "An ASNumber is an integer between 1 and 65535, with the " "range 64512 through 65535 reserved for private use. Every " "AS has a unique AS number, which is assigned to it by an " "Internet Registry or a provider. IANA assigns and " "administers AS numbers."), MappingStrings {"MOF.DMTF|CIM_AutonomousSystem.ASNumber|2.8.1000"} ] uint16 ASNumber; [UnknownValues {"0"}, Description ( "SingleOrMultiHomed is an enumeration indicating that this AS " "reaches networks outside of its domain through a single " "exit point, through multiple points or that this information " "is unknown."), ValueMap {"0", "2", "3"}, Values {"Unknown", "Single-Homed", "Multi-Homed"}, MappingStrings { "MOF.DMTF|CIM_AutonomousSystem.IsSingleHomed|2.8.1000"} ] uint8 SingleOrMultiHomed; [UnknownValues {"0"}, Description ( "TransitAS is an enumeration indicating that this AS will " "or will not advertise routes that it learns from other " "ASs. Or, this information may be unknown. A 'non-transit' " "AS will only advertise its own routes."), ValueMap {"0", "2", "3"}, Values {"Unknown", "Transit AS", "Non-Transit AS"}, MappingStrings { "MOF.DMTF|CIM_AutonomousSystem.IsTransit|2.8.1000"} ] uint8 TransitAS; }; // =================================================================== // ComputerSystem // =================================================================== [Version ("3.0.yyyymmdd"), Description ( "A system that provides general purpose or dedicated compute " "capabilities (as indicated by the Dedicated property). " "ComputerSystems may be dependent on or composed of other " "systems - such as a clustered system having Component " "relationships to the participating nodes, or a " "partition having a Dependent relationship to its " "underlying system."), MappingStrings {"MOF.DMTF|CIM_ComputerSystem|2.8.1000"} ] class Cisco_ComputerSystem : Cisco_System { [Write, Correlatable {"Cisco:UserId:Identifier"}, Description ( "User-specified identifiers for the ComputerSystem. " "Information on the identifier type/format is " "provided by the corresponding entry in the " "UserSystemIDFormats array."), ArrayType ("Indexed"), CrossIndexedArrays ("ComputerSystemUserIdentifiers") ] string UserSystemIdentifiers[]; [Write, Correlatable {"Cisco:UserId:IDFormat"}, Description ( "Specifies the format/type of the corresponding " "entry in the UserSystemIdentifiers array."), ValueMap {"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11..99", "100", "101", "102", "103.."}, Values {"Other", "Host Name", "DNS Name", "IPv4 Address", "IPv6 Address", "User Identifier-Display Name", "SysObjectID", "Physical ID", "MAC Address", "TCP Address", "Reserved", // 100 "IE2100 ID", "AUS ID", "DCR ID", "Reserved"}, ArrayType ("Indexed"), CrossIndexedArrays ("ComputerSystemUserIdentifiers") ] uint8 UserSystemIDFormats[]; [Correlatable {"Cisco:VendorId:Identifier"}, Description ( "Cisco-specified identifiers for the ComputerSystem. " "Information on the identifier type/format is " "provided by the corresponding entry in the " "VendorSystemIDFormats array."), MappingStrings { "MOF.DMTF|CIM_ComputerSystem.OtherIdentifyingInfo|2.8.1000", "MIB.IETF|SNMPv2-MIB.sysObjectID"}, ArrayType ("Indexed"), CrossIndexedArrays ("ComputerSystemVendorIdentifiers") ] string VendorSystemIdentifiers[]; [Correlatable {"Cisco:VendorId:IDFormat"}, Description ( "Specifies the format/type of the corresponding " "entry in the VendorSystemIdentifiers array."), ValueMap {"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11..99", "100", "101", "102", "103.."}, Values {"Other", "Host Name", "DNS Name", "IPv4 Address", "IPv6 Address", "User Identifier-Display Name", "SysObjectID", "Physical ID", "MAC Address", "TCP Address", "Reserved", // 100 "IE2100 ID", "AUS ID", "DCR ID", "Reserved"}, ArrayType ("Indexed"), CrossIndexedArrays ("ComputerSystemVendorIdentifiers") ] uint8 VendorSystemIDFormats[]; [Required, UnknownValues {"0"}, Description ( "Enumeration indicating whether the ComputerSystem is a " "special-purpose System (ie, dedicated to a particular use), " "versus being 'general purpose'. More information is " "provided in the corresponding entry of the property, " "DedicatedDescriptions. A clarification is needed with " "respect to the value 17 (\"Mobile User Device\"). " "An example of a dedicated user device is a mobile " "phone or a barcode scanner in a store that communicates " "via radio frequency. These systems are limited in " "functionality and programmability, and are not " "considered 'general purpose' computing platforms. " "Alternately, an example of a mobile system that is 'general " "purpose' (i.e., is NOT dedicated) is a hand-held computer. " "Although limited in its programmability, new software can " "be downloaded and its functionality expanded by the user."), ValueMap {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28..254", "255"}, Values {"Unknown", "Other", "Not Dedicated", "Storage", "Router", "Layer 2 Switch", "Layer 3 Switch", "Central Office Switch", "Hub", "Access Server", "Firewall", "Print Server", "Input-Output", "Web Caching", "Management", "Block Server", "File Server", "Mobile User Device", "Repeater", "Bridge-Extender", "Gateway", "Storage Virtualizer", "Media Library", "Extender Node", "NAS Head", "Self-Contained NAS", "UPS", "IP Phone", "Reserved", // 255 "SNMP sysServicesData"}, MappingStrings {"MIB.IETF|SNMPv2-MIB.sysServices", "MOF.DMTF|CIM_ComputerSystem.Dedicated|2.8.1000"}, ArrayType ("Indexed"), CrossIndexedArrays ("ComputerSystemDedicatedInfo") ] uint8 Dedicated[]; [Description ( "More information regarding the specific nature of " "the corresponding entry in the Dedicated array. Note " "that if the Dedicated array contains an entry=255, then " "the corresponding value in this array is the specific " "value of the sysServices attribute from the SNMPv2 MIB."), MappingStrings {"MIB.IETF|SNMPv2-MIB.sysServices"}, ArrayType ("Indexed"), CrossIndexedArrays ("ComputerSystemDedicatedInfo") ] string DedicatedDescriptions[]; }; // ================================================================== // NetworkElement // ================================================================== [Version ("3.0.yyyymmdd"), Description ( "A ComputerSystem on a network, providing networking services.") ] class Cisco_NetworkElement : Cisco_ComputerSystem { [Description ("The host name reported by the element."), MappingStrings {"MIB.Cisco|OLD-CISCO-SYS-MIB.hostName"} ] string ReportedHostName; [Description ("The DNS name reported by the element."), MappingStrings {"MIB.Cisco|OLD-CISCO-SYS-MIB.domainName", "MIB.Cisco|CISCO-STACK-MIB.dnsDomainName"} ] string DNSDomainName; [Description ( "Information from the SNMPv2-MIB, the sysLocation " "attribute."), MappingStrings {"MIB.IETF|SNMPv2-MIB.sysLocation"} ] string MIBSysLocation; }; // ================================================================== // InstalledSoftware // ================================================================== [Association, Aggregation, Composition, Version ("3.0.yyyymmdd"), Description ( "A software asset installed as a component on a system."), MappingStrings { "MOF.DMTF|CIM_InstalledSoftwareIdentity|2.8.1000"} ] class Cisco_InstalledSoftware : Cisco_Component { [Aggregate, Required, Override ("GroupComponent"), Description ("The system that scopes the installed software."), MappingStrings {"MOF.DMTF|CIM_InstalledSoftwareIdentity." "GroupComponent|2.8.1000"} ] Cisco_System ref GroupComponent; [Required, Override ("PartComponent"), Description ("The software that is part of/installed on the system."), MappingStrings {"MOF.DMTF|CIM_InstalledSoftwareIdentity." "PartComponent|2.8.1000"} ] Cisco_SoftwareElement ref PartComponent; [Description ( "Boolean indicating whether the software is enabled to execute " "(TRUE) or not (FALSE) on the system.") ] boolean EnabledToRun = FALSE; }; // ================================================================== // Service // ================================================================== [Abstract, Version ("3.0.yyyymmdd"), Description ( "The logical aspects of any functionality. A Service can be " "composed of lower level Services using the Component " "association. It exists in the context of a scoping System " "as defined by the SystemService association."), MappingStrings {"MOF.DMTF|CIM_Service|2.8.1000"} ] class Cisco_Service : Cisco_EnabledLogicalElement { [Description ( "Contact information for the primary owner of this service."), MappingStrings { "MOF.DMTF|CIM_Service.PrimaryOwnerContact|2.8.1000"} ] string PrimaryOwnerContact; }; // ================================================================== // SystemService // ================================================================== [Association, Aggregation, Composition, Version ("3.0.yyyymmdd"), Description ( "A Service (functionality) is a part of, is provided by, " "and is defined in the scope of a System. These semantics " "are expressed by this association. Note that the cardinality " "of the System reference in the association is 1..*. " "This allows a Service to exist in several System contexts " "simultaneously - which may occur with a Service in both an " "application system and a computer system context."), MappingStrings {"MOF.DMTF|CIM_HostedService|2.8.1000"} ] class Cisco_SystemService : Cisco_Component { [Aggregate, Required, Override ("GroupComponent"), Min (1), Description ("The system that scopes the service."), MappingStrings { "MOF.DMTF|CIM_HostedService.Antecedent|2.8.1000"} ] Cisco_System ref GroupComponent; [Required, Override ("PartComponent"), Description ("The service that is scoped by the system."), MappingStrings { "MOF.DMTF|CIM_HostedService.Dependent|2.8.1000"} ] Cisco_Service ref PartComponent; }; // ================================================================== // ServiceAvailableToElement // ================================================================== [Association, Version ("3.0.yyyymmdd"), Description ( "If functionality is restricted to specific elements, versus " "the entire scoping system, this association is used. For " "example, if Memory is specific to a LogicalModule, then " "this association would describe this limitation."), MappingStrings { "MOF.DMTF|CIM_ServiceAvailableToElement|2.8.1000"} ] class Cisco_ServiceAvailableToElement : Cisco_Top { [Required, Description ("The service available to the element."), MappingStrings {"MOF.DMTF|CIM_ServiceAvailableToElement." "ServiceProvided|2.8.1000"} ] Cisco_Service REF Service; [Required, Description ("The element that may utilize the service."), MappingStrings {"MOF.DMTF|CIM_ServiceAvailableToElement." "UserOfService|2.8.1000"} ] Cisco_Top REF UsingElement; }; // ================================================================== // AccessPoint // ================================================================== [Abstract, Version ("3.0.yyyymmdd"), Description ( "An interface or means of accessing a System or its " "Services. AccessPoints are defined in the context of a " "scoping System, as indicated by the SystemAccessPoint " "association."), MappingStrings {"MOF.DMTF|CIM_ServiceAccessPoint|2.8.1000"} ] class Cisco_AccessPoint : Cisco_EnabledLogicalElement { [Experimental, Description ( "The purpose or context for the access point. For " "example, a RemoteAccessPoint may serve as a 'Gateway' " "for a system, or a particular interface may have a " "defined purpose on a system. This information is " "specified in this property.") ] string AccessContext; }; // ================================================================== // SystemAccessPoint // ================================================================== [Association, Aggregation, Composition, Version ("3.0.yyyymmdd"), Description ( "An AccessPoint is a part of, is provided by, and is defined " "in the scope of a System. These semantics are " "expressed by this association. Note that the cardinality " "of the System reference in the association is 1..*. This " "allows an AccessPoint to exist in several System contexts " "simultaneously - which may occur with an AccessPoint in " "both application and computer system contexts."), MappingStrings {"MOF.DMTF|CIM_HostedAccessPoint|2.8.1000"} ] class Cisco_SystemAccessPoint : Cisco_Component { [Aggregate, Required, Override ("GroupComponent"), Min (1), Description ("The system that scopes the access point."), MappingStrings { "MOF.DMTF|CIM_HostedAccessPoint.Antecedent|2.8.1000"} ] Cisco_System ref GroupComponent; [Required, Override ("PartComponent"), Description ("The access point that is scoped by the system."), MappingStrings { "MOF.DMTF|CIM_HostedAccessPoint.Dependent|2.8.1000"} ] Cisco_AccessPoint ref PartComponent; }; // ================================================================== // ServiceAccess // ================================================================== [Association, Version ("3.0.yyyymmdd"), Description ( "Indicates that the AccessPoint provides a means of " "communicating with / accessing the referenced Service."), MappingStrings {"MOF.DMTF|CIM_ServiceAccessBySAP|2.8.1000"} ] class Cisco_ServiceAccess : Cisco_Dependency { [Required, Override ("Independent"), Description ("The access point for the service."), MappingStrings { "MOF.DMTF|CIM_ServiceAccessBySAP.Dependent|2.8.1000"} ] Cisco_AccessPoint REF Independent; [Required, Override ("Dependent"), Description ("The service being accessed."), MappingStrings { "MOF.DMTF|CIM_ServiceAccessBySAP.Antecedent|2.8.1000"} ] Cisco_Service REF Dependent; }; // ================================================================== // ManagementAccess // ================================================================== [Association, Version ("3.0.yyyymmdd"), Description ( "Indicates that the associated AccessPoint provides " "management access to the element. For example, it might " "be a UDP interface for SNMP access, or a URL."), MappingStrings {"MOF.DMTF|CIM_SAPAvailableForElement|2.8.1000"} ] class Cisco_ManagementAccess : Cisco_Top { [Required, Description ("The access point to manage the element."), MappingStrings {"MOF.DMTF|CIM_SAPAvailableForElement." "AvailableSAP|2.8.1000"} ] Cisco_AccessPoint REF AccessPoint; [Required, Description ( "The element being managed through the access point."), MappingStrings {"MOF.DMTF|CIM_SAPAvailableForElement." "ManagedElement|2.8.1000"} ] Cisco_Top REF AccessedElement; }; // =================================================================== // end of file // =================================================================== --- NEW FILE: Cisco_Job.mof --- // The Job Class of the CIM-CX Model // Classes in this file: Job // Date of Original Release: December 15, 2004 // Change History: // February 9, 2005 // - Added PrimaryOwnerContact for Job, and updated the ErrorInfo // property name and semantics to allow any job results to be // reported (now, JobResultInformation) // Copyright (c) 2004-2005, Cisco Systems Inc. #pragma locale ("en_US") // =================================================================== // Job // =================================================================== [Version ("3.0.yyyymmdd"), Description ( "A Job is a LogicalElement representing a unit of work that can " "be executed, such as a script, a method invocation, a batch request " "for compute or data services on a grid, or a print job. A Job " "is distinct from a Process in that a Job can be scheduled and can " "move from system to system. Also, its execution is not limited to " "a single system/operating system. When a Job is executing, " "resultant Processes MAY be instantiated and individually managed. \n" "\n" "Note that a Job's next scheduled run time is reported in the " "property, NextExecutionTime. The schedule by which a Job's " "NextExecutionTime MAY be calculated is defined by an associated " "PolicyTimePeriodCondition. To indicate that a Job is " "recurring, use the JobRunTimes property."), MappingStrings {"MOF.DMTF|CIM_Job|2.8.1000", "MOF.DMTF|CIM_ConcreteJob|2.8.1000"} ] class Cisco_Job : Cisco_LogicalElement { [Description ( "Contact information for the primary owner of this job.") ] string PrimaryOwnerContact; [Required, UnknownValues {"0"}, Description ( "JobState is an integer enumeration that indicates the " "operational state of a Job. It can also indicate " "transitions between these states, for example, 'Shutting " "Down' and 'Starting'. Following is a brief description of " "the states: \n" "Not Started - New (2) indicates that the job is not or has " "never been started. \n" "Starting (3) indicates that the job is moving from the " "'Not Started', 'Suspended', or 'Service' states into the " "'Running' state. \n" "Running (4) indicates that the Job is currently executing. \n" "Suspended - Paused (5) indicates that the Job is currently " "stopped, but may be restarted in a seamless manner. \n" "Shutting Down (6) indicates the job is moving to a " "'Completed', 'Terminated', or 'Killed' state. \n" "Completed (7) indicates that the job has completed " "normally. \n" "Terminated (8) indicates that the job has been stopped by a " "'Terminate' state change request. The job and all its " "underlying processes are ended and may be restarted (this " "is job-specific) only as a new job. \n" "Killed (9) indicates that the job has been stopped by a " "'Kill' state change request. Underlying processes may have " "been left running and cleanup may be required to free up " "resources. \n" "Stopped with Exception (10) indicates that the Job is in an " "abnormal state that may be indicative of an error condition. " "The ErrorInformation property MAY contain additional data. \n" "In Service - Debug (11) indicates that the Job is in a vendor-" "specific state that supports problem discovery and/or resolution."), ValueMap {"0", "... [truncated message content] |