mirror of
https://github.com/nextepc/nextepc-oss.git
synced 2025-11-03 05:13:15 +00:00
Add only one 5GC scenario (call-flow)
This commit is contained in:
@@ -49,30 +49,30 @@ int app_initialize(const char *const argv[])
|
||||
|
||||
if (ogs_config()->parameter.no_nrf == 0)
|
||||
nrf_thread = test_child_create("nrf", argv_out);
|
||||
if (ogs_config()->parameter.no_amf == 0)
|
||||
amf_thread = test_child_create("amf", argv_out);
|
||||
if (ogs_config()->parameter.no_ausf == 0)
|
||||
ausf_thread = test_child_create("ausf", argv_out);
|
||||
if (ogs_config()->parameter.no_udm == 0)
|
||||
udm_thread = test_child_create("udm", argv_out);
|
||||
if (ogs_config()->parameter.no_udr == 0)
|
||||
udr_thread = test_child_create("udr", argv_out);
|
||||
if (ogs_config()->parameter.no_upf == 0)
|
||||
upf_thread = test_child_create("upf", argv_out);
|
||||
if (ogs_config()->parameter.no_smf == 0)
|
||||
smf_thread = test_child_create("smf", argv_out);
|
||||
if (ogs_config()->parameter.no_amf == 0)
|
||||
amf_thread = test_child_create("amf", argv_out);
|
||||
if (ogs_config()->parameter.no_upf == 0)
|
||||
upf_thread = test_child_create("upf", argv_out);
|
||||
if (ogs_config()->parameter.no_udr == 0)
|
||||
udr_thread = test_child_create("udr", argv_out);
|
||||
|
||||
return OGS_OK;;
|
||||
}
|
||||
|
||||
void app_terminate(void)
|
||||
{
|
||||
if (amf_thread) ogs_thread_destroy(amf_thread);
|
||||
if (smf_thread) ogs_thread_destroy(smf_thread);
|
||||
if (upf_thread) ogs_thread_destroy(upf_thread);
|
||||
if (udm_thread) ogs_thread_destroy(udm_thread);
|
||||
if (udr_thread) ogs_thread_destroy(udr_thread);
|
||||
if (ausf_thread) ogs_thread_destroy(ausf_thread);
|
||||
if (amf_thread) ogs_thread_destroy(amf_thread);
|
||||
if (upf_thread) ogs_thread_destroy(upf_thread);
|
||||
if (udr_thread) ogs_thread_destroy(udr_thread);
|
||||
if (nrf_thread) ogs_thread_destroy(nrf_thread);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user