Commit 63c8ec03 authored by Luhan Wang's avatar Luhan Wang

update udsf mysql config, and pull udsf from docker hu

parent a990d436
......@@ -84,7 +84,7 @@ services:
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
restart: always
logging:
......@@ -130,6 +130,7 @@ services:
stateless-spgw:
image: registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:spgwu-cmcc-v2
container_name: stateless-spgwu
privileged: true
restart: always
logging:
driver: "json-file"
......@@ -149,27 +150,6 @@ services:
openxg:
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:
image: registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:udsf-cmcc-v2
......@@ -190,6 +170,31 @@ services:
networks:
openxg:
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:
openxg:
external: true
......
......@@ -80,7 +80,7 @@ AMF =
};
RISE:
{
IPV4_ADDRESS = "10.103.238.210";
IPV4_ADDRESS = "10.244.1.20";
PORT = 8282; # YOUR NETWORK CONFIG HERE
};
NRF :
......
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
......@@ -22,10 +22,11 @@ SET time_zone = "+00:00";
-- Database: `witcomm`
--
create database if not exists amfdata;
-- drop database if exists OPENXG;
-- CREATE DATABASE OPENXG;
create datebase if not exists OPENXG;
drop database if exists amfdata;
create database amfdata;
drop database if exists OPENXG;
CREATE DATABASE OPENXG;
USE OPENXG;
-- --------------------------------------------------------
......
# 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'
#!/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: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: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:spgwu-cmcc-v2
sudo docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:udsf-cmcc-v2
sudo docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:mysql-v3
sudo docker pull hogostan/openxg-udsf:1.0
sudo docker pull mysql/mysql-server:5.7
sudo docker pull hogostan/ueransim:1.0
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment