1 krisbash 1.1 // ===============================================================
2 // Feature
3 // ===============================================================
4 [Description ( "Feature description." ),
5 Version( "0.70" )]
6 class MSFT_Feature: CIM_LogicalElement
7 {
8 [Key, Override ( "InstanceID" ),
9 Description (
10 "Within the scope of the instantiating Namespace, "
11 "InstanceID opaquely and uniquely identifies an instance "
12 "of this class. In order to ensure uniqueness within the "
13 "NameSpace, the value of InstanceID SHOULD be constructed "
14 "using the following \'preferred\' algorithm: \n"
15 "<OrgID>:<LocalID> \n"
16 "Where <OrgID> and <LocalID> are separated by a colon "
17 "\':\', and where <OrgID> MUST include a copyrighted, "
18 "trademarked or otherwise unique name that is owned by "
19 "the business entity creating/defining the InstanceID, or "
20 "is a registered ID that is assigned to the business "
21 "entity by a recognized global authority. (This is "
22 krisbash 1.1 "similar to the <Schema Name>_<Class Name> structure of "
23 "Schema class names.) In addition, to ensure uniqueness "
24 "<OrgID> MUST NOT contain a colon (\':\'). When using "
25 "this algorithm, the first colon to appear in InstanceID "
26 "MUST appear between <OrgID> and <LocalID>. \n"
27 "<LocalID> is chosen by the business entity and SHOULD "
28 "not be re-used to identify different underlying "
29 "(real-world) elements. If the above \'preferred\' "
30 "algorithm is not used, the defining entity MUST assure "
31 "that the resultant InstanceID is not re-used across any "
32 "InstanceIDs produced by this or other providers for this "
33 "instance\'s NameSpace. For DMTF defined instances, the "
34 "\'preferred\' algorithm MUST be used with the <OrgID> "
35 "set to \'CIM\'." )]
36 string InstanceID;
37
38
39
40 [Description (
41 "An enumeration indicating the avalible feature. "
42 ),
43 krisbash 1.1 ValueMap { "1", "2", "3", "4", "5", "6", "7", "8" },
44 Values { "Other", "ssh", "tacacs+", "BGP", "InterFaceVLAN", "LACP", "DHCP", "LLDP" }
45 ]
46 uint16 FeatureName;
47
48 [Description (
49 "A string that describes a feature name when a well "
50 "defined value is not available FeatureName has the "
51 "value \"Other\"." ),
52 ModelCorrespondence {
53 "MSFT_Feature.FeatureName" }]
54 string OtherFeatureName;
55
56 [Description (
57 "Boolean indicating whether the feature is enable." )]
58 boolean IsEnabled = false;
59
60 };
|