dataStore.setContainerAttribute(containerName, DataStore.ContainerAttribute.PortMin, String.valueOf(minimumPort));
dataStore.setContainerAttribute(containerName, DataStore.ContainerAttribute.PortMax, String.valueOf(maximumPort));
inheritAddresses(fabricService.get(), parent.getId(), containerName, options);
//We are creating a container instance, just for the needs of port registration.
Container child = new ContainerImpl(parent, containerName, fabricService.get()) {
@Override
public String getIp() {
return parent.getIp();
}
};