Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
cn5g
oai-cn5g-smf
Commits
e98617cc
Commit
e98617cc
authored
Apr 09, 2020
by
Tien-Thinh Nguyen
Browse files
update conf/readme for testing SMF locally
parent
c2458685
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.txt
View file @
e98617cc
...
...
@@ -43,7 +43,7 @@ cd /oai-cn5g-smf/build/scripts
## Create configuration file for SMF
cd /oai-cn5g-smf/build/scripts
./smf_conf.sh
./smf_conf
_local
.sh
## launch SMF
sudo smf -c /usr/local/etc/oai/smf.conf -o
...
...
etc/smf.conf
View file @
e98617cc
...
...
@@ -119,17 +119,17 @@ SMF =
};
AMF
:
{
IPV4_ADDRESS
=
"@
SMF_
AMF_IPV4_ADDRESS@"
;
PORT
= @
SMF_
AMF_PORT
@;
IPV4_ADDRESS
=
"@AMF_IPV4_ADDRESS@"
;
PORT
= @
AMF_PORT
@;
};
UDM
:
{
IPV4_ADDRESS
=
"@
SMF_
UDM_IPV4_ADDRESS@"
;
PORT
= @
SMF_
UDM_PORT
@;
IPV4_ADDRESS
=
"@UDM_IPV4_ADDRESS@"
;
PORT
= @
UDM_PORT
@;
};
UPF_LIST
= (
{
IPV4_ADDRESS
=
"1
9
2.
168.160
.10
0
"
;}
{
IPV4_ADDRESS
=
"1
7
2.
55.55
.10
2
"
;}
);
};
...
...
src/test/amf_client/amf-client.cpp
View file @
e98617cc
...
...
@@ -203,7 +203,7 @@ void send_pdu_session_update_sm_context_establishment()
ENCODE_U8
(
buffer
+
size
,
0x00
,
size
);
ENCODE_U8
(
buffer
+
size
,
0x01
,
size
);
ENCODE_U8
(
buffer
+
size
,
0x00
,
size
);
ENCODE_U8
(
buffer
+
size
,
0x
00
,
size
);
ENCODE_U8
(
buffer
+
size
,
0x
3c
,
size
);
/*
...
...
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