private boolean inVespasPortRange(int port) {
        return port >= BASE_PORT &&
                port < BASE_PORT + MAX_PORTS;
    }
Reserves the desired port for the given service, or throws as exception if the port
is not available.

@param service the service that wishes to reserve the port.
@param port the port to be reserved.
config-model/src/main/java/com/yahoo/vespa/model/HostPorts.java