22int main(
int argc,
char **argv) {
23 google::InitGoogleLogging(argv[0]);
24 google::ParseCommandLineFlags(&argc, &argv,
true);
30 <<
"Unable to load routing conf file: " + FLAGS_routing_conf_file;
32 AINFO <<
"Conf file: " << FLAGS_routing_conf_file <<
" is loaded.";
38 ACHECK(creator.
Create()) <<
"Create routing topo failed!";
40 AINFO <<
"Create routing topo successfully from " << base_map <<
" to "
bool GetProtoFromFile(const std::string &file_name, google::protobuf::Message *message)
Parses the content of the file specified by the file_name as a representation of protobufs,...