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
9ad05eee
Commit
9ad05eee
authored
Jul 05, 2022
by
yangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify amf->smf: v2->v1
parent
a66f8ee0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/amf-app/amf_n11.cpp
src/amf-app/amf_n11.cpp
+2
-2
src/sbi/amf_server/api/N1N2MessageCollectionDocumentApi.h
src/sbi/amf_server/api/N1N2MessageCollectionDocumentApi.h
+1
-1
No files found.
src/amf-app/amf_n11.cpp
View file @
9ad05eee
...
...
@@ -358,7 +358,7 @@ void amf_n11::handle_pdu_session_initial_request(
// TODO: Remove hardcoded values
std
::
string
remote_uri
=
smf_addr
+
"/nsmf-pdusession/v
2
/sm-contexts"
;
// TODO
smf_addr
+
"/nsmf-pdusession/v
1
/sm-contexts"
;
// TODO
nlohmann
::
json
pdu_session_establishment_request
;
pdu_session_establishment_request
[
"supi"
]
=
supi
.
c_str
();
pdu_session_establishment_request
[
"pei"
]
=
"imei-200000000000001"
;
...
...
@@ -584,7 +584,7 @@ void amf_n11::curl_http_client(
curl_slist_free_all
(
headers
);
curl_easy_cleanup
(
curl
);
psc
.
get
()
->
smf_context_location
=
"/nsmf-pdusession/v
2
/sm-contexts/1"
;
// try to fix bugs for
"/nsmf-pdusession/v
1
/sm-contexts/1"
;
// try to fix bugs for
// no-response from SMF when
// requesting
// /nsmf-pdusession/v2/sm-contexts
...
...
src/sbi/amf_server/api/N1N2MessageCollectionDocumentApi.h
View file @
9ad05eee
...
...
@@ -43,7 +43,7 @@ class N1N2MessageCollectionDocumentApi {
virtual
~
N1N2MessageCollectionDocumentApi
()
{}
void
init
();
const
std
::
string
base
=
"/namf-comm/v
2
"
;
const
std
::
string
base
=
"/namf-comm/v
1
"
;
private:
void
setupRoutes
();
...
...
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