38 YAML::Node node = YAML::LoadFile(FLAGS_client_conf_yaml);
39 std::string server_addr =
40 node[
"grpc_host_port"][
"grpc_host"].as<std::string>() +
":" +
41 node[
"grpc_host_port"][
"grpc_port"].as<std::string>();
42 check_period_ = node[
"alignment"][
"check_period"].as<
int>();
44 grpc::CreateChannel(server_addr, grpc::InsecureChannelCredentials()));