Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UPF
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-UPF
Commits
56c460de
Unverified
Commit
56c460de
authored
Mar 31, 2021
by
Rohan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docker-compose update
parent
6275f772
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
37 deletions
+53
-37
scripts/tests/docker-compose.yml
scripts/tests/docker-compose.yml
+53
-37
No files found.
scripts/tests/docker-compose.yml
View file @
56c460de
...
@@ -6,7 +6,7 @@ services:
...
@@ -6,7 +6,7 @@ services:
container_name
:
mysql
container_name
:
mysql
networks
:
networks
:
public_net
:
public_net
:
ipv4_address
:
192.168.
61
.200
ipv4_address
:
192.168.
74
.200
environment
:
environment
:
MYSQL_ROOT_PASSWORD
:
'
linux'
MYSQL_ROOT_PASSWORD
:
'
linux'
volumes
:
volumes
:
...
@@ -18,7 +18,7 @@ services:
...
@@ -18,7 +18,7 @@ services:
privileged
:
true
privileged
:
true
networks
:
networks
:
public_net
:
public_net
:
ipv4_address
:
192.168.
61
.196
ipv4_address
:
192.168.
74
.196
environment
:
environment
:
INSTANCE
:
1
INSTANCE
:
1
PID_DIRECTORY
:
/var/run
PID_DIRECTORY
:
/var/run
...
@@ -30,13 +30,13 @@ services:
...
@@ -30,13 +30,13 @@ services:
DEFAULT_DNS_IPV4_ADDRESS
:
8.8.8.8
DEFAULT_DNS_IPV4_ADDRESS
:
8.8.8.8
DEFAULT_DNS_SEC_IPV4_ADDRESS
:
8.8.4.4
DEFAULT_DNS_SEC_IPV4_ADDRESS
:
8.8.4.4
UE_IP_ADDRESS_POOL
:
'
10.1.1.2
-
10.1.1.200'
UE_IP_ADDRESS_POOL
:
'
10.1.1.2
-
10.1.1.200'
AMF_IPV4_ADDRESS
:
192.168.
61
.195
AMF_IPV4_ADDRESS
:
192.168.
74
.195
AMF_PORT
:
80
AMF_PORT
:
80
AMF_API_VERSION
:
v1
AMF_API_VERSION
:
v1
UDM_IPV4_ADDRESS
:
192.168.
61
.194
UDM_IPV4_ADDRESS
:
192.168.
74
.194
UDM_PORT
:
80
UDM_PORT
:
80
UDM_API_VERSION
:
v1
UDM_API_VERSION
:
v1
UPF_IPV4_ADDRESS
:
192.168.
61
.202
UPF_IPV4_ADDRESS
:
192.168.
74
.202
USE_NETWORK_INSTANCE
:
'
yes'
USE_NETWORK_INSTANCE
:
'
yes'
DISCOVER_UPF
:
'
no'
DISCOVER_UPF
:
'
no'
NRF_API_VERSION
:
'
v1'
NRF_API_VERSION
:
'
v1'
...
@@ -49,7 +49,7 @@ services:
...
@@ -49,7 +49,7 @@ services:
timeout
:
5s
timeout
:
5s
retries
:
5
retries
:
5
extra_hosts
:
extra_hosts
:
-
"
gw1.vppupf.node.5gcn.mnc95.mcc208.3gppnetwork.org:192.168.
61
.202"
-
"
gw1.vppupf.node.5gcn.mnc95.mcc208.3gppnetwork.org:192.168.
74
.202"
oai-amf
:
oai-amf
:
image
:
oai-amf:develop
image
:
oai-amf:develop
...
@@ -57,7 +57,7 @@ services:
...
@@ -57,7 +57,7 @@ services:
privileged
:
true
privileged
:
true
networks
:
networks
:
public_net
:
public_net
:
ipv4_address
:
192.168.
61
.195
ipv4_address
:
192.168.
74
.195
environment
:
environment
:
INSTANCE
:
1
INSTANCE
:
1
PID_DIRECTORY
:
/var/run
PID_DIRECTORY
:
/var/run
...
@@ -83,19 +83,19 @@ services:
...
@@ -83,19 +83,19 @@ services:
SMF_SELECTION
:
'
no'
SMF_SELECTION
:
'
no'
SMF_INSTANCE_ID_0
:
1
SMF_INSTANCE_ID_0
:
1
SMF_INSTANCE_ID_1
:
2
SMF_INSTANCE_ID_1
:
2
SMF_IPV4_ADDR_0
:
192.168.
61
.196
SMF_IPV4_ADDR_0
:
192.168.
74
.196
SMF_IPV4_ADDR_1
:
127.0.0.1
SMF_IPV4_ADDR_1
:
127.0.0.1
SMF_HTTP_VERSION_0
:
v1
SMF_HTTP_VERSION_0
:
v1
SMF_HTTP_VERSION_1
:
v1
SMF_HTTP_VERSION_1
:
v1
AMF_INTERFACE_NAME_FOR_NGAP
:
eth0
AMF_INTERFACE_NAME_FOR_NGAP
:
eth0
AMF_INTERFACE_NAME_FOR_N11
:
eth0
AMF_INTERFACE_NAME_FOR_N11
:
eth0
AUSF_IPV4_ADDRESS
:
192.168.
61
.205
AUSF_IPV4_ADDRESS
:
192.168.
74
.205
AUSF_API_VERSION
:
'
v1'
AUSF_API_VERSION
:
'
v1'
AUSF_PORT
:
80
AUSF_PORT
:
80
NRF_IPV4_ADDRESS
:
192.168.
61
.206
NRF_IPV4_ADDRESS
:
192.168.
74
.206
NRF_API_VERSION
:
'
v1'
NRF_API_VERSION
:
'
v1'
NRF_PORT
:
80
NRF_PORT
:
80
MYSQL_SERVER
:
192.168.
61
.200
MYSQL_SERVER
:
192.168.
74
.200
MYSQL_USER
:
'
root'
MYSQL_USER
:
'
root'
MYSQL_PASS
:
'
linux'
MYSQL_PASS
:
'
linux'
MYSQL_DB
:
'
oai_db'
MYSQL_DB
:
'
oai_db'
...
@@ -113,11 +113,11 @@ services:
...
@@ -113,11 +113,11 @@ services:
container_name
:
oai-vpp-upf
container_name
:
oai-vpp-upf
networks
:
networks
:
public_net_access
:
public_net_access
:
ipv4_address
:
192.168.
62
.197
ipv4_address
:
192.168.
75
.197
public_net
:
public_net
:
ipv4_address
:
192.168.
61
.197
ipv4_address
:
192.168.
74
.197
public_net_sgi_lan
:
public_net_sgi_lan
:
ipv4_address
:
192.168.
63
.197
ipv4_address
:
192.168.
76
.197
environment
:
environment
:
NWI_CORE
:
"
core.oai"
NWI_CORE
:
"
core.oai"
NWI_ACCESS
:
"
access.oai"
NWI_ACCESS
:
"
access.oai"
...
@@ -128,17 +128,14 @@ services:
...
@@ -128,17 +128,14 @@ services:
MCC
:
"
208"
MCC
:
"
208"
REALM
:
"
3gppnetwork.org"
REALM
:
"
3gppnetwork.org"
NETWORK_UE_IP
:
"
12.1.1.0/24"
NETWORK_UE_IP
:
"
12.1.1.0/24"
N3_IPV4_ADDRESS_REMOTE
:
"
192.168.
62
.198"
N3_IPV4_ADDRESS_REMOTE
:
"
192.168.
75
.198"
N3_IPV4_ADDRESS_LOCAL
:
"
192.168.
62
.202"
N3_IPV4_ADDRESS_LOCAL
:
"
192.168.
75
.202"
N4_IPV4_ADDRESS_REMOTE
:
"
192.168.
61
.196"
N4_IPV4_ADDRESS_REMOTE
:
"
192.168.
74
.196"
N4_IPV4_ADDRESS_LOCAL
:
"
192.168.
61
.202"
N4_IPV4_ADDRESS_LOCAL
:
"
192.168.
74
.202"
N6_IPV4_ADDRESS_REMOTE
:
"
192.168.
63
.205"
N6_IPV4_ADDRESS_REMOTE
:
"
192.168.
76
.205"
N6_IPV4_ADDRESS_LOCAL
:
"
192.168.
63
.202"
N6_IPV4_ADDRESS_LOCAL
:
"
192.168.
76
.202"
VPP_MAIN_CORE
:
0
VPP_MAIN_CORE
:
0
VPP_CORE_WORKER
:
1
VPP_CORE_WORKER
:
1
# volumes:
# - ../entrypoint.sh:/openair-upf/bin/entrypoint.sh
# entrypoint: /bin/bash -c "./bin/entrypoint.sh; ./run.sh"
oai-spgwu
:
oai-spgwu
:
image
:
oai-spgwu-tiny:gtp_ext_header
image
:
oai-spgwu-tiny:gtp_ext_header
...
@@ -146,14 +143,14 @@ services:
...
@@ -146,14 +143,14 @@ services:
container_name
:
oai-spgwu
container_name
:
oai-spgwu
networks
:
networks
:
public_net
:
public_net
:
ipv4_address
:
192.168.
61
.199
ipv4_address
:
192.168.
74
.199
environment
:
environment
:
INSTANCE
:
1
INSTANCE
:
1
PID_DIRECTORY
:
/var/run
PID_DIRECTORY
:
/var/run
SGW_INTERFACE_NAME_FOR_S1U_S12_S4_UP
:
"
eth0"
SGW_INTERFACE_NAME_FOR_S1U_S12_S4_UP
:
"
eth0"
SGW_INTERFACE_NAME_FOR_SX
:
"
eth0"
SGW_INTERFACE_NAME_FOR_SX
:
"
eth0"
PGW_INTERFACE_NAME_FOR_SGI
:
"
eth0"
PGW_INTERFACE_NAME_FOR_SGI
:
"
eth0"
SPGWC0_IP_ADDRESS
:
"
192.168.
61
.196"
SPGWC0_IP_ADDRESS
:
"
192.168.
74
.196"
NETWORK_UE_IP
:
"
10.1.1.0/24"
NETWORK_UE_IP
:
"
10.1.1.0/24"
NETWORK_UE_NAT_OPTION
:
"
yes"
NETWORK_UE_NAT_OPTION
:
"
yes"
NRF_IPV4_ADDRESS
:
"
192.168.1.23"
NRF_IPV4_ADDRESS
:
"
192.168.1.23"
...
@@ -178,44 +175,63 @@ services:
...
@@ -178,44 +175,63 @@ services:
container_name
:
oai-nat
container_name
:
oai-nat
networks
:
networks
:
public_net
:
public_net
:
ipv4_address
:
192.168.
61
.205
ipv4_address
:
192.168.
74
.205
public_net_sgi_lan
:
public_net_sgi_lan
:
ipv4_address
:
192.168.
63
.205
ipv4_address
:
192.168.
76
.205
entrypoint
:
/bin/bash -c \
entrypoint
:
/bin/bash -c \
"apt update; apt install -y iptables iproute2 iputils-ping net-tools python iperf3;"\
"apt update; apt install -y iptables iproute2 iputils-ping net-tools python iperf3;"\
"iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE;"\
"iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE;"\
"ip route add 10.1.1.0/24 via 192.168.
61
.199 dev eth0;"\
"ip route add 10.1.1.0/24 via 192.168.
74
.199 dev eth0;"\
"ip route add 12.1.1.0/24 via 192.168.
63
.201 dev eth1; sleep infinity"
"ip route add 12.1.1.0/24 via 192.168.
76
.201 dev eth1; sleep infinity"
gnbsim
:
gnbsim
:
image
:
gnbsim:latest
image
:
gnbsim:latest
privileged
:
true
privileged
:
true
container_name
:
gnbsim
container_name
:
gnbsim
environment
:
environment
:
AMF_NGAP_IPV4_ADDRESS
:
192.168.61.195
MCC
:
208
MNC
:
95
GNBID
:
1
TAC
:
'
0x00a000'
SST
:
'
222'
SD
:
'
010203'
SD_UE_PARAM
:
'
00007b'
PagingDRX
:
'
v32'
RANUENGAPID
:
0
IMEISV
:
'
35609204079514'
MSIN
:
'
0000000031'
RoutingIndicator
:
1234
ProtectionScheme
:
'
null'
KEY
:
'
0C0A34601D4F07677303652C0462535B'
OPc
:
'
63bfa50ee6523365ff14c1f45f88737d'
DNN
:
'
default'
URL
:
'
http://192.168.76.205:8000'
NRCellID
:
1
NGAPPeerAddr
:
'
192.168.74.195'
GTPuLocalAddr
:
'
192.168.75.198'
GTPuIFname
:
'
eth0'
networks
:
networks
:
public_net
:
public_net
:
ipv4_address
:
192.168.
61
.198
ipv4_address
:
192.168.
74
.198
public_net_access
:
public_net_access
:
ipv4_address
:
192.168.
62
.198
ipv4_address
:
192.168.
75
.198
volumes
:
volumes
:
-
./lib/modules/5.8.0-43-generic/kernel/drivers/net/gtp.ko:/lib/modules/5.8.0-43-generic/kernel/drivers/net/gtp.ko
-
./lib/modules/5.8.0-43-generic/kernel/drivers/net/gtp.ko:/lib/modules/5.8.0-43-generic/kernel/drivers/net/gtp.ko
entrypoint
:
/bin/bash -c "sleep infinity"
networks
:
networks
:
public_net
:
public_net
:
name
:
oai-public-net
name
:
oai-public-net
ipam
:
ipam
:
config
:
config
:
-
subnet
:
192.168.
61
.0/24
-
subnet
:
192.168.
74
.0/24
public_net_access
:
public_net_access
:
name
:
oai-public-access
name
:
oai-public-access
ipam
:
ipam
:
config
:
config
:
-
subnet
:
192.168.
62
.0/24
-
subnet
:
192.168.
75
.0/24
public_net_sgi_lan
:
public_net_sgi_lan
:
name
:
oai-public-sgi-lan
name
:
oai-public-sgi-lan
ipam
:
ipam
:
config
:
config
:
-
subnet
:
192.168.
63
.0/24
-
subnet
:
192.168.
76
.0/24
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