class NetworkConfigurations {

  @Nonnull
  public Optional<Interface> getInterface(String hostname, String interfaceName) {
    return get(hostname).map(Configuration::getAllInterfaces).map(m -> m.get(interfaceName));
  }

  private  NetworkConfigurations(Map<String, Configuration> configurations);

}