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. |
|
|
|
_node_acls(self)
Gives access to the underlying NodeACLs within this group. |
|
|
|
wwns(self)
Give the Node WWNs of members of this group. |
|
|
|
has_feature(self,
feature)
Whether or not this NodeACL has a certain feature. |
|
|
|
sessions(self)
Yields any current sessions. |
|
|
|
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 ,
exists ,
get_attribute ,
get_parameter ,
list_attributes ,
list_parameters ,
set_attribute ,
set_parameter
|