(file) Return to Device_StorageNameBinding.mof CVS log (file) (dir) Up to [Pegasus] / pegasus / Schemas / CIMPrelim291

  1 a.dunfey 1.1 // ===================================================================
  2              // Title:  Device Storage Name Binding
  3              // $State: Preliminary $
  4              // $Date: 2005/01/05 00:54:00 $
  5              // $Source: /home/dmtf2/dotorg/var/cvs/repositories/dev/Schema/MOF/Device_StorageNameBinding.mof,v $
  6              // $Revision: 1.5 $
  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 Device Model extends the management concepts that
 47              //              are related to LogicalDevices. This file defines
 48              //              a model for support for FC HBA Persistent Binding
 49              //              and similar iSCSI  functions
 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.9 Preliminary
 56              // CR1348 - Add support for FC HBA Persistent Binding and similar iSCSI
 57              //  functions
 58              // 
 59              // ==================================================================
 60              
 61              #pragma locale ("en_US")
 62              
 63              // ==================================================================
 64 a.dunfey 1.1 // StorageNameBinding
 65              // ==================================================================
 66                 [Experimental, Version ( "2.8.1000" ), Description (
 67                     "StorageNameBinding instances represent bindings between "
 68                     "transport-specific devices names and either OS device "
 69                     "names/addresses or virtual initiator names. Bindings are "
 70                     "defined by administrators and are persistent. The binding "
 71                     "defines names of other elements that may or may not correlate "
 72                     "to other CIM classes. It must be possible to create these "
 73                     "bindings in cases when CIM instances for these other elements "
 74                     "are not available. This may be because the elements are "
 75                     "temporarily unavailable or because the elements are managed by "
 76                     "some other providers or because the binding represents a "
 77                     "'black listed' device name. A SettingData models the "
 78                     "persistence of the binding in the absence of the elements. In "
 79                     "the descriptions below, FC API refers to the FC API as "
 80                     "specified in the t11_5 workgroup, and IMA refers to the iSCSI "
 81                     "Management API as specified in the SNIA IPS Management "
 82                     "workgroup. \n"
 83                     "\n"
 84                     "Three types of bindings are modeled: \n"
 85 a.dunfey 1.1        "- OSStorageNameBinding models a binding from a storage "
 86                     "elements to OS device names or addresses (as used in FC API "
 87                     "PersistentBindings and IMA ExposeLun. One side of the binding "
 88                     "represents a device (as viewed from the system scoping the "
 89                     "binding) and the name exposed by the scoping system. For "
 90                     "example, Fibre Channel HBAs support binding of Fibre Channel "
 91                     "port names (and optionally a SCSI logical unit identifier) to "
 92                     "OS device names. Each time the system or device is stopped and "
 93                     "restated, the same OS device name is bound to the device. \n"
 94                     "- StorageBridgeNameBinding models gateways where a name valid "
 95                     "for one transport is mapped to a name valid for a different "
 96                     "transport. This binding is used in bridge devices that allow "
 97                     "Infiniband or iSCSI host adapters to connect to Fibre Channel "
 98                     "devices. \n"
 99                     "- The third type of binding is similar to the first, but no OS "
100                     "device name or address is provided, the OS uses its usual "
101                     "rules to assign names. For this type of binding, the "
102                     "superclass can be used.")]
103              class CIM_StorageNameBinding : CIM_SettingData {
104              
105                    [Description (
106 a.dunfey 1.1           "BindingType describes the type of binding expressed by the "
107                        "setting data instance. It also defines the interpretation "
108                        "of TargetName. \n"
109                        "BindToFcDID, FcApiBindToWWPN, and FcApiBindToWWNW represent "
110                        "bindings in a fibre channel HBA to a D_ID (destination ID), "
111                        "WWPN (World Wide Port Name), or WWNW (World Wide Node "
112                        "Name). \n"
113                        "LUID is a binding based on a SCSI Inquiry VPD page 83, "
114                        "Association 0 logical unit identifier. \n"
115                        "'iSCSI Name' represents a binding to an iSCSI target as "
116                        "used in IMA for Static Configuration (if "
117                        "TargetLUNumberValid is false) or an IMA (Un)Exposed LUN "
118                        "record (if TargetLUNumberValid is true). \n"
119                        "'iSCSI Network Address' represents a binding to an iSCSI "
120                        "network entity. It is formatted as a host name or IP "
121                        "address optionally followed by a plus ('+') and a TCP port "
122                        "number. If '+port<#>' is omitted, the iSCSI default (3260) "
123                        "is used. \n"
124                        "'Bridge Binding' represents a binding between initiator IDs "
125                        "in a transport bridge device."), 
126                     ValueMap { "2", "3", "4", "5", "6", "7", "8" }, 
127 a.dunfey 1.1        Values { "FcApiBindToDID", "FcApiBindToWWPN", "FcApiBindToWWNN",
128                        "BindToLUID", "iSCSI Target Name", "iSCSI Network Address",
129                        "Bridge Binding" }, 
130                     MappingStrings { "FC API.INCITS-T11| HBA_BIND_TYPE" }]
131                 uint16 BindingType;
132              
133                    [Description (
134                        "If true, then all target logical units are bound to the OS. "
135                        "Not valid to set this if BindingType is BindToLUID."), 
136                     MappingStrings { "FC API.INCITS-T11| HBA_BIND_TARGETS" }, 
137                     ModelCorrespondence { 
138                        "CIM_StorageNameBinding.LogicalUnitNumber",
139                        "CIM_StorageNameBinding.BindingType" }]
140                 boolean BindAllLogicalUnits = false;
141              
142                    [Description (
143                        "If false (the default), the specified target unit(s) is "
144                        "exposed to the OS. If true, the OS-related properties are "
145                        "ignored, and the target related properties identify target "
146                        "unit(s) that are hidden from the OS. In most cases, this is "
147                        "false.")]
148 a.dunfey 1.1    boolean Hide = false;
149              
150                    [Description (
151                        "The name (dependent on BindingType) identifying the SCSI "
152                        "target. If BindingType is FcApiBindToDID, TargetName holds "
153                        "a hexadecimal-encoded representation of the 32-bit D_ID \n"
154                        "and corresponds to FC API HBA_FCPID.FcId. \n"
155                        "If BindingType is FcApiBindToWWPN or FcApiBindToWWNN, "
156                        "TargetName holds a hexadecimal-encoded representation of "
157                        "the 64-bit FC Port or Node World Wide Name. \n"
158                        "If BindingType is BindToLUID, TargetName holds a SCSI "
159                        "Logical Unit Name from Inquiry VPD page 83, Association 0 "
160                        "as defined in SCSI Primary Commands. If the identifier "
161                        "descriptor (in the SCSI response) has Code Set Binary, then "
162                        "TargetName is its hexadecimal-encoded value."), 
163                     MappingStrings { "FC API.INCITS-T11| HBA_FcpId | FcId",
164                        "FC API.INCITS-T11| HBA_FcpId | NodeWWN",
165                        "FC API.INCITS-T11| HBA_FcpId | PortWWN",
166                        "FC API.INCITS-T11| HBA_FcpId | FcId",
167                        "FC API.INCITS-T11| HBA_LUID" }]
168                 String TargetName;
169 a.dunfey 1.1 
170                    [Description (
171                        "A string containing a hexadecimal-encoded representation of "
172                        "the 64-bit SCSI Logical Unit Number in the format described "
173                        "in the T10 SCSI Architecture Model specification. This "
174                        "format consists of four 2-byte fields. In most cases, the "
175                        "human-oriented logical unit number will be in the high- "
176                        "order two bytes and the low-order six bytes will be zero. "
177                        "This property is only valid if BindAllLogicalUnits is false "
178                        "and BindingType is not ."), 
179                     MappingStrings { "FC API.INCITS-T11| HBA_FcpId | FcpLun" }, 
180                     ModelCorrespondence { 
181                        "CIM_StorageNameBinding.BindAllLogicalUnits" }]
182                 string LogicalUnitNumber;
183              
184                    [Description (
185                        "A status associated with the previous attempt to enable the "
186                        "binding - this may be set many times after the binding is "
187                        "created. The first subset is defined by FC API: \n"
188                        "BadOSBus - request included a bad OS SCSI bus number \n"
189                        "BadOSTarget - request included a bad SCSI target number \n"
190 a.dunfey 1.1           "BadOSLun - request included a bad OS SCSI logical unit "
191                        "number \n"
192                        "OSAddressAlreadyBound - request included an OS SCSI ID that "
193                        "was already bound \n"
194                        "BadFcid - request included a bad or unlocatable FCP Target "
195                        "FCID \n"
196                        "BadWWNN - request included a bad FCP Target Node_Name \n"
197                        "BadWWPN - request included a bad FCP Target Port Name \n"
198                        "BadTargetLU - request included an FCP Logical Unit Number "
199                        "not defined by the identified Target. \n"
200                        "BadLUID - request included an undefined in inaccessible "
201                        "LUID."), 
202                     ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
203                        "10" }, 
204                     Values { "Unknown", "Other", "OK", "BadOSBus", "BadOSTarget",
205                        "BadOSLun", "BadFcId", "BadWWNN", "BadWWPN", "BadTargetLU",
206                        "BadLUID" }, 
207                     MappingStrings { "FC API.INCITS-T11|HBA_FCPBINDING2|Status" }, 
208                     ModelCorrespondence { "CIM_StorageNameBinding.OtherStatus" }]
209                 uint32 Status;
210              
211 a.dunfey 1.1       [Description (
212                        "A string describing the status if Status is 'Other'."), 
213                     ModelCorrespondence { "CIM_StorageNameBinding.Status" }]
214                 string OtherStatus;
215              };
216              
217              
218              // ==================================================================
219              // OSStorageNameBinding
220              // ==================================================================
221                 [Experimental, Version ( "2.8.1000" ), Description (
222                     "OSStorageNameBinding represent a binding between a "
223                     "transport-specific name and an OS device name or address. "
224                     "Bindings are defined by administrators and are persistent.")]
225              class CIM_OSStorageNameBinding : CIM_StorageNameBinding {
226              
227                    [Override ( "BindingType" ), Description (
228                        "OSStorageNameBinding only allows a subset of binding types."), 
229                     ValueMap { "2", "3", "4", "5" }, 
230                     Values { "FcApiBindToDID", "FcApiBindToWWPN", "FcApiBindToWWNN",
231                        "BindToLUID" }, 
232 a.dunfey 1.1        MappingStrings { "FC API.INCITS-T11| HBA_BIND_TYPE" }]
233                 uint16 BindingType;
234              
235                    [Description (
236                        "A device file name valid for the current operating system. "
237                        "It should follow the OS device naming guidelines in the FC "
238                        "API or IMA specification."), 
239                     MappingStrings { "FC API.INCITS-T11|HBA_SCSIID|OSDeviceName",
240                        "IMA.SNIA|IMA_LU_PROPERTIES|osDeviceName" }]
241                 string OSDeviceName;
242              
243                    [Description (
244                        "A flag indicating whether OSBusNumber, OSTargetNumber, and "
245                        "OSLUN prosperities are valid."), 
246                     MappingStrings { "IMA.SNIA|IMA_LU_PROPERTIES|osParallelIdsValid" 
247                        }]
248                 boolean OSAddressesValid = false;
249              
250                    [Description (
251                        "The Bus Number as used in some OSes whether Bus, Target, "
252                        "and LU number together form a unique internal address."), 
253 a.dunfey 1.1        MappingStrings { "FC API.INCITS-T11|HBA_SCSIID|SCSIBusNumber",
254                        "IMA.SNIA|IMA_LU_PROPERTIES|osBusNumber" }]
255                 uint32 OSBusNumber;
256              
257                    [Description (
258                        "The Target Number as used in some OSes whether Bus, Target, "
259                        "and LU number together form a unique internal address."), 
260                     MappingStrings { "FC " 
261                        "API.INCITS-T11|HBA_SCSIID|SCSITargetNumber",
262                        "IMA.SNIA|IMA_LU_PROPERTIES|osTargetId" }]
263                 uint32 OSTargetNumber;
264              
265                    [Description (
266                        "The Logical Unit Number as used in some OSes where Bus, "
267                        "Target, and LU number together form a unique internal "
268                        "address."), 
269                     MappingStrings { "FC API.INCITS-T11|HBA_SCSIID|SCSIOSLUN",
270                        "IMA.SNIA|IMA_LU_PROPERTIES|osLun" }]
271                 uint32 OSLUN;
272              
273                    [Description (
274 a.dunfey 1.1           "The type of the ports in LocalPortName."), 
275                     ValueMap { "2", "3" }, 
276                     Values { "FC Port WWN", "iSCSI Name" }]
277                 uint16 LocalPortNameType;
278              
279                    [Description (
280                        "A list of port names on the current system associated with "
281                        "this persistent binding."), 
282                     MappingStrings { "FC API.INCITS-T11|hbaPortWWN" }]
283                 string LocalPortNames[];
284              
285              };
286              
287              // ==================================================================
288              // StorageBridgeNameBinding
289              // ==================================================================
290                 [Experimental, Version ( "2.8.1000" ), Description (
291                     "StorageBridgeBinding represents a binding between two "
292                     "transport-specific initiator port names. One name is "
293                     "associated with the initiator port in the format appropriate "
294                     "for the port type. The other name is an administratively "
295 a.dunfey 1.1        "assigned name with a format appropriate for transport on the "
296                     "target side of the bridge. This virtual initiator port name is "
297                     "used by the bridge when it communicates with targets from the "
298                     "bound initiator. This virtual name is needed for target device "
299                     "management functions that use initiator port names, such as "
300                     "LUN masking and mapping. \n"
301                     "For example, an Infiniband/FibreChannel bridge support "
302                     "Infiniband initiator ports and allows the administrator to "
303                     "assign a Fibre Channel Port WWN (AssignedPortName) to each "
304                     "Infiniband initiator (InitiatorPortName). \n"
305                     "The TargetName property from the superclass may be used to "
306                     "restrict this binding to a specific target. If TargetPort is "
307                     "left null, the binding affects all targets seen by the bridge.")]
308              class CIM_StorageBridgeNameBinding : CIM_StorageNameBinding {
309              
310                    [Override ( "BindingType" ), Description (
311                        "StorageBridgeNameBinding only allows one binding type."), 
312                     ValueMap { "8" }, 
313                     Values { "Bridge Binding" }]
314                 uint16 BindingType;
315              
316 a.dunfey 1.1       [Description (
317                        "The name of the initiator port using the name Type of the "
318                        "actual transport."), 
319                     MappingStrings { "FC API.INCITS-T11|Bind_SRP_Initiator|SRP " 
320                        "Initiator Port Identifier" }, 
321                     ModelCorrespondence { 
322                        "CIM_StorageBridgeNameBinding.InitiatorPortNameType" }]
323                 string InitiatorPortName;
324              
325                    [Description (
326                        "The name of the initiator port using the name Type of the "
327                        "actual transport."), 
328                     ValueMap { "2", "3", "4" }, 
329                     Values { "FibreChannel Port WWN", "SRP Port Identifier",
330                        "iSCSI Name" }, 
331                     ModelCorrespondence { 
332                        "CIM_StorageBridgeNameBinding.InitiatorPortName" }]
333                 uint16 InitiatorPortNameType;
334              
335                    [Description (
336                        "The name of the initiator port assigned by the "
337 a.dunfey 1.1           "administrator using the name type of the target-side "
338                        "transport."), 
339                     MappingStrings { "FC API.INCITS-T11|Bind_SRP_Initiator|FC_Port " 
340                        "Name Identifier" }, 
341                     ModelCorrespondence { 
342                        "CIM_StorageBridgeNameBinding.AssignedPortNameType" }]
343                 string AssignedPortName;
344              
345                    [Description (
346                        "The name of the initiator port using the name Type of the "
347                        "actual transport."), 
348                     ValueMap { "2", "3", "4" }, 
349                     Values { "FibreChannel Port WWN", "SRP Port Identifier",
350                        "iSCSI Name" }, 
351                     ModelCorrespondence { 
352                        "CIM_StorageBridgeNameBinding.AssignedPortName" }]
353                 uint16 AssignedPortNameType;
354              
355              };
356              
357              // ==================================================================
358 a.dunfey 1.1 // StorageNameBindingService
359              // ==================================================================
360                 [Experimental, Version ( "2.8.1000" ), Description (
361                     "Provides functions needed for name binding.")]
362              class CIM_StorageNameBindingService : CIM_Service {
363              
364                    [Description (
365                        "This method requests that the driver create a name binding "
366                        "from a target (and option logical unit) and lets the OS "
367                        "assign the name."), 
368                     ValueMap { "0", "1", "2", "3", "4", "5", "..", "32768..65535" }, 
369                     Values { "Success", "Not Supported", "Unknown", "Timeout",
370                        "Failed", "Invalid Parameter", "DMTF Reserved",
371                        "Vendor Specific" }]
372                 uint32 CreateStorageNameBinding ( 
373                       [IN, Description (
374                           "The value to assign to BindingType."), 
375                        ValueMap { "2", "3", "4", "5", "6", "7" }, 
376                        Values { "FcApiBindToDID", "FcApiBindToWWPN",
377                           "FcApiBindToWWNN", "BindToLUID", "iSCSI Target Name",
378                           "iSCSI Network Address" }]
379 a.dunfey 1.1       uint16 BindingType,
380                    
381                       [IN, Description (
382                           "The value to assign to BindAllLogicalUnits.")]
383                    boolean BindAllLogicalUnits,
384                    
385                       [IN, Description (
386                           "The value to assign to Hide.")]
387                    boolean Hide,
388                    
389                       [IN, Description (
390                           "The value to assign to TargetName.")]
391                    string TargetName,
392                    
393                       [IN, Description (
394                           "The value to assign to LogicalUnitNumber.")]
395                    string LogicalUnitNumber,
396                    
397                       [IN ( false ), OUT, Description (
398                           "A reference to the created name binding instance.")]
399                    CIM_StorageNameBinding REF Binding); 
400 a.dunfey 1.1 
401                    [Description (
402                        "This method requests that the driver create a name binding "
403                        "from a target (and option logical unit) to a specified OS "
404                        "Device Name or addresses."), 
405                     ValueMap { "0", "1", "2", "3", "4", "5", "..", "32768..65535" }, 
406                     Values { "Success", "Not Supported", "Unknown", "Timeout",
407                        "Failed", "Invalid Parameter", "DMTF Reserved",
408                        "Vendor Specific" }]
409                 uint32 CreateOSStorageNameBinding ( 
410                       [IN, Description (
411                           "The value to assign to BindingType."), 
412                        ValueMap { "2", "3", "4", "5", "6", "7" }, 
413                        Values { "FcApiBindToDID", "FcApiBindToWWPN",
414                           "FcApiBindToWWNN", "BindToLUID", "iSCSI Target Name",
415                           "iSCSI Network Address" }]
416                    uint16 BindingType,
417                    
418                       [IN, Description (
419                           "The value to assign to BindAllLogicalUnits.")]
420                    boolean BindAllLogicalUnits,
421 a.dunfey 1.1       
422                       [IN, Description (
423                           "The value to assign to Hide.")]
424                    boolean Hide,
425                    
426                       [IN, Description (
427                           "The value to assign to TargetName.")]
428                    string TargetName,
429                    
430                       [IN, Description (
431                           "The value to assign to LogicalUnitNumber.")]
432                    string LogicalUnitNumber,
433                    
434                       [IN, Description (
435                           "The value to assign to OSDeviceName.")]
436                    string OSDeviceName,
437                    
438                       [IN, Description (
439                           "The value to assign to OSAddressesValid.")]
440                    boolean OSAddressesValid,
441                    
442 a.dunfey 1.1          [IN, Description (
443                           "The value to assign to OSBusNumber.")]
444                    uint32 OSBusNumber,
445                    
446                       [IN, Description (
447                           "The value to assign to OSTargetNumber.")]
448                    uint32 OSTargetNumber,
449                    
450                       [IN, Description (
451                           "The value to assign to OSLUN.")]
452                    uint32 OSLUN,
453                    
454                       [IN, Description (
455                           "The type of the ports in LocalPortNames."), 
456                        ValueMap { "2", "3" }, 
457                        Values { "FC Port WWN", "iSCSI Name" }]
458                    uint16 LocalPortNameType,
459                    
460                       [IN, Description (
461                           "The values to assign to LocalPortNames.")]
462                    string LocalPortNames[],
463 a.dunfey 1.1       
464                       [IN ( false ), OUT, Description (
465                           "A reference to the created name binding instance.")]
466                    CIM_StorageNameBinding REF Binding); 
467              
468                    [Description (
469                        "This method requests that the driver create a name binding "
470                        "between real and virtual initiator names on a bridge."), 
471                     ValueMap { "0", "1", "2", "3", "4", "5", "..", "32768..65535" }, 
472                     Values { "Success", "Not Supported", "Unknown", "Timeout",
473                        "Failed", "Invalid Parameter", "DMTF Reserved",
474                        "Vendor Specific" }]
475                 uint32 CreateStorageBridgeNameBinding ( 
476                       [IN, Description (
477                           "The value to assign to BindingType."), 
478                        ValueMap { "2", "3", "4", "5", "6", "7" }, 
479                        Values { "FcApiBindToDID", "FcApiBindToWWPN",
480                           "FcApiBindToWWNN", "BindToLUID", "iSCSI Target Name",
481                           "iSCSI Network Address" }]
482                    uint16 BindingType,
483                    
484 a.dunfey 1.1          [IN, Description (
485                           "The value to assign to BindAllLogicalUnits.")]
486                    boolean BindAllLogicalUnits,
487                    
488                       [IN, Description (
489                           "The value to assign to Hide.")]
490                    boolean Hide,
491                    
492                       [IN, Description (
493                           "The value to assign to TargetName.")]
494                    string TargetName,
495                    
496                       [IN, Description (
497                           "The value to assign to InitiatorPortName.")]
498                    string InitiatorPortName,
499                    
500                       [IN, Description (
501                           "The value to assign to InitiatorPortNameType."), 
502                        ValueMap { "2", "3", "4" }, 
503                        Values { "FibreChannel Port WWN", "SRP Port Identifier",
504                           "iSCSI Name" }]
505 a.dunfey 1.1       uint16 InitiatorPortNameType,
506                    
507                       [IN, Description (
508                           "The value to assign to AssignedPortName.")]
509                    string AssignedPortName,
510                    
511                       [IN, Description (
512                           "The value to assign to AssignedPortNameType."), 
513                        ValueMap { "2", "3", "4" }, 
514                        Values { "FibreChannel Port WWN", "SRP Port Identifier",
515                           "iSCSI Name" }]
516                    uint16 AssignedPortNameType,
517                    
518                       [IN ( false ), OUT, Description (
519                           "A reference to the created name binding instance.")]
520                    CIM_StorageNameBinding REF Binding); 
521              
522              };
523              
524              // ==================================================================
525              // StorageNameBindingCapabilities
526 a.dunfey 1.1 // ==================================================================
527                 [Experimental, Version ( "2.8.1000" ), Description (
528                     "StorageNameBindingCapabilities describes the current "
529                     "implementation's support for optional behavior.")]
530              class CIM_StorageNameBindingCapabilities : CIM_Capabilities {
531              
532                    [Description (
533                        "The type of bindings supported."), 
534                     ValueMap { "2", "3", "4", "5", "6", "7", "8" }, 
535                     Values { "FcApiBindToDID", "FcApiBindToWWPN", "FcApiBindToWWNN",
536                        "BindToLUID", "iSCSI Target Name", "iSCSI Network Address",
537                        "Bridge Binding" }, 
538                     MappingStrings { "FC API.INCITS-T11| HBA_BIND_TYPE" }]
539                 uint16 ValidBindingTypes[];
540              
541                    [Description (
542                        "Set to true if the implementation requires the associated "
543                        "software element be reset. In the case of drivers, this "
544                        "requires a system reboot. Set to false if the "
545                        "implementation can activate bindings without a reset.")]
546                 boolean ActivateBindingRequiresReset;
547 a.dunfey 1.1 
548                    [Description (
549                        "Set to true if the implementation supports "
550                        "OSStorageNameBinding and allows overriding OS "
551                        "bus/target/LUN numbers. Set to false if not "
552                        "OSStorageNameBinding or if overriding OS address is not "
553                        "supported."), 
554                     MappingStrings { "FC API.INCITS-T11|HBA_CAN_BIND_ANY_LUNS" }, 
555                     ModelCorrespondence { "CIM_OSStorageNameBinding.OSBusNumber",
556                        "CIM_OSStorageNameBinding.OSTargetNumber",
557                        "CIM_OSStorageNameBinding.OSLUN" }]
558                 boolean CanMapAddresses;
559              
560                    [Description (
561                        "Set to true if the implementation supports "
562                        "OSStorageNameBinding and supports binding all logical units "
563                        "from a target to the OS. Set to false if not "
564                        "OSStorageNameBinding or if the implementation requires "
565                        "binding each logical unit independently."), 
566                     MappingStrings { "FC API.INCITS-T11|HBA_CAN_BIND_TARGETS" }]
567                 boolean CanBindAllLuns;
568 a.dunfey 1.1 
569                    [Description (
570                        "Set to true if the implementation supports auto-discovery "
571                        "and automatic name binding; create binding methods in "
572                        "StorageBindingService are not supported. Set to false "
573                        "indicates that create binding methods are supported."), 
574                     MappingStrings { "FC API.INCITS-T11|HBA_CAN_BIND_AUTOMAP" }]
575                 boolean AutoDiscovery;
576              
577                    [Description (
578                        "Set to true if the implementation supports "
579                        "OSStorageNameBinding method and supports changing "
580                        "OSDeviceName by specifying a non-null OSDeviceName "
581                        "parameter to CreateOSStorageNameBinding.")]
582                 boolean CanSetOSDeviceName;
583              
584              };
585              
586              // ===================================================================
587              // end of file
588              // ===================================================================

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2