EdgeDeviceGroup
A composition node grouping EdgeDevices and other EdgeDeviceGroups with multiplicities. Lets a deployment template (a building, a vehicle, a fleet) describe how many of each device it contains, with arbitrary nesting.
Common pitfalls
Cycles in the group hierarchy are forbidden — a group cannot contain itself transitively. The model raises error if a cycle is introduced. Counts in EdgeDeviceGroup.sub_group_counts and EdgeDeviceGroup.edge_device_counts must be dimensionless and non-negative.
Params
name
A human readable description of the object.
sub_group_counts
Mapping from child EdgeDeviceGroup to how many copies of it this group contains.
edge_device_counts
Mapping from EdgeDevice to how many of it this group contains.
Backwards links
Calculated attributes
counts_validation
Validates that every count in this group is dimensionless and non-negative.
Example value: no value
Depends directly on:
through the following calculations:
You can also visit the link to no value’s full calculation graph.
no_cycle_validation
Validates that the group does not contain itself transitively, and that no nested sub-group does either.
Example value: no value
Depends directly on:
through the following calculations:
You can also visit the link to no value’s full calculation graph.
effective_nb_of_units_within_root
How many copies of this group exist when the hierarchy is unrolled from the root group: 1 for a root group, otherwise the sum across each parent of (parent's effective count) times (count of this group within that parent).
Example value: 1
Depends directly on:
through the following calculations:
You can also visit the link to root group count of 1’s full calculation graph.