1 a.dunfey 1.1 // ===================================================================
2 // Title: Physical_PhysicalMedia
3 // $State: Exp $
4 // $Date: 2004/11/29 18:31:42 $
5 // $RCSfile: Physical_PhysicalMedia.mof,v $
6 // $Revision: 1.2.2.3 $
7 // ===================================================================
8 //#pragma inLine ("Includes/copyright.inc")
9 // Copyright 1998-2005 Distributed Management Task Force, Inc. (DMTF).
10 // All rights reserved.
11 // DMTF is a not-for-profit association of industry members dedicated
12 // to promoting enterprise and systems management and interoperability.
13 // DMTF specifications and documents may be reproduced for uses
14 // consistent with this purpose by members and non-members,
15 // provided that correct attribution is given.
16 // As DMTF specifications may be revised from time to time,
17 // the particular version and release date should always be noted.
18 //
19 // Implementation of certain elements of this standard or proposed
20 // standard may be subject to third party patent rights, including
21 // provisional patent rights (herein "patent rights"). DMTF makes
22 a.dunfey 1.1 // no representations to users of the standard as to the existence
23 // of such rights, and is not responsible to recognize, disclose, or
24 // identify any or all such third party patent right, owners or
25 // claimants, nor for any incomplete or inaccurate identification or
26 // disclosure of such rights, owners or claimants. DMTF shall have no
27 // liability to any party, in any manner or circumstance, under any
28 // legal theory whatsoever, for failure to recognize, disclose, or
29 // identify any such third party patent rights, or for such party's
30 // reliance on the standard or incorporation thereof in its product,
31 // protocols or testing procedures. DMTF shall have no liability to
32 // any party implementing such standard, whether such implementation
33 // is foreseeable or not, nor to any patent owner or claimant, and shall
34 // have no liability or responsibility for costs or losses incurred if
35 // a standard is withdrawn or modified after publication, and shall be
36 // indemnified and held harmless by any party implementing the
37 // standard from any and all claims of infringement by a patent owner
38 // for such implementations.
39 //
40 // For information about patents held by third-parties which have
41 // notified the DMTF that, in their opinion, such patent may relate to
42 // or impact implementations of DMTF standards, visit
43 a.dunfey 1.1 // http://www.dmtf.org/about/policies/disclosures.php.
44 //#pragma inLine
45 // ===================================================================
46 // Description: The Physical Model defines modeling concepts related
47 // to actual boxes and packaging. This file defines
48 // the concepts related to PhysicalMedia, tapes, etc.
49 // (subclasses of PhysicalComponent).
50 //
51 // The object classes below are listed in an order that
52 // avoids forward references. Required objects, defined
53 // by other working groups, are omitted.
54 // ==================================================================
55 // Change Log for v2.8 - None
56 // Change Log for v2.7 - None
57 // ==================================================================
58
59 #pragma locale ("en_US")
60
61
62 // ==================================================================
63 // PhysicalMedia
64 a.dunfey 1.1 // ==================================================================
65 [Version ( "2.6.0" ), Description (
66 "The PhysicalMedia class represents any type of documentation "
67 "or storage medium, such as tapes, CDROMs, etc. This class is "
68 "typically used to locate and manage Removable Media (versus "
69 "Media sealed with the MediaAccessDevice, as a single Package, "
70 "as is the case with hard disks). However, 'sealed' Media can "
71 "also be modeled using this class, where the Media would then "
72 "be associated with the PhysicalPackage using the "
73 "PackagedComponent relationship.")]
74 class CIM_PhysicalMedia : CIM_PhysicalComponent {
75
76 [Description (
77 "The number of bytes that can be read from or written to a "
78 "Media. This property is not applicable to \"Hard Copy\" "
79 "(documentation) or cleaner Media. Data compression should "
80 "not be assumed, as it would increase the value in this "
81 "property. For tapes, it should be assumed that no filemarks "
82 "or blank space areas are recorded on the Media."),
83 Units ( "Bytes" )]
84 uint64 Capacity;
85 a.dunfey 1.1
86 [Description (
87 "Specifies the type of the PhysicalMedia, as an enumerated "
88 "integer. The MediaDescription property is used to provide "
89 "more explicit definition of the Media type, whether it is "
90 "pre-formatted, compatability features, etc."),
91 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
92 "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
93 "20", "21", "22", "23", "24", "25", "26", "27", "28", "29",
94 "30", "31", "32", "33", "34", "35", "36", "37", "38", "39",
95 "40", "41", "42", "43", "44", "45", "46", "47", "48", "49",
96 "50", "51", "52", "53", "54", "55", "56", "57", "58", "59",
97 "60", "61", "62", "63", "64", "65", "66" },
98 Values { "Unknown", "Other", "Tape Cartridge", "QIC Cartridge",
99 "AIT Cartridge", "DTF Cartridge", "DAT Cartridge",
100 "8mm Tape Cartridge", "19mm Tape Cartridge", "DLT Cartridge",
101 // 10
102 "Half-Inch Magnetic Tape Cartridge", "Cartridge Disk",
103 "JAZ Disk", "ZIP Disk", "SyQuest Disk",
104 "Winchester Removable Disk", "CD-ROM", "CD-ROM/XA", "CD-I",
105 "CD Recordable",
106 a.dunfey 1.1 // 20
107 "WORM", "Magneto-Optical", "DVD", "DVD-RW+", "DVD-RAM",
108 "DVD-ROM", "DVD-Video", "Divx", "Floppy/Diskette",
109 "Hard Disk",
110 // 30
111 "Memory Card", "Hard Copy", "Clik Disk", "CD-RW", "CD-DA",
112 "CD+", "DVD Recordable", "DVD-RW", "DVD-Audio", "DVD-5",
113 // 40
114 "DVD-9", "DVD-10", "DVD-18", "Magneto-Optical Rewriteable",
115 "Magneto-Optical Write Once",
116 "Magneto-Optical Rewriteable (LIMDOW)",
117 "Phase Change Write Once", "Phase Change Rewriteable",
118 "Phase Change Dual Rewriteable", "Ablative Write Once",
119 // 50
120 "Near Field Recording", "MiniQic", "Travan",
121 "8mm Metal Particle", "8mm Advanced Metal Evaporate", "NCTP",
122 "LTO Ultrium", "LTO Accelis", "9 Track Tape",
123 "18 Track Tape",
124 // 60
125 "36 Track Tape", "Magstar 3590", "Magstar MP", "D2 Tape",
126 "Tape - DST Small", "Tape - DST Medium", "Tape - DST Large" },
127 a.dunfey 1.1 ModelCorrespondence { "CIM_PhysicalMedia.MediaDescription" }]
128 uint16 MediaType;
129
130 [Description (
131 "Additional detail related to the MediaType enumeration. For "
132 "example, if value 3 (\"QIC Cartridge\") is specified, this "
133 "property could indicate whether the tape is wide or 1/4 "
134 "inch, whether it is pre-formatted, whether it is Travan "
135 "compatible, etc."),
136 ModelCorrespondence { "CIM_PhysicalMedia.MediaType" }]
137 string MediaDescription;
138
139 [Description (
140 "Boolean specifying whether the Media is currently write "
141 "protected by some kind of physical mechanism, such as a "
142 "protect tab on a floppy diskette.")]
143 boolean WriteProtectOn;
144
145 [Description (
146 "Boolean indicating that the PhysicalMedia is used for "
147 "cleaning purposes and not data storage.")]
148 a.dunfey 1.1 boolean CleanerMedia;
149
150 [Description (
151 "Size of the Media in inches. For example, '3.5' would be "
152 "entered for a 3.5 inch disk, or '12' would be entered for a "
153 "12 inch optical disk. On the other hand, '0.5' would be "
154 "defined for a 1/2 inch tape."),
155 Units ( "Inches" )]
156 real32 MediaSize;
157
158 [Description (
159 "For removable Media, the maximum number of times that the "
160 "Media can be mounted before it should be retired. For "
161 "cleaner Media, this is the maximum number of Drive cleans "
162 "that can be performed. For nonremovable Media, such as hard "
163 "disks, this property is not applicable and should be set to "
164 "0.")]
165 uint64 MaxMounts;
166
167 [Description (
168 "For removable or cleaner Media, the number of times that "
169 a.dunfey 1.1 "the Media has been mounted for data transfer or to clean a "
170 "Drive. For nonremovable Media, such as hard disks, this "
171 "property is not applicable and should be set to 0."),
172 Counter,
173 ModelCorrespondence { "CIM_PhysicalMedia.MaxMounts" }]
174 uint64 MountCount;
175
176 [Description (
177 "Boolean indicating that the Media has two recording sides "
178 "(TRUE) or only a single side (FALSE). Examples of dual "
179 "sided Media include DVD-ROM and some optical disks. "
180 "Examples of single sided Media are tapes and CD-ROM.")]
181 boolean DualSided;
182
183 [Description (
184 "One or more strings on 'labels' on the PhysicalMedia. The "
185 "format of the labels and their state (readable, unreadable, "
186 "upside-down) are indicated in the LabelFormats and "
187 "LabelStates array properties."),
188 ArrayType ( "Indexed" ),
189 ModelCorrespondence { "CIM_PhysicalMedia.LabelStates",
190 a.dunfey 1.1 "CIM_PhysicalMedia.LabelFormats" }]
191 string PhysicalLabels[];
192
193 [Description (
194 "An array of enumerated integers describing the states of "
195 "each of the labels on a PhysicalMedia. The Labels "
196 "themselves are listed in the PhysicalLabels property. Note, "
197 "each entry of this array is related to the entry in "
198 "PhysicalLabels that is located at the same index."),
199 ValueMap { "0", "1", "2" },
200 Values { "OK/Readable", "Unreadable", "Upside Down" },
201 ArrayType ( "Indexed" ),
202 ModelCorrespondence { "CIM_PhysicalMedia.PhysicalLabels" }]
203 uint16 LabelStates[];
204
205 [Description (
206 "An array of enumerated integers describing the formats of "
207 "each of the labels on a PhysicalMedia. The Labels "
208 "themselves are listed in the PhysicalLabels property. Note, "
209 "each entry of this array is related to the entry in "
210 "PhysicalLabels that is located at the same index."),
211 a.dunfey 1.1 ValueMap { "0", "1", "2", "3", "4", "5" },
212 Values { "Barcode", "Radio Frequency Identification",
213 "OCR (Optical Character Recognition)",
214 "MICR (Magnetic Ink Character Recognition)",
215 "7 Character Barcode", "9 Character Barcode" },
216 ArrayType ( "Indexed" ),
217 ModelCorrespondence { "CIM_PhysicalMedia.PhysicalLabels" }]
218 uint16 LabelFormats[];
219
220 [Description (
221 "For removable or cleaner Media, the date and time that the "
222 "Media was last mounted. For nonremovable Media, such as "
223 "hard disks, this property has no meaning and is not "
224 "applicable.")]
225 datetime TimeOfLastMount;
226
227 [Description (
228 "For removable or cleaner Media, the total time (in seconds) "
229 "that the Media has been mounted for data transfer or to "
230 "clean a Drive. For nonremovable Media, such as hard disks, "
231 "this property is not applicable and should be set to 0."),
232 a.dunfey 1.1 Units ( "Seconds" )]
233 uint64 TotalMountTime;
234 };
235
236
237 // ==================================================================
238 // MemoryWithMedia
239 // ==================================================================
240 [Association, Version ( "2.6.0" ), Description (
241 "MemoryWithMedia indicates that Memory is associated with a "
242 "PhysicalMedia and its cartridge. The Memory provides media "
243 "identification and also stores user-specific data.")]
244 class CIM_MemoryWithMedia : CIM_Dependency {
245
246 [Override ( "Antecedent" ), Description (
247 "The Memory associated with PhysicalMedia.")]
248 CIM_PhysicalMemory REF Antecedent;
249
250 [Override ( "Dependent" ), Description (
251 "The PhysicalMedia.")]
252 CIM_PhysicalMedia REF Dependent;
253 a.dunfey 1.1 };
254
255
256 // ===================================================================
257 // PhysicalMediaInLocation
258 // ===================================================================
259 [Association, Version ( "2.6.0" ), Description (
260 "Within a StorageLibrary, all Media should be accounted for, "
261 "and be present in some Storage Location. This relationship is "
262 "made explicit by the PhysicalMediaInLocation association. In "
263 "addition, one can determine if a Location is empty or full "
264 "based on whether this association exists for the "
265 "StorageMediaLocation.")]
266 class CIM_PhysicalMediaInLocation : CIM_Dependency {
267
268 [Override ( "Antecedent" ), Max ( 1 ), Description (
269 "The StorageMediaLocation which holds the PhysicalMedia.")]
270 CIM_StorageMediaLocation REF Antecedent;
271
272 [Override ( "Dependent" ), Description (
273 "The Media in the Location.")]
274 a.dunfey 1.1 CIM_PhysicalMedia REF Dependent;
275
276 [Description (
277 "An enumeration expressing which 'Side' of the Media is "
278 "facing up. Since sides can be named by various schemes (0/1 "
279 "or A/B), both schemes are expressed in the Values array of "
280 "this property. Also, the value 5 (\"Not Applicable\" "
281 "describes that orientation is not pertinent for this Media."),
282 ValueMap { "0", "1", "2", "3", "4", "5" },
283 Values { "Unknown", "Side 0", "Side 1", "Side A", "Side B",
284 "Not Applicable" }]
285 uint16 Orientation;
286
287 [Description (
288 "The date and time that the Media was last placed into the "
289 "referenced Location.")]
290 datetime TimeOfLastPlacement;
291 };
292
293
294 // ==================================================================
295 a.dunfey 1.1 // PhysicalTape
296 // ==================================================================
297 [Version ( "2.6.0" ), Description (
298 "The PhysicalTape class represents additional data for a Tape "
299 "Media. Information on the tape length and whether it must be "
300 "unloaded from BOT are properties of this class.")]
301 class CIM_PhysicalTape : CIM_PhysicalMedia {
302
303 [Description (
304 "The physical length of the Tape in feet."),
305 Units ( "Feet" )]
306 real32 TapeLength;
307
308 [Description (
309 "Boolean set to TRUE if the Tape can be unloaded at any "
310 "position on the Media. It is set to FALSE if the tape must "
311 "be at a certain position for unload - such as at the "
312 "beginning of tape (BOT) area, or at mid-tape point for "
313 "TapeDrives with mid-tape load.")]
314 boolean UnloadAnywhere;
315 };
316 a.dunfey 1.1
317
318 // ===================================================================
319 // HomeForMedia
320 // ===================================================================
321 [Association, Version ( "2.6.0" ), Description (
322 "In a StorageLibrary or repository for PhysicalMedia, it is "
323 "reasonable that a specific Media always be placed in a "
324 "specific Location (rather than anywhere in the repository/ "
325 "Library). The default location for a PhysicalMedia is called "
326 "its 'home'. This information is expressed by the HomeForMedia "
327 "dependency association. (Note that a PhysicalMedia can have at "
328 "most one 'home', and a StorageMediaLocation can be 'home' to "
329 "at most one Media.)")]
330 class CIM_HomeForMedia : CIM_Dependency {
331
332 [Override ( "Antecedent" ), Max ( 1 ), Description (
333 "The Location that is 'home' to a piece of PhysicalMedia.")]
334 CIM_StorageMediaLocation REF Antecedent;
335
336 [Override ( "Dependent" ), Max ( 1 ), Description (
337 a.dunfey 1.1 "The PhysicalMedia whose 'home' or default Location is "
338 "defined.")]
339 CIM_PhysicalMedia REF Dependent;
340 };
341
342
343 // ===================================================================
344 // end of file
345 // ===================================================================
|