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.
 
_mapped_luns(self)
 
mapped_lun(self)
Get the integer MappedLUN mapped_lun index.
 
parent_nodeaclgroup(self)
Get the parent NodeACLGroup object.

Inherited from Group: delete, exists, 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__

Class Variables [hide private]
  write_protect = property(partial(Group._get_prop, prop= "write...
  tpg_lun = property(partial(Group._get_prop, prop= "tpg_lun"), ...
Properties [hide private]

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)

_mapped_luns(self)

 
Decorators:
  • @property

mapped_lun(self)

 

Get the integer MappedLUN mapped_lun index.

Decorators:
  • @property

parent_nodeaclgroup(self)

 

Get the parent NodeACLGroup object.

Decorators:
  • @property

Class Variable Details [hide private]

write_protect

Value:
property(partial(Group._get_prop, prop= "write_protect"), partial(Grou\
p._set_prop, prop= "write_protect"), doc= "Get or set the boolean writ\
e protection.")

tpg_lun

Value:
property(partial(Group._get_prop, prop= "tpg_lun"), doc= "Get the TPG \
LUN object the MappedLUN is pointing at.")