Add only one 5GC scenario (call-flow)

This commit is contained in:
Sukchan Lee
2020-06-17 01:22:28 -04:00
parent 20008b6a13
commit dbee687a75
1415 changed files with 86635 additions and 5877 deletions

View File

@@ -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);
}