Allow a group of NodeACLs that share a tag to be managed
collectively.
|
|
|
__init__(self,
parent_tpg,
name)
members_func is a function that takes a self argument and returns an
iterator of the objects that the derived Group class is grouping. |
|
|
|
|
|
|
|
add_acl(self,
node_wwn)
Add a WWN to the NodeACLGroup. |
|
|
|
remove_acl(self,
node_wwn)
Remove a WWN from the NodeACLGroup. |
|
|
|
has_feature(self,
feature)
Whether or not this NodeACL has a certain feature. |
|
|
|
mapped_lun_group(self,
mapped_lun,
tpg_lun=None,
write_protect=None)
Add a mapped lun to all group members. |
|
|
|
|
|
_set_chap(self,
name,
value,
wwn) |
|
|
|
get_userids(self)
Returns a (wwn, userid) tuple for each member of the group. |
|
|
|
set_userids(self,
value,
wwn=None)
If wwn, set the userid for just that wwn, otherwise set it for all
group members. |
|
|
|
get_passwords(self)
Returns a (wwn, password) tuple for each member of the group. |
|
|
|
set_passwords(self,
value,
wwn=None)
If wwn, set the password for just that wwn, otherwise set it for all
group members. |
|
|
|
get_mutual_userids(self)
Returns a (wwn, mutual_userid) tuple for each member of the group. |
|
|
|
set_mutual_userids(self,
value,
wwn=None)
If wwn, set the mutual_userid for just that wwn, otherwise set it for
all group members. |
|
|
|
get_mutual_passwords(self)
Returns a (wwn, mutual_password) tuple for each member of the group. |
|
|
|
set_mutual_passwords(self,
value,
wwn=None)
If wwn, set the mutual_password for just that wwn, otherwise set it
for all group members. |
|
|
Inherited from Group :
delete ,
get_attribute ,
get_parameter ,
list_attributes ,
list_parameters ,
set_attribute ,
set_parameter
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|