docs: public static ModelNode createLocalHostHostInfo(final LocalHostControllerInfo hostInfo, final ProductConfig productConfig,
                                               final IgnoredDomainResourceRegistry ignoredResourceRegistry, final Resource hostModelResource) {
          final ModelNode info = new ModelNode();
          info.get(NAME).set(hostInfo.getLocalHostName());
          info.get(RELEASE_VERSION).set(Version.AS_VERSION);
          info.get(RELEASE_CODENAME).set(Version.AS_RELEASE_CODENAME);
          info.get(MANAGEMENT_MAJOR_VERSION).set(Version.MANAGEMENT_MAJOR_VERSION);
          info.get(MANAGEMENT_MINOR_VERSION).set(Version.MANAGEMENT_MINOR_VERSION);
          info.get(MANAGEMENT_MICRO_VERSION).set(Version.MANAGEMENT_MICRO_VERSION);
          final String productName = productConfig.getProductName();
          final String productVersion = productConfig.getProductVersion();
          if(productName != null) {
              info.get(PRODUCT_NAME).set(productName);
          }
          if(productVersion != null) {
              info.get(PRODUCT_VERSION).set(productVersion);
          }
          ModelNode ignoredModel = ignoredResourceRegistry.getIgnoredResourcesAsModel();
          if (ignoredModel.hasDefined(IGNORED_RESOURCE_TYPE)) {
              info.get(IGNORED_RESOURCES).set(ignoredModel.require(IGNORED_RESOURCE_TYPE));
          }
          boolean ignoreUnaffectedServerGroups = hostInfo.isRemoteDomainControllerIgnoreUnaffectedConfiguration();
          IgnoredNonAffectedServerGroupsUtil.addCurrentServerGroupsToHostInfoModel(ignoreUnaffectedServerGroups, hostModelResource, info);
          return info;
      }