An abstract base class akin to CFSNode, but for classes that emulate a
higher-level group object across the actual NodeACL configfs
structure.
|
__init__(self,
members_func)
members_func is a function that takes a self argument and returns an
iterator of the objects that the derived Group class is grouping. |
|
|
|
|
|
_get_prop(self,
prop)
Helper fn to use with partial() to support getting a property value
from the first member of the group. |
|
|
|
_set_prop(self,
value,
prop)
Helper fn to use with partial() to support setting a property value
in all members of the group. |
|
|
|
list_attributes(self,
writable=None) |
|
|
|
list_parameters(self,
writable=None) |
|
|
|
set_attribute(self,
attribute,
value) |
|
|
|
set_parameter(self,
parameter,
value) |
|
|
|
get_attribute(self,
attribute) |
|
|
|
get_parameter(self,
parameter) |
|
|
|
delete(self)
Delete all members of the group. |
|
|
|
|