Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-Spgwu-Tiny-Simple
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
CommunityXG
OpenXG-Spgwu-Tiny-Simple
Commits
560b64e8
Commit
560b64e8
authored
Jan 14, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Pistache lib
parent
f4fb434c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
src/oai_spgwu/CMakeLists.txt
src/oai_spgwu/CMakeLists.txt
+1
-1
src/spgwu/spgwu_nrf.cpp
src/spgwu/spgwu_nrf.cpp
+1
-7
No files found.
src/oai_spgwu/CMakeLists.txt
View file @
560b64e8
...
...
@@ -300,5 +300,5 @@ ENDIF(STATIC_LINKING)
# folly glog dl double-conversion for FB folly library
target_link_libraries
(
spgwu
${
ASAN
}
-Wl,--start-group CN_UTILS SPGWU SPGW_SWITCH UDP GTPV1U PFCP 3GPP_COMMON_TYPES gflags glog dl double-conversion folly -Wl,--end-group
pthread m rt config++ event boost_system
pistache
curl
)
pthread m rt config++ event boost_system curl
)
src/spgwu/spgwu_nrf.cpp
View file @
560b64e8
...
...
@@ -32,10 +32,7 @@
#include <stdexcept>
#include <boost/uuid/random_generator.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <curl/curl.h>
#include <pistache/http.h>
#include <pistache/mime.h>
#include <nlohmann/json.hpp>
#include "itti.hpp"
...
...
@@ -43,9 +40,6 @@
#include "3gpp_29.510.h"
#include "spgwu_config.hpp"
using
namespace
Pistache
::
Http
;
using
namespace
Pistache
::
Http
::
Mime
;
using
namespace
spgwu
;
using
json
=
nlohmann
::
json
;
...
...
@@ -276,7 +270,7 @@ void spgwu_nrf::send_deregister_nf_instance(std::string& url) {
void
spgwu_nrf
::
generate_upf_profile
()
{
// generate UUID
generate_uuid
();
//TODO: get hardcoded values from configuration file
//
TODO: get hardcoded values from configuration file
upf_profile
.
set_nf_instance_id
(
upf_instance_id
);
upf_profile
.
set_nf_instance_name
(
"OAI-SMF"
);
upf_profile
.
set_nf_type
(
"SMF"
);
...
...
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