Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
Openxg Stateless Compose
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 Stateless Compose
Commits
63c8ec03
Commit
63c8ec03
authored
Mar 08, 2022
by
Luhan Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update udsf mysql config, and pull udsf from docker hu
parent
a990d436
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
132 additions
and
29 deletions
+132
-29
docker-stateless.yaml
docker-stateless.yaml
+27
-22
etc/amf.conf
etc/amf.conf
+1
-1
etc/gnb.yaml
etc/gnb.yaml
+23
-0
etc/init/create_db_for_udr.sql
etc/init/create_db_for_udr.sql
+5
-4
etc/ue.yaml
etc/ue.yaml
+72
-0
pullimages.sh
pullimages.sh
+4
-2
No files found.
docker-stateless.yaml
View file @
63c8ec03
...
@@ -84,7 +84,7 @@ services:
...
@@ -84,7 +84,7 @@ services:
stateless-amf
:
stateless-amf
:
image
:
registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:amf-cmcc-v2
image
:
hogostan/openxg-udsf:1.0
container_name
:
stateless-amf
container_name
:
stateless-amf
restart
:
always
restart
:
always
logging
:
logging
:
...
@@ -130,6 +130,7 @@ services:
...
@@ -130,6 +130,7 @@ services:
stateless-spgw
:
stateless-spgw
:
image
:
registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:spgwu-cmcc-v2
image
:
registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:spgwu-cmcc-v2
container_name
:
stateless-spgwu
container_name
:
stateless-spgwu
privileged
:
true
restart
:
always
restart
:
always
logging
:
logging
:
driver
:
"
json-file"
driver
:
"
json-file"
...
@@ -149,27 +150,6 @@ services:
...
@@ -149,27 +150,6 @@ services:
openxg
:
openxg
:
ipv4_address
:
10.244.2.18
ipv4_address
:
10.244.2.18
# stateless-rise:
# image: openxg-rise:1.0
# container_name: stateless-rise
# restart: always
# logging:
# driver: "json-file"
# options:
# max-size: "1m"
# depends_on:
# - stateless-amf
# volumes:
# - ./etc:/etc/openxg/
# command:
# - /bin/bash
# - -c
# - |
# /gnb-sbi-plugin/build/PLUGIN/plugin -c /etc/openxg/plugin.conf -o > /var/log/rise.log
# #/amf/build/amf/build/amf -c /etc/amf.conf -o > /var/amf.log
# networks:
# openxg:
# ipv4_address: 10.244.1.20
stateless-udsf
:
stateless-udsf
:
image
:
registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:udsf-cmcc-v2
image
:
registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:udsf-cmcc-v2
...
@@ -190,6 +170,31 @@ services:
...
@@ -190,6 +170,31 @@ services:
networks
:
networks
:
openxg
:
openxg
:
ipv4_address
:
10.244.1.16
ipv4_address
:
10.244.1.16
stateless-rise
:
image
:
openxg-rise:1.0
container_name
:
stateless-rise
restart
:
always
logging
:
driver
:
"
json-file"
options
:
max-size
:
"
1m"
depends_on
:
-
stateless-amf
volumes
:
-
./etc:/etc/openxg/
command
:
-
/bin/bash
-
-c
-
|
/gnb-sbi-plugin/build/PLUGIN/plugin -c /etc/openxg/plugin.conf -o > /var/log/rise.log
#/amf/build/amf/build/amf -c /etc/amf.conf -o > /var/amf.log
networks
:
openxg
:
ipv4_address
:
10.244.1.20
networks
:
networks
:
openxg
:
openxg
:
external
:
true
external
:
true
...
...
etc/amf.conf
View file @
63c8ec03
...
@@ -80,7 +80,7 @@ AMF =
...
@@ -80,7 +80,7 @@ AMF =
};
};
RISE
:
RISE
:
{
{
IPV4_ADDRESS
=
"10.
103.238.21
0"
;
IPV4_ADDRESS
=
"10.
244.1.2
0"
;
PORT
=
8282
;
# YOUR NETWORK CONFIG HERE
PORT
=
8282
;
# YOUR NETWORK CONFIG HERE
};
};
NRF
:
NRF
:
...
...
etc/gnb.yaml
0 → 100644
View file @
63c8ec03
mcc
:
'
460'
# Mobile Country Code value
mnc
:
'
11'
# Mobile Network Code value (2 or 3 digits)
nci
:
'
0x000000010'
# NR Cell Identity (36-bit)
idLength
:
32
# NR gNB ID length in bits [22...32]
tac
:
100
# Tracking Area Code
linkIp
:
127.0.0.1
# gNB's local IP address for Radio Link Simulation (Usually same with local IP)
ngapIp
:
10.244.1.21
# gNB's local IP address for N2 Interface (Usually same with local IP)
gtpIp
:
10.244.1.21
# gNB's local IP address for N3 Interface (Usually same with local IP)
# List of AMF address information
amfConfigs
:
-
address
:
10.244.1.20
port
:
38412
# List of supported S-NSSAIs by this gNB
slices
:
-
sst
:
1
sd
:
0
# Indicates whether or not SCTP stream number errors should be ignored.
ignoreStreamIds
:
true
etc/init/create_db_for_udr.sql
View file @
63c8ec03
...
@@ -22,10 +22,11 @@ SET time_zone = "+00:00";
...
@@ -22,10 +22,11 @@ SET time_zone = "+00:00";
-- Database: `witcomm`
-- Database: `witcomm`
--
--
create
database
if
not
exists
amfdata
;
drop
database
if
exists
amfdata
;
-- drop database if exists OPENXG;
create
database
amfdata
;
-- CREATE DATABASE OPENXG;
create
datebase
if
not
exists
OPENXG
;
drop
database
if
exists
OPENXG
;
CREATE
DATABASE
OPENXG
;
USE
OPENXG
;
USE
OPENXG
;
-- --------------------------------------------------------
-- --------------------------------------------------------
...
...
etc/ue.yaml
0 → 100644
View file @
63c8ec03
# IMSI number of the UE. IMSI = [MCC|MNC|MSISDN] (In total 15 digits)
supi
:
'
imsi-460110123456789'
# Mobile Country Code value of HPLMN
mcc
:
'
460'
# Mobile Network Code value of HPLMN (2 or 3 digits)
mnc
:
'
11'
# Permanent subscription key
key
:
'
00112233445566778899aabbccddeeff'
# Operator code (OP or OPC) of the UE
op
:
'
000102030405060708090a0b0c0d0e0f'
# This value specifies the OP type and it can be either 'OP' or 'OPC'
opType
:
'
OPC'
# Authentication Management Field (AMF) value
amf
:
'
9001'
# IMEI number of the device. It is used if no SUPI is provided
imei
:
'
356938035643803'
# IMEISV number of the device. It is used if no SUPI and IMEI is provided
imeiSv
:
'
4370816125816151'
# List of gNB IP addresses for Radio Link Simulation
gnbSearchList
:
-
127.0.0.1
# UAC Access Identities Configuration
uacAic
:
mps
:
false
mcs
:
false
# UAC Access Control Class
uacAcc
:
normalClass
:
0
class11
:
false
class12
:
false
class13
:
false
class14
:
false
class15
:
false
# Initial PDU sessions to be established
sessions
:
-
type
:
'
IPv4'
apn
:
'
internet'
slice
:
sst
:
1
sd
:
0
# Configured NSSAI for this UE by HPLMN
configured-nssai
:
-
sst
:
1
sd
:
0
# Default Configured NSSAI for this UE
default-nssai
:
-
sst
:
1
sd
:
0
# Supported integrity algorithms by this UE
integrity
:
IA1
:
true
IA2
:
true
IA3
:
true
# Supported encryption algorithms by this UE
ciphering
:
EA1
:
true
EA2
:
true
EA3
:
true
# Integrity protection maximum data rate for user plane
integrityMaxRate
:
uplink
:
'
full'
downlink
:
'
full'
pullimages.sh
View file @
63c8ec03
#!/bin/bash
#!/bin/bash
mkdir
-p
docker-mysql
sudo
docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:amf-cmcc-v2
sudo
docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:amf-cmcc-v2
sudo
docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:smf-cmcc-v2
sudo
docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:smf-cmcc-v2
sudo
docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:ausf-cmcc-v2
sudo
docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:ausf-cmcc-v2
sudo
docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:udm-cmcc-v2
sudo
docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:udm-cmcc-v2
sudo
docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:udr-cmcc-v2
sudo
docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:udr-cmcc-v2
sudo
docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:spgwu-cmcc-v2
sudo
docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:spgwu-cmcc-v2
sudo
docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:udsf-cmcc-v2
sudo
docker pull hogostan/openxg-udsf:1.0
sudo
docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:mysql-v3
sudo
docker pull mysql/mysql-server:5.7
sudo
docker pull hogostan/ueransim:1.0
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