Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

LIC Design Page

Revision as of 16:26, 9 July 2008 by Martinew.us.ibm.com (Talk | contribs) (SMI-S Model)

Aperi Wiki Home

Workspace for communicating design thoughts/ideas

SMI-S Model

The basic idea is to extend the access points subprofile of SMI-S to include linkages to the data model supported through the access point. For example, we might want to have an association between the access point and the specific RegisteredSubprofile instance (as defined in ProfileRegisteredProfiles subprofile).

Another thought is to include a set of capabilities/settings that is attached directly to the access point (much like capabilities are attached to services) that explain the set of operations supported through the access point.

Here's a pdf file with powerpoint diagram LICModel2008-04-29.pdf.

And here's a pdf of the SMI-S Scoping Document: SMI-S_1.5_Scoping_Document_-_LaunchInContextv0.pdf.

And here's some DRAFT MOF for the new classes:

//
// ==================================================================
// SNIA_LICCapabilities
// ==================================================================

[Description(
     "Describes the launch-in-context capabilities of a launch point.")]
class SNIA_LICCapabiliites : CIM_Capabilities {

    [Description(
         "Enumeration indicating what operations are accesible through "
         "the launch point."),
     ValueMap {
         "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", ".."};

     Values {
         "View Volume",                          // 1
         "Create Volume",                        // 2
         "Modify Volume",                        // 3
         "Delete Volume",                        // 4
         "View Storage Pool",                    // 5
         "Create Storage Pool",                  // 6
         "Modify Storage Pool",                  // 7
         "Delete Storage Pool",                  // 8
         "View Extent",                          // 9
         "Create Extent",                        // 10
         "Modify Extent",                        // 11
         "Delete Extent",                        // 12
         "View Host Port",                       // 13
         "Create Host Port",                     // 14
         "Modify Host Port",                     // 15
         "Delete Host Port",                     // 16
         "View Host Mapping",                    // 17
         "Create Host Mapping",                  // 18
         "Modify Host Mapping",                  // 19
         "Delete Host Mapping",                  // 20
         "View Replica",                         // 21
         "Create Replica",                       // 22
         "Modify Replica",                       // 23
         "Delete Replica",                       // 24
         "View SynchronizationGroup",            // 25
         "Create SynchronizationGroup",          // 26
         "Modify SynchronizationGroup",          // 27
         "Delete SynchronizationGroup",          // 28
         "View Synchronization",                 // 29
         "Modify Synchronization",               // 30
         "View Volume Statistics",               // 31
         "View Disk Drive Statistics",           // 32
         "View Computer System Statistics",      // 33
         "View Front-End Ports Statistics",      // 34
         "View Back-End Ports Statistics",       // 35
         "View Remote Replica Group Statistics", // 36
         "View Logs",                            // 37
         "Upgrade Firmware/Software",            // 38
         "Reboot/Reset Device",                  // 39
         "Configure Device",                     // 40
         "SNIA Reserved"}]
    uint16 SupportedActions[];

    [ValueMap {"1","2","3",".."},
     Values {"Volume","Storage Pool","Host Port","Replica",...}]
    uint16 Category[];
};
//
// ==================================================================
// SNIA_LICDescriptor
// ==================================================================
//

[Description(
     "Describes the launch-in-context parameters for a launch point.")]
class SNIA_LICDescriptor : CIM_ManagedElement {

    [Description(
         "The name of the parameter."),
     ArrayType("Indexed")]
    string ParameterName[];

    [Description(
         "The description of the parameter."),
     ArrayType("Indexed")]
    string ParameterDescription[];

    [Description(
         "The data type of the parameter."),
     ArrayType("Indexed"),
     ValueMap {"0","1","2","3","4","5",".."},
     Values {"uint","sint","string","bool","real","datetime","SNIA Reserved"}]
    uint32 ParameterType[];

    [Description(
         "The lower range for uint Data"),
     ArrayType("Indexed")]
    uint32 ParameterDataUintMin[];

    [Description(
         "The upper range for uint Data"),
     ArrayType("Indexed")]
    uint32 ParameterDataUintMax[];

    [Description(
         "The lower range for sint Data"),
     ArrayType("Indexed")]
    uint32 ParameterDataSintMin[];

    [Description(
         "The upper range for sint Data"),
     ArrayType("Indexed")]
    uint32 ParameterDataSintMax[];

    [Description(
         "The lower range for real Data"),
     ArrayType("Indexed")]
    real32 ParameterDataRealMin[];

    [Description(
         "The upper range for real Data"),
     ArrayType("Indexed")]
    real32 ParameterDataRealMax[];

    [Description(
         "The allowable pattern for string Data using Java regular expressions."),
     ArrayType("Indexed")]
    string ParameterDataStringPattern[];

    [Description(
         "The lower range for datetime Data"),
     ArrayType("Indexed")]
    datetime ParameterDataDatetimeMin[];

    [Description(
         "The upper range for datetime Data"),
     ArrayType("Indexed")]
    datetime ParameterDatetimeMax[];
};

Back to the top