@Override
    public String toString() {
        return "HostPorts{"+hostname+"}";
    }
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