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
c31c8eae
Commit
c31c8eae
authored
Mar 25, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add SPGWU conf file for testing purpose
parent
18f7171b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
src/test/upf/spgwu_conf.sh
src/test/upf/spgwu_conf.sh
+21
-0
No files found.
src/test/upf/spgwu_conf.sh
0 → 100755
View file @
c31c8eae
# prompt has been removed for easier Ctrl+C Ctrl+V
#sudo ifconfig eno1:sxu 172.55.55.102 up # SPGW-U SXab interface
sudo
ifconfig eno1:s1u 192.168.248.159 up
# SPGW-U S1U interface
INSTANCE
=
1
PREFIX
=
'/usr/local/etc/oai'
sudo mkdir
-m
0777
-p
$PREFIX
cp
../../etc/spgw_u.conf
$PREFIX
declare
-A
SPGWU_CONF
SPGWU_CONF[@INSTANCE@]
=
$INSTANCE
SPGWU_CONF[@PREFIX@]
=
$PREFIX
SPGWU_CONF[@PID_DIRECTORY@]
=
'/var/run'
SPGWU_CONF[@SGW_INTERFACE_NAME_FOR_S1U_S12_S4_UP@]
=
'eno1:s1u'
SPGWU_CONF[@SGW_INTERFACE_NAME_FOR_SX@]
=
'eno1:un4'
SPGWU_CONF[@SGW_INTERFACE_NAME_FOR_SGI@]
=
'eno1'
for
K
in
"
${
!SPGWU_CONF[@]
}
"
;
do
egrep
-lRZ
"
$K
"
$PREFIX
| xargs
-0
-l
sed
-i
-e
"s|
$K
|
${
SPGWU_CONF
[
$K
]
}
|g"
ret
=
$?
;
[[
ret
-ne
0
]]
&&
echo
"Tried to replace
$K
with
${
SPGWU_CONF
[
$K
]
}
"
done
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