public List<TAINodeInfo> getRegisteredAINodeInfoList() {
    List<TAINodeInfo> aiNodeInfoList = new ArrayList<>();
    for (TAINodeConfiguration aiNodeConfiguration : getRegisteredAINodes()) {
      TAINodeInfo aiNodeInfo = new TAINodeInfo();
      aiNodeInfo.setAiNodeId(aiNodeConfiguration.getLocation().getAiNodeId());
      aiNodeInfo.setStatus(getLoadManager().getNodeStatusWithReason(aiNodeInfo.getAiNodeId()));
      aiNodeInfo.setInternalAddress(aiNodeConfiguration.getLocation().getInternalEndPoint().ip);
      aiNodeInfo.setInternalPort(aiNodeConfiguration.getLocation().getInternalEndPoint().port);
      aiNodeInfoList.add(aiNodeInfo);
    }
    return aiNodeInfoList;
  }
Removes the specified DataNodes.

@param removeDataNodePlan the plan detailing which DataNodes to remove
@return DataNodeToStatusResp, where the TSStatus will be SUCCEED_STATUS if the request is
    accepted, or DATANODE_NOT_EXIST if any DataNode does not exist.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/node/NodeManager.java