Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
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-SMF
Commits
a32a3995
Commit
a32a3995
authored
Mar 11, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update UDM/AMF for testing purpose
parent
4a62d885
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
336 additions
and
33 deletions
+336
-33
src/ngap/CMakeLists.txt_bak
src/ngap/CMakeLists.txt_bak
+0
-30
src/test/amf/api/N1N2MessageCollectionDocumentApi.h
src/test/amf/api/N1N2MessageCollectionDocumentApi.h
+1
-1
src/test/amf_client/CMakeLists.txt
src/test/amf_client/CMakeLists.txt
+13
-0
src/test/amf_client/amf-client.cpp
src/test/amf_client/amf-client.cpp
+320
-0
src/test/udm/impl/SessionManagementSubscriptionDataRetrievalApiImpl.cpp
...mpl/SessionManagementSubscriptionDataRetrievalApiImpl.cpp
+2
-2
No files found.
src/ngap/CMakeLists.txt_bak
deleted
100644 → 0
View file @
4a62d885
################################################################################
# Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The OpenAirInterface Software Alliance licenses this file to You under
# the OAI Public License, Version 1.1 (the "License"); you may not use this file
# except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.openairinterface.org/?page_id=698
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#-------------------------------------------------------------------------------
# For more information about the OpenAirInterface (OAI) Software Alliance:
# contact@openairinterface.org
################################################################################
#for NGAP_SMF_LAYTER
set(NGAP_SMF_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
include_directories(${SRC_TOP_DIR}/ngap)
file(GLOB NGAP_SMF_src_files
${SRC_TOP_DIR}/ngap/*.c
)
add_library(NGAP_SMF_LAYER ${NGAP_SMF_DIR}/ng_pdu_session_resource_setup_request.c ${NGAP_SMF_src_files} ${NETTLE_LIBRARIES} ${CRYPTO_LIBRARIES})
src/test/amf/api/N1N2MessageCollectionDocumentApi.h
View file @
a32a3995
...
@@ -44,7 +44,7 @@ public:
...
@@ -44,7 +44,7 @@ public:
virtual
~
N1N2MessageCollectionDocumentApi
()
{}
virtual
~
N1N2MessageCollectionDocumentApi
()
{}
void
init
();
void
init
();
const
std
::
string
base
=
"/namf-comm/v
1
"
;
const
std
::
string
base
=
"/namf-comm/v
2
"
;
private:
private:
void
setupRoutes
();
void
setupRoutes
();
...
...
src/test/amf_client/CMakeLists.txt
0 → 100644
View file @
a32a3995
cmake_minimum_required
(
VERSION 3.2
)
project
(
amf-client
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-std=c++17 -pg -g3"
)
file
(
GLOB SRCS
${
CMAKE_CURRENT_SOURCE_DIR
}
/*.cpp
)
add_executable
(
${
PROJECT_NAME
}
${
SRCS
}
)
target_link_libraries
(
${
PROJECT_NAME
}
pistache pthread curl
)
src/test/amf_client/amf-client.cpp
0 → 100644
View file @
a32a3995
This diff is collapsed.
Click to expand it.
src/test/udm/impl/SessionManagementSubscriptionDataRetrievalApiImpl.cpp
View file @
a32a3995
...
@@ -42,11 +42,11 @@ void SessionManagementSubscriptionDataRetrievalApiImpl::get_sm_data(const std::s
...
@@ -42,11 +42,11 @@ void SessionManagementSubscriptionDataRetrievalApiImpl::get_sm_data(const std::s
}
}
*/
*/
nlohmann
::
json
jsonData
;
nlohmann
::
json
jsonData
;
jsonData
[
"singleNssai"
][
"sst"
]
=
1
;
jsonData
[
"singleNssai"
][
"sst"
]
=
222
;
jsonData
[
"singleNssai"
][
"sd"
]
=
123
;
jsonData
[
"singleNssai"
][
"sd"
]
=
123
;
jsonData
[
"dnnConfigurations"
][
"default"
][
"pduSessionTypes"
][
"defaultSessionType"
]
=
"IPV4"
;
jsonData
[
"dnnConfigurations"
][
"default"
][
"pduSessionTypes"
][
"defaultSessionType"
]
=
"IPV4"
;
jsonData
[
"dnnConfigurations"
][
"default"
][
"sscModes"
][
"defaultSscMode"
]
=
"SSC_MODE_1"
;
jsonData
[
"dnnConfigurations"
][
"default"
][
"sscModes"
][
"defaultSscMode"
]
=
"SSC_MODE_1"
;
jsonData
[
"dnnConfigurations"
][
"default"
][
"5gQosProfile"
][
"5qi"
]
=
123
;
jsonData
[
"dnnConfigurations"
][
"default"
][
"5gQosProfile"
][
"5qi"
]
=
80
;
jsonData
[
"dnnConfigurations"
][
"default"
][
"5gQosProfile"
][
"arp"
][
"priorityLevel"
]
=
1
;
jsonData
[
"dnnConfigurations"
][
"default"
][
"5gQosProfile"
][
"arp"
][
"priorityLevel"
]
=
1
;
jsonData
[
"dnnConfigurations"
][
"default"
][
"5gQosProfile"
][
"arp"
][
"preemptCap"
]
=
"NOT_PREEMPT"
;
jsonData
[
"dnnConfigurations"
][
"default"
][
"5gQosProfile"
][
"arp"
][
"preemptCap"
]
=
"NOT_PREEMPT"
;
jsonData
[
"dnnConfigurations"
][
"default"
][
"5gQosProfile"
][
"arp"
][
"preemptVuln"
]
=
"NOT_PREEMPTABLE"
;
jsonData
[
"dnnConfigurations"
][
"default"
][
"5gQosProfile"
][
"arp"
][
"preemptVuln"
]
=
"NOT_PREEMPTABLE"
;
...
...
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