AssertFatal(oai_args.sm_dir!=NULL,"Please, specify the directory where the SMs are located in the config file, i.e., add in config file the next line: e2_agent = {near_ric_ip_addr = \"127.0.0.1\"; sm_dir = \"/usr/local/lib/flexric/\");} ");
AssertFatal(oai_args.ip!=NULL,"Please, specify the IP address of the nearRT-RIC in the config file, i.e., e2_agent = {near_ric_ip_addr = \"127.0.0.1\"; sm_dir = \"/usr/local/lib/flexric/\"");
@@ -689,55 +736,19 @@ int main( int argc, char **argv ) {
...
@@ -689,55 +736,19 @@ int main( int argc, char **argv ) {
config_sync_var=0;
config_sync_var=0;
#ifdef E2_AGENT
#ifdef E2_AGENT
//////////////////////////////////
//////////////////////////////////
//////////////////////////////////
//////////////////////////////////
//// Init the E2 Agent
//// Init the E2 Agent
sm_io_ag_ran_tio=init_ran_func_ag();
// OAI Wrapper
// OAI Wrapper
e2_agent_args_toai_args=RCconfig_NR_E2agent();
e2_agent_args_toai_args=RCconfig_NR_E2agent();
AssertFatal(oai_args.sm_dir!=NULL,"Please, specify the directory where the SMs are located in the config file, i.e., add in config file the next line: e2_agent = {near_ric_ip_addr = \"127.0.0.1\"; sm_dir = \"/usr/local/lib/flexric/\");} ");
AssertFatal(oai_args.ip!=NULL,"Please, specify the IP address of the nearRT-RIC in the config file, i.e., e2_agent = {near_ric_ip_addr = \"127.0.0.1\"; sm_dir = \"/usr/local/lib/flexric/\"");