/** * Returns an array of all the possible host IP address on the Rainmaker (sub)network that is * reserved for the given project container. * * @param Container $container * @return string[] */ public function getAllNetworkHostAddresses(Container $container) { $networkPrefix = $container->networkPrefix(); $networkHostAddresses = array(); for ($i = $this->defaultNetworkHostAddressMin; $i <= $this->defaultNetworkHostAddressMax; $i++) { $networkHostAddresses[] = $networkPrefix . '.' . $i; } return $networkHostAddresses; }