Package rtslib :: Module target :: Class MappedLUNGroup

[hide private]
[frames] | no frames]

# Class MappedLUNGroup

    object --+
             |
         Group --+
                 |
                MappedLUNGroup

Used with NodeACLGroup, this aggregates all MappedLUNs with the same LUN so that it can be configured across all members of the NodeACLGroup.

Instance Methods | [hide private]

__repr__(self) repr(x) |

__init__(self, nodeaclgroup, mapped_lun, *args, **kwargs) members_func is a function that takes a self argument and returns an iterator of the objects that the derived Group class is grouping. |

Inherited from `Group`: `delete`, `get_attribute`, `get_parameter`, `list_attributes`, `list_parameters`, `set_attribute`, `set_parameter`

Inherited from `Group` (private): `_get_first_member`, `_get_prop`, `_set_prop`

Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]

| _mapped_luns
| mapped_lun Get the integer MappedLUN mapped_lun index.
| parent_nodeaclgroup Get the parent NodeACLGroup object.
| write_protect Get or set the boolean write protection.
| tpg_lun Get the TPG LUN object the MappedLUN is pointing at.
Inherited from `Group`: `exists` Inherited from `object`: `__class__`

Method Details | [hide private]

### __repr__(self)
(Representation operator)

repr(x)

Overrides: object.__repr__
  (inherited documentation)

### __init__(self, nodeaclgroup, mapped_lun, *args, **kwargs)
(Constructor)

members_func is a function that takes a self argument and returns an iterator of the objects that the derived Group class is grouping.

Overrides: object.__init__
  (inherited documentation)

Property Details | [hide private]

### _mapped_luns

Get Method:
  unreachable._mapped_luns(self)

### mapped_lun

Get the integer MappedLUN mapped_lun index.

Get Method:
  unreachable.mapped_lun(self) - Get the integer MappedLUN mapped_lun index.

### parent_nodeaclgroup

Get the parent NodeACLGroup object.

Get Method:
  unreachable.parent_nodeaclgroup(self) - Get the parent NodeACLGroup object.

### write_protect

Get or set the boolean write protection.

Get Method:

      <functools.partial object>

Set Method:

      <functools.partial object>

### tpg_lun

Get the TPG LUN object the MappedLUN is pointing at.

Get Method:

      <functools.partial object>