Add more log for 5GC

This commit is contained in:
Sukchan Lee 2020-07-27 21:05:11 -04:00
parent 7071d32518
commit 7afb914b9a
11 changed files with 6 additions and 21 deletions

View File

@ -297,10 +297,6 @@ void amf_state_operational(ogs_fsm_t *s, amf_event_t *e)
e->sbi.message = &sbi_message;
ogs_fsm_dispatch(&nf_instance->sm, e);
if (OGS_FSM_CHECK(&nf_instance->sm, amf_nf_state_exception)) {
ogs_warn("[%s] State machine exception", nf_instance->id);
}
break;
CASE(OGS_SBI_RESOURCE_NAME_SUBSCRIPTIONS)

View File

@ -279,6 +279,7 @@ void amf_nf_state_registered(ogs_fsm_t *s, amf_event_t *e)
break;
case AMF_TIMER_NF_INSTANCE_NO_HEARTBEAT:
ogs_error("[%s] No heartbeat", nf_instance->id);
OGS_FSM_TRAN(s, &amf_nf_state_will_register);
break;

View File

@ -205,10 +205,6 @@ void ausf_state_operational(ogs_fsm_t *s, ausf_event_t *e)
e->sbi.message = &message;
ogs_fsm_dispatch(&nf_instance->sm, e);
if (OGS_FSM_CHECK(&nf_instance->sm, ausf_nf_state_exception)) {
ogs_warn("[%s] State machine exception", nf_instance->id);
}
break;
CASE(OGS_SBI_RESOURCE_NAME_SUBSCRIPTIONS)

View File

@ -279,6 +279,7 @@ void ausf_nf_state_registered(ogs_fsm_t *s, ausf_event_t *e)
break;
case AUSF_TIMER_NF_INSTANCE_NO_HEARTBEAT:
ogs_error("[%s] No heartbeat", nf_instance->id);
OGS_FSM_TRAN(s, &ausf_nf_state_will_register);
break;

View File

@ -62,7 +62,7 @@ static int client_notify_cb(ogs_sbi_response_t *response, void *data)
}
if (message.res_status != OGS_SBI_HTTP_STATUS_NO_CONTENT)
ogs_error("Subscription notification failed [%d]", message.res_status);
ogs_warn("Subscription notification failed [%d]", message.res_status);
ogs_sbi_message_free(&message);
ogs_sbi_response_free(response);

View File

@ -280,6 +280,7 @@ void smf_nf_state_registered(ogs_fsm_t *s, smf_event_t *e)
break;
case SMF_TIMER_NF_INSTANCE_NO_HEARTBEAT:
ogs_error("[%s] No heartbeat", nf_instance->id);
OGS_FSM_TRAN(s, &smf_nf_state_will_register);
break;

View File

@ -440,10 +440,6 @@ void smf_state_operational(ogs_fsm_t *s, smf_event_t *e)
e->sbi.message = &sbi_message;
ogs_fsm_dispatch(&nf_instance->sm, e);
if (OGS_FSM_CHECK(&nf_instance->sm, smf_nf_state_exception)) {
ogs_warn("State machine exception");
}
break;
CASE(OGS_SBI_RESOURCE_NAME_SUBSCRIPTIONS)

View File

@ -279,6 +279,7 @@ void udm_nf_state_registered(ogs_fsm_t *s, udm_event_t *e)
break;
case UDM_TIMER_NF_INSTANCE_NO_HEARTBEAT:
ogs_error("[%s] No heartbeat", nf_instance->id);
OGS_FSM_TRAN(s, &udm_nf_state_will_register);
break;

View File

@ -232,10 +232,6 @@ void udm_state_operational(ogs_fsm_t *s, udm_event_t *e)
e->sbi.message = &message;
ogs_fsm_dispatch(&nf_instance->sm, e);
if (OGS_FSM_CHECK(&nf_instance->sm, udm_nf_state_exception)) {
ogs_warn("[%s] State machine exception", nf_instance->id);
}
break;
CASE(OGS_SBI_RESOURCE_NAME_SUBSCRIPTIONS)

View File

@ -279,6 +279,7 @@ void udr_nf_state_registered(ogs_fsm_t *s, udr_event_t *e)
break;
case UDR_TIMER_NF_INSTANCE_NO_HEARTBEAT:
ogs_error("[%s] No heartbeat", nf_instance->id);
OGS_FSM_TRAN(s, &udr_nf_state_will_register);
break;

View File

@ -210,10 +210,6 @@ void udr_state_operational(ogs_fsm_t *s, udr_event_t *e)
e->sbi.message = &message;
ogs_fsm_dispatch(&nf_instance->sm, e);
if (OGS_FSM_CHECK(&nf_instance->sm, udr_nf_state_exception)) {
ogs_warn("[%s] State machine exception", nf_instance->id);
}
break;
CASE(OGS_SBI_RESOURCE_NAME_SUBSCRIPTIONS)