f.write(" for (i = 0; i < %sIEs1->%s.count; i++) {\n"%(lowerFirstCamelWord(re.sub('-','_',i)),re.sub('IEs','',lowerFirstCamelWord(re.sub('-','_',key)))))
IPV4_STR_ADDR_TO_INT_NWBO(address,g_enb_properties.properties[enb_properties_index]->enb_ipv4_address_for_S1_MME,"BAD IP ADDRESS FORMAT FOR eNB S1_MME !\n");
fprintf(stdout,"\t--help, -h Print this help and return\n");
fprintf(stdout,"\t--test-dir <path>\n");
fprintf(stdout," Set the test directory where pdml and original enb(s) config files are located\n");
fprintf(stdout," See README in openair3/TEST/EPC_TEST\n");
fprintf(stdout,"\t--new-enb-conf-file <file>\n");
fprintf(stdout," Provide an updated eNB config file for generating a copy of the original test\n");
fprintf(stdout," This option is set as many times as there are some eNB in the original test\n");
fprintf(stdout,"\n");
fprintf(stdout,"Mandatory options:\n");
fprintf(stdout,"\t-c | --enb-conf-file <file> Provide the old eNB config file for generating a copy of the original test\n");
fprintf(stdout,"\t-d | --test-dir <dir> Directory where a set of files related to a particular test are located\n");
fprintf(stdout,"\t-p | --pdml <file> File name (with no path) in 'test-dir' directory of an original scenario that has to be reworked (IP addresses) with new testbed\n");
fprintf(stdout,"\n");
fprintf(stdout,"Other options:\n");
fprintf(stdout,"\t-h | --help Print this help and return\n");
fprintf(stdout,"\t-v | --version Print informations about the version of this executable\n");
fprintf(stdout,"\n");
fprintf(stdout,"Example of generate_scenario use case: \n");
fprintf(stdout,"\n");
fprintf(stdout," Generate a generix xml scenario from a captured pcap file: \n");
IPV4_STR_ADDR_TO_INT_NWBO(address,g_enb_properties.properties[enb_properties_index]->enb_ipv4_address_for_S1U,"BAD IP ADDRESS FORMAT FOR eNB S1_U !\n");
IPV4_STR_ADDR_TO_INT_NWBO(address,g_enb_properties.properties[enb_properties_index]->enb_ipv4_address_for_S1_MME,"BAD IP ADDRESS FORMAT FOR eNB S1_MME !\n");
}
}
}// if (subsetting != NULL) {
enb_properties_index+=1;
}// if (strcmp(active_enb[j], enb_name) == 0)
}// for (j=0; j < num_enb_properties; j++)
}// for (i = 0; i < num_enbs; i++)
}// if (setting != NULL) {
g_enb_properties.number+=num_enb_properties;
AssertFatal(parse_errors==0,
"Failed to parse eNB configuration file %s, found %d error%s !\n",
LOG_D(ENB_APP,"EVENT_TICK: Considering packet num %d original frame number %u\n",g_scenario->next_packet->packet_number,g_scenario->next_packet->original_frame_number);
S1AP_DEBUG("Packet received: num %u | original frame number %u \n",packet->packet_number,packet->original_frame_number);
S1AP_DEBUG("Last Packet received: num %u | original frame number %u \n",g_scenario->last_rx_packet->packet_number,g_scenario->last_rx_packet->original_frame_number);
S1AP_DEBUG("Set Last Packet received: num %u | original frame number %u \n",g_scenario->last_rx_packet->packet_number,g_scenario->last_rx_packet->original_frame_number);
S1AP_DEBUG("Set Last Packet received: num %u | original frame number %u \n",g_scenario->last_rx_packet->packet_number,g_scenario->last_rx_packet->original_frame_number);