// Copyright © 2005, 2006 THALES, SELEX Sistemi Integrati (SI), Themis Computer // and Progeny Systems Corporation. // 06-08-31 - MS - Draft (2) updated to the AMSM Revised Submission // Version 1.8 - 21 August 2006 // 07-03-02 - MS - Draft (3) updated to the AMSM Revised Submission // Version 1.10 - 18 December 2006 & includes // the errata from the 07-01-02 document #pragma locale ("en_US") // =================================================================== // SupportedApplicationModel // =================================================================== [Description ( "The AMS_SupportedApplicationModel class specifies the" "application models which are supported by the AMS services i.e." "applications which AMS implementation can deal with. " "Such a model is modeled with :" "- The kinds of application concerned (process or J2EE or CCM)." "- The kinds of operating systems (enumeration defined in CIM)." "- A collection of known control options." "- A collection of known application states." "- A name." "- General configuration information (such as startup command" " line parameters for starting ORBs)." )] class AMS_SupportedApplicationModel : CIM_LogicalElement { [key, override, Description("Name of the Model"), maxlen ( 256 )] string Name; [Description(" General configuration information (such as startup " "command line parameters for starting ORBs)." )] string ConfigurationInfo; [Description ( "An integer indicating the type of OperatingSystem."), 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", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", "62", "63", "64", "65", "66", "67", "68" }, Values { "Unknown", "Other", "MACOS", "ATTUNIX", "DGUX", "DECNT", "Tru64 UNIX", "OpenVMS", "HPUX", "AIX", //10 "MVS", "OS400", "OS/2", "JavaVM", "MSDOS", "WIN3x", "WIN95", "WIN98", "WINNT", "WINCE", //20 "NCR3000", "NetWare", "OSF", "DC/OS", "Reliant UNIX", "SCO UnixWare", "SCO OpenServer", "Sequent", "IRIX", "Solaris", //30 "SunOS", "U6000", "ASERIES", "TandemNSK", "TandemNT", "BS2000", "LINUX", "Lynx", "XENIX", "VM", //40 "Interactive UNIX", "BSDUNIX", "FreeBSD", "NetBSD", "GNU Hurd", "OS9", "MACH Kernel", "Inferno", "QNX", "EPOC", //50 "IxWorks", "VxWorks", "MiNT", "BeOS", "HP MPE", "NextStep", "PalmPilot", "Rhapsody", "Windows 2000", "Dedicated", //60 "OS/390", "VSE", "TPF","Windows (R) Me", "Caldera Open UNIX", "OpenBSD", "Not Applicable", "Windows XP", "z/OS" }, ModelCorrespondence { "CIM_OperatingSystem.OSType", "AMS_SupportedApplicationModel.OtherAMSOSTypeDescription"}, ArrayType("Indexed")] uint16 AMSOSType[]; [Description ( "A string describing the manufacturer and OperatingSystem " "type - used when the OperatingSystem property, OSType, is " "set to 1 or 59 (\"Other\" or \"Dedicated\"). The format of " "the string inserted in OtherTypeDescription should be " "similar in format to the Values strings defined for OSType. " "OtherTypeDescription should be set to NULL when OSType is " "any value other than 1 or 59."), MaxLen ( 64 ), ModelCorrespondence { "AMS_SupportedApplicationModel.AMSOSType" }, ArrayType("Indexed")] string OtherAMSOSTypeDescription[]; [Description ( "This integer indicates the actions allowed when controlling an" "executable software element."), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" }, Values { "Unknown", "AMS_LOAD", "AMS_LOAD_START", "AMS_START", "AMS_STOP", "AMS_HALT", "AMS_CONTINUE", "AMS_SHUTDOWN", "AMS_RECOVER", "AMS_UNLOAD", "AMS_LOAD_DIRTY", "AMS_LOAD_START_DIRTY", "AMS_STOP_HALTED", "AMS_RECLAIM", "AMS_ALLOCATE", "AMS_RECOVER_DIRTY" }, ArrayType("Indexed")] uint16 AMSControl[]; [Description ( "This integer indicates the states in which executable software " "elements can be found (cf § 2.2.2.1)." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7" }, Values { "Unknown", "AMS_EXECUTABLE", "AMS_HALTED", "AMS_LOADED", "AMS_RUNNING", "AMS_STOPPED", "AMS_UNALLOCATED", "AMS_ERROR"}, ArrayType("Indexed")] uint16 AMSState[]; [Description ( "This integer indicates the supported types of applications." ), ValueMap { "0", "1", "2", "3" }, Values { "Unknown", "AMS_PROCESS", "AMS_J2EE", "AMS_CCM" }, ArrayType("Indexed")] uint16 AMSModelType[]; }; // =================================================================== // Mechanism // =================================================================== [Description ("The AMS_Mechanism class models possible" "mechanisms, such as POSIX signals, known by an application" "to start, stop, deploy and so forth. model" "It has a constraint on its value, and" "a name specified either as a string (attribute Name) or as" "an enumeration. the value of Name is only used if the" "StdName is MS_NONSTD, Name is implementation-dependant," "or else it is defined in the normalized enumeration" "AMSStdMechanism.")] class AMS_Mechanism { string Name; [ValueMap { "0", "1"}, Values { "MS_NONSTD", "MS_POSIXSIGNAL"}] uint16 AMSStdMechanism; }; // =================================================================== // Associations // =================================================================== // =================================================================== // SupportedMechanism // =================================================================== [Association, Aggregation] class AMS_SupportedMechanism : CIM_Component { [Aggregate, Override("GroupComponent"), Max(1), Min(1)] AMS_SupportedApplicationModel REF GroupComponent; [Override("PartComponent")] AMS_Mechanism REF PartComponent; };