The GroupItem stores the information about a group of nodes.
|
__init__(self,
name,
parent=None,
has_remote_launched_nodes=False,
is_group=False)
Initialize the GroupItem object with given values. |
source code
|
|
|
name(self,
new_name)
Set the new name of this group and updates the displayed name of the
item. |
source code
|
|
int
|
|
|
|
|
|
|
|
|
count_nodes(self)
Returns count of nodes inside this group. |
source code
|
|
bool
|
|
|
|
bool
|
move_nodes2group(self,
group_item,
config,
ns,
groupname,
host_item)
Returns `True` if the group was changed by adding a new node. |
source code
|
|
|
|
dict(config : [str])
|
|
[QtGui.QStandardItem]
|
getNodeItemsByName(self,
node_name,
recursive=True)
Since the same node can be included by different groups, this method
searches for all nodes with given name and returns these items. |
source code
|
|
[QtGui.QStandardItem]
|
|
GroupItem
|
|
|
|
|
clearUp(self,
fixed_node_names=None)
Removes not running and not configured nodes. |
source code
|
|
|
|
|
|
|
|
[str]
|
|
|
markNodesAsDuplicateOf(self,
running_nodes,
is_sync_running=False)
While a synchronization same node on different hosts have the same
name, the nodes with the same on other host are marked. |
source code
|
|
|
|
str
|
|
|
|
|
|
|
updateDisplayedConfig(self)
Updates the configuration representation in other column. |
source code
|
|
|
get_configs(self)
Returns a tuple with counts for launch and default configurations. |
source code
|
|
|
|
|
__eq__(self,
item)
Compares the name of the group. |
source code
|
|
|
|
|
__gt__(self,
item)
Compares the name of the group. |
source code
|
|