Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-AMF
Commits
1ece6d38
Commit
1ece6d38
authored
Jul 16, 2021
by
Niuhaiwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add PDU send to smf port
parent
af72f3e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
etc/amf.conf
etc/amf.conf
+5
-5
src/amf-app/amf_n11.cpp
src/amf-app/amf_n11.cpp
+1
-1
No files found.
etc/amf.conf
View file @
1ece6d38
...
...
@@ -49,8 +49,8 @@ AMF =
{
MCC
=
"460"
;
MNC
=
"11"
;
TAC
=
100
;
# YOUR PLMN CONFIG HERE
SLICE_SUPPORT_LIST
= (
{
SST
=
"
222"
;
SD
=
"123"
},
# YOUR NSSAI CONFIG HERE
{
SST
=
"1"
;
SD
=
"12
"
}
# YOUR NSSAI CONFIG HERE
{
SST
=
"
1"
;
SD
=
"none"
}
# YOUR NSSAI CONFIG HERE
# {SST = "1"; SD = "none
"} # YOUR NSSAI CONFIG HERE
)
}
);
...
...
@@ -76,7 +76,7 @@ AMF =
SMF_INSTANCES_POOL
= (
{
SMF_INSTANCE_ID
=
1
;
IPV4_ADDRESS
=
"0.0.0.0"
;
PORT
=
"8889"
;
VERSION
=
"v1"
;
SELECTED
=
"
fals
e"
},
# YOUR SMF CONFIG HERE
{
SMF_INSTANCE_ID
=
1
;
IPV4_ADDRESS
=
"0.0.0.0"
;
PORT
=
"8889"
;
VERSION
=
"v1"
;
SELECTED
=
"
tru
e"
},
# YOUR SMF CONFIG HERE
{
SMF_INSTANCE_ID
=
2
;
IPV4_ADDRESS
=
"0.0.0.0"
;
PORT
=
"8181"
;
VERSION
=
"v1"
;
SELECTED
=
"false"
}
# YOUR SMF CONFIG HERE
);
};
...
...
@@ -102,9 +102,9 @@ AMF =
# STRING, {"yes", "no"},
NF_REGISTRATION
=
"yes"
;
# Set to yes if AMF resgisters to an NRF
SMF_SELECTION
=
"yes"
;
# Set to yes to enable SMF discovery and selection
EXTERNAL_AUSF
=
"
no
"
;
# Set to yes if AMF works with an external AUSF
EXTERNAL_AUSF
=
"
yes
"
;
# Set to yes if AMF works with an external AUSF
EXTERNAL_UDM
=
"no"
;
# Set to yes if AMF works with an external UDM
}
}
;
AUTHENTICATION
:
{
...
...
src/amf-app/amf_n11.cpp
View file @
1ece6d38
...
...
@@ -402,7 +402,7 @@ void amf_n11::handle_pdu_session_initial_request(
// TODO: Remove hardcoded values
std
::
string
remote_uri
=
smf_addr
+
"/nsmf-pdusession/"
+
smf_api_version
+
"/sm-contexts"
;
smf_addr
+
"
:8889"
+
"
/nsmf-pdusession/"
+
smf_api_version
+
"/sm-contexts"
;
nlohmann
::
json
pdu_session_establishment_request
;
pdu_session_establishment_request
[
"supi"
]
=
supi
.
c_str
();
pdu_session_establishment_request
[
"pei"
]
=
"imei-200000000000001"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment