Difference between revisions of "Open5gs: Menambahkan subscriber via CLI"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
| Line 1: | Line 1: | ||
Sumber: https://github.com/open5gs/open5gs/blob/main/misc/db/open5gs-dbctl | Sumber: https://github.com/open5gs/open5gs/blob/main/misc/db/open5gs-dbctl | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | mongo | ||
| + | |||
| + | use open5gs | ||
| + | db.subscribers.find().pretty() | ||
| + | |||
| + | { | ||
| + | "_id" : ObjectId("609715fda08851a0744e6ae7"), | ||
| + | "imsi" : "901700000021309", | ||
| + | "__v" : 0, | ||
| + | "access_restriction_data" : 32, | ||
| + | "ambr" : { | ||
| + | "downlink" : NumberLong(1024000), | ||
| + | "uplink" : NumberLong(1024000) | ||
| + | }, | ||
| + | "network_access_mode" : 2, | ||
| + | "pdn" : [ | ||
| + | { | ||
| + | "apn" : "internet", | ||
| + | "_id" : ObjectId("609715fd455bcd38c884ce85"), | ||
| + | "pcc_rule" : [ ], | ||
| + | "ambr" : { | ||
| + | "downlink" : NumberLong(1024000), | ||
| + | "uplink" : NumberLong(1024000) | ||
| + | }, | ||
| + | "qos" : { | ||
| + | "qci" : 9, | ||
| + | "arp" : { | ||
| + | "priority_level" : 8, | ||
| + | "pre_emption_vulnerability" : 1, | ||
| + | "pre_emption_capability" : 0 | ||
| + | } | ||
| + | }, | ||
| + | "type" : 0 | ||
| + | } | ||
| + | ], | ||
| + | "security" : { | ||
| + | "k" : "70D49A71DD1A2B806A25ABE0EF749F1E", | ||
| + | "amf" : "8000", | ||
| + | "op" : null, | ||
| + | "opc" : "6F1BF53D624B3A43AF6592854E2444C7" | ||
| + | }, | ||
| + | "subscribed_rau_tau_timer" : 12, | ||
| + | "subscriber_status" : 0 | ||
| + | } | ||
Latest revision as of 10:52, 10 August 2023
Sumber: https://github.com/open5gs/open5gs/blob/main/misc/db/open5gs-dbctl
mongo
use open5gs db.subscribers.find().pretty()
{
"_id" : ObjectId("609715fda08851a0744e6ae7"),
"imsi" : "901700000021309",
"__v" : 0,
"access_restriction_data" : 32,
"ambr" : {
"downlink" : NumberLong(1024000),
"uplink" : NumberLong(1024000)
},
"network_access_mode" : 2,
"pdn" : [
{
"apn" : "internet",
"_id" : ObjectId("609715fd455bcd38c884ce85"),
"pcc_rule" : [ ],
"ambr" : {
"downlink" : NumberLong(1024000),
"uplink" : NumberLong(1024000)
},
"qos" : {
"qci" : 9,
"arp" : {
"priority_level" : 8,
"pre_emption_vulnerability" : 1,
"pre_emption_capability" : 0
}
},
"type" : 0
}
],
"security" : {
"k" : "70D49A71DD1A2B806A25ABE0EF749F1E",
"amf" : "8000",
"op" : null,
"opc" : "6F1BF53D624B3A43AF6592854E2444C7"
},
"subscribed_rau_tau_timer" : 12,
"subscriber_status" : 0
}
Referensi