__init__(self,
name,
size=None,
wwn=None,
nullio=False)
(Constructor)
|
|
A RDMCPStorageObject can be instantiated in two ways:
-
Creation mode: If size is specified, the underlying
configFS object will be created with that parameter. No
RDMCPStorageObject with the same name can pre-exist in the
parent Backstore in that mode, or instantiation will fail.
-
Lookup mode: If size is not set, then the
RDMCPStorageObject will be bound to the existing configFS object in
the parent Backstore having the specified name. The underlying
configFS object must already exist in that mode, or instantiation
will fail.
- Parameters:
name (string) - The name of the RDMCPStorageObject.
size (int) - The size of the ramdrive to create, in bytes.
wwn (string) - T10 WWN Unit Serial, will generate if None
nullio (boolean) - If rd should be created w/o backing page store.
- Returns:
- A RDMCPStorageObject object.
- Overrides:
node.CFSNode.__init__
|