mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-01 21:00:19 +00:00
arch: DB schema Changes (#796)
- New function : NSSF - New feature : SMF selection
This commit is contained in:
parent
c6bfbed922
commit
9af4268bab
691 changed files with 40727 additions and 18985 deletions
|
|
@ -63,7 +63,7 @@ typedef struct test_context_s {
|
|||
struct {
|
||||
ogs_plmn_id_t plmn_id;
|
||||
int num_of_s_nssai;
|
||||
ogs_s_nssai_t s_nssai[OGS_MAX_NUM_OF_S_NSSAI];
|
||||
ogs_s_nssai_t s_nssai[OGS_MAX_NUM_OF_SLICE];
|
||||
} plmn_support[OGS_MAX_NUM_OF_PLMN];
|
||||
|
||||
/* Served EPC TAI */
|
||||
|
|
@ -304,7 +304,9 @@ typedef struct test_ue_s {
|
|||
ogs_nr_cgi_t nr_cgi;
|
||||
|
||||
uint8_t k[OGS_KEY_LEN];
|
||||
const char *k_string;
|
||||
uint8_t opc[OGS_KEY_LEN];
|
||||
const char *opc_string;
|
||||
|
||||
uint8_t rand[OGS_RAND_LEN];
|
||||
uint8_t autn[OGS_AUTN_LEN];
|
||||
|
|
@ -365,6 +367,16 @@ typedef struct test_ue_s {
|
|||
ogs_nas_ue_security_capability_t ue_security_capability;
|
||||
ogs_nas_ue_network_capability_t ue_network_capability;
|
||||
|
||||
struct {
|
||||
int num_of_s_nssai;
|
||||
ogs_nas_s_nssai_ie_t s_nssai[OGS_MAX_NUM_OF_SLICE];
|
||||
} requested_nssai, allowed_nssai;
|
||||
|
||||
struct {
|
||||
int num_of_s_nssai;
|
||||
ogs_nas_rejected_s_nssai_t s_nssai[OGS_MAX_NUM_OF_SLICE];
|
||||
} rejected_nssai;
|
||||
|
||||
test_initial_ue_param_t initial_ue_param;
|
||||
|
||||
test_registration_request_param_t registration_request_param;
|
||||
|
|
@ -483,6 +495,15 @@ test_bearer_t *test_bearer_find_by_ue_ebi(test_ue_t *test_ue, uint8_t ebi);
|
|||
|
||||
test_bearer_t *test_qos_flow_find_by_qfi(test_sess_t *sess, uint8_t qfi);
|
||||
|
||||
int test_db_insert_ue(test_ue_t *test_ue, bson_t *doc);
|
||||
int test_db_remove_ue(test_ue_t *test_ue);
|
||||
|
||||
bson_t *test_db_new_simple(test_ue_t *test_ue);
|
||||
bson_t *test_db_new_qos_flow(test_ue_t *test_ue);
|
||||
bson_t *test_db_new_session(test_ue_t *test_ue);
|
||||
bson_t *test_db_new_ims(test_ue_t *test_ue);
|
||||
bson_t *test_db_new_slice(test_ue_t *test_ue);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue