private boolean ignoreNetworkInterface(NetworkInterface networkInterface) throws Exception {
    return networkInterface == null || networkInterface.isLoopback() || networkInterface.isVirtual()
      || !networkInterface.isUp();
  }
Tests for the hostname specification by region server
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.java