DynamicGroup fabric = addChild(EntitySpec.create(DynamicGroup.class)
.configure(DynamicGroup.ENTITY_FILTER, Predicates.and(Predicates.instanceOf(DockerContainer.class), EntityPredicates.attributeEqualTo(DockerContainer.DOCKER_INFRASTRUCTURE, this)))
.configure(DynamicGroup.MEMBER_DELEGATE_CHILDREN, true)
.displayName("All Docker Containers"));
DynamicMultiGroup buckets = addChild(EntitySpec.create(DynamicMultiGroup.class)
.configure(DynamicMultiGroup.ENTITY_FILTER, sameInfrastructure)
.configure(DynamicMultiGroup.RESCAN_INTERVAL, 15L)
.configure(DynamicMultiGroup.BUCKET_FUNCTION, new Function<Entity, String>() {
@Override
public String apply(@Nullable Entity input) {