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