Commit 164d16cf authored by yangjian's avatar yangjian

add oai v1.5.0

parent 1c31be68
version: '3.3' version: '3.3'
services: services:
openxg-amf: openxg-amf:
image: openxgmaster/amf:v1.0 image: openxg5gc/openxg-amf:v1.5.1
container_name: amf container_name: amf
restart: always restart: always
logging: privileged: true
driver: "json-file" stdin_open: true
options: tty: true
max-size: "100m" logging:
networks: driver: "json-file"
openxg: options:
aliases: max-size: "1m"
- web_amf networks:
ipv4_address: 172.11.200.14 openxg:
command: ipv4_address: 172.11.200.14
- /bin/bash volumes:
- -c - ../etc/amf.template:/openxg-amf/etc/amf.template
- | environment:
cd /opt/5gc/amf/ - AMF_LOG_LEVEL=debug # Which to use debug/trace/info/warning/error/critical/off
./start.sh --no-ausf - MCC=466
volumes: - MNC=92
- ../etc/amf.conf:/opt/5gc/amf/external.conf - TAC=100
- AMF_NGAP_INTERFACE_NAME=eth0
- AMF_NGAP_IPV4_ADDRESS=read
- AMF_SBI_INTERFACE_NAME=eth0
- AMF_SBI_IPV4_ADDRESS=read
- AMF_SBI_HTTP1_PORT=8004
- SMF_SBI_ADDR=172.11.200.15
- SMF_SBI_HTTP1_PORT=8005
# MYSQL
- AMF_MySQL_SERVER_ADDR=172.11.200.10
- AMF_MySQL_USERNAME=root
- AMF_MySQL_PASSWORD=123456
- AMF_MySQL_DATABASE=Witcomm-DB
openxg-smf: openxg-smf:
image: openxgmaster/smf:v1.0 image: openxg5gc/openxg-smf:v1.5.1
container_name: smf container_name: smf
restart: always restart: always
logging: privileged: true
driver: "json-file" stdin_open: true
options: tty: true
max-size: "100m" logging:
networks: driver: "json-file"
openxg: options:
aliases: max-size: "100m"
- web_smf networks:
ipv4_address: 172.11.200.15 openxg:
volumes: ipv4_address: 172.11.200.15
- ../etc/smf.conf:/opt/5gc/smf/external.conf volumes:
- ../etc/smf.template:/openxg-smf/etc/smf.template
environment:
- SMF_LOG_LEVEL=debug # Which to use debug/trace/info/warning/error/critical/off
- SMF_N4_INTERFACE_NAME=eth0
- SMF_N4_IPV4_ADDRESS=read
- SMF_SBI_INTERFACE_NAME=eth0
- SMF_SBI_IPV4_ADDRESS=read
- SMF_SBI_HTTP1_PORT=8005
- AMF_SBI_IPV4_ADDRESS=172.11.200.14
- AMF_SBI_HTTP1_PORT=8004
openxg-spgwu: openxg-spgwu:
container_name: "spgwu" container_name: "spgwu"
image: openxg5gc/openxg-upf:v1.5.0 image: openxg5gc/openxg-upf:v1.5.1
privileged: true depends_on:
stdin_open: true - openxg-smf
tty: true restart: always
logging: privileged: true
driver: "json-file" stdin_open: true
options: tty: true
max-size: "1m" logging:
networks: driver: "json-file"
openxg: options:
ipv4_address: 172.11.200.25 max-size: "1m"
volumes: networks:
- ../etc/spgwu.template:/openxg-upf/etc/spgwu.template openxg:
environment: ipv4_address: 172.11.200.25
- UPF_LOG_LEVEL=debug # Which to use debug/trace/info/warning/error/critical/off volumes:
- SMF_N4_ADDR=172.11.200.15 - ../etc/spgwu.template:/openxg-upf/etc/spgwu.template
- PDN_NETWORK_IPV4=192.169.0.0/16 environment:
- S1U_INTERFACE_NAME=eth0 - UPF_LOG_LEVEL=debug # Which to use debug/trace/info/warning/error/critical/off
- S1U_IPV4_ADDRESS=read - SMF_N4_ADDR=172.11.200.15
- SX_INTERFACE_NAME=eth0 - PDN_NETWORK_IPV4=192.169.0.0/16
- SX_IPV4_ADDRESS=read - S1U_INTERFACE_NAME=eth0
- SGI_INTERFACE_NAME=eth0 - S1U_IPV4_ADDRESS=read
- SGI_IPV4_ADDRESS=read - SX_INTERFACE_NAME=eth0
# rate-limiting - SX_IPV4_ADDRESS=read
- IS_BANDWIDTH_LIMIT=no - SGI_INTERFACE_NAME=eth0
- MAX_BANDWIDTH=20mbit - SGI_IPV4_ADDRESS=read
- IUPF_BANDWIDTH=10mbit # rate-limiting
- DEFAULT_BANDWIDTH=5mbit - IS_BANDWIDTH_LIMIT=no
- MAX_BANDWIDTH=20mbit
- IUPF_BANDWIDTH=10mbit
- DEFAULT_BANDWIDTH=5mbit
networks: networks:
openxg: openxg:
name: docker-openxg name: docker-openxg
external: true external: true
version: '3.3' version: '3.3'
services: services:
openxg-amf: openxg-amf:
image: openxgmaster/amf:v1.0 image: openxg5gc/openxg-amf:v1.5.1
container_name: amf container_name: amf
restart: always restart: always
logging: privileged: true
driver: "json-file" stdin_open: true
options: tty: true
max-size: "100m" logging:
networks: driver: "json-file"
openxg: options:
aliases: max-size: "1m"
- web_amf networks:
ipv4_address: 172.11.200.14 openxg:
ports: ipv4_address: 172.11.200.14
- "38412:38412/sctp" ports:
command: - "38412:38412/sctp"
- /bin/bash volumes:
- -c - ../etc/amf.template:/openxg-amf/etc/amf.template
- | environment:
cd /opt/5gc/amf/ - AMF_LOG_LEVEL=debug # Which to use debug/trace/info/warning/error/critical/off
./start.sh --no-ausf - MCC=466
volumes: - MNC=92
- ../etc/amf.conf:/opt/5gc/amf/external.conf - TAC=100
- AMF_NGAP_INTERFACE_NAME=eth0
- AMF_NGAP_IPV4_ADDRESS=read
- AMF_SBI_INTERFACE_NAME=eth0
- AMF_SBI_IPV4_ADDRESS=read
- AMF_SBI_HTTP1_PORT=8004
- SMF_SBI_ADDR=172.11.200.15
- SMF_SBI_HTTP1_PORT=8005
# MYSQL
- AMF_MySQL_SERVER_ADDR=172.11.200.10
- AMF_MySQL_USERNAME=root
- AMF_MySQL_PASSWORD=123456
- AMF_MySQL_DATABASE=Witcomm-DB
openxg-smf: openxg-smf:
image: openxgmaster/smf:v1.0 image: openxg5gc/openxg-smf:v1.5.1
container_name: smf container_name: smf
restart: always restart: always
logging: privileged: true
driver: "json-file" stdin_open: true
options: tty: true
max-size: "100m" logging:
networks: driver: "json-file"
openxg: options:
aliases: max-size: "100m"
- web_smf networks:
ipv4_address: 172.11.200.15 openxg:
volumes: ipv4_address: 172.11.200.15
- ../etc/smf.conf:/opt/5gc/smf/external.conf volumes:
- ../etc/smf.template:/openxg-smf/etc/smf.template
environment:
- SMF_LOG_LEVEL=debug # Which to use debug/trace/info/warning/error/critical/off
- SMF_N4_INTERFACE_NAME=eth0
- SMF_N4_IPV4_ADDRESS=read
- SMF_SBI_INTERFACE_NAME=eth0
- SMF_SBI_IPV4_ADDRESS=read
- SMF_SBI_HTTP1_PORT=8005
- AMF_SBI_IPV4_ADDRESS=172.11.200.14
- AMF_SBI_HTTP1_PORT=8004
openxg-spgwu: openxg-spgwu:
container_name: "spgwu" container_name: "spgwu"
image: openxg5gc/openxg-upf:v1.5.0 image: openxg5gc/openxg-upf:v1.5.1
privileged: true depends_on:
stdin_open: true - openxg-smf
tty: true restart: always
logging: privileged: true
driver: "json-file" stdin_open: true
options: tty: true
max-size: "1m" logging:
networks: driver: "json-file"
openxg: options:
ipv4_address: 172.11.200.25 max-size: "1m"
ports: networks:
- "2152:2152/udp" openxg:
volumes: ipv4_address: 172.11.200.25
- ../etc/spgwu.template:/openxg-upf/etc/spgwu.template ports:
environment: - "2152:2152/udp"
- UPF_LOG_LEVEL=debug # Which to use debug/trace/info/warning/error/critical/off volumes:
- SMF_N4_ADDR=172.11.200.15 - ../etc/spgwu.template:/openxg-upf/etc/spgwu.template
- PDN_NETWORK_IPV4=192.169.0.0/16 environment:
- S1U_INTERFACE_NAME=eth0 - UPF_LOG_LEVEL=debug # Which to use debug/trace/info/warning/error/critical/off
- S1U_IPV4_ADDRESS=read - SMF_N4_ADDR=172.11.200.15
- SX_INTERFACE_NAME=eth0 - PDN_NETWORK_IPV4=192.169.0.0/16
- SX_IPV4_ADDRESS=read - S1U_INTERFACE_NAME=eth0
- SGI_INTERFACE_NAME=eth0 - S1U_IPV4_ADDRESS=read
- SGI_IPV4_ADDRESS=read - SX_INTERFACE_NAME=eth0
# rate-limiting - SX_IPV4_ADDRESS=read
- IS_BANDWIDTH_LIMIT=no - SGI_INTERFACE_NAME=eth0
- MAX_BANDWIDTH=20mbit - SGI_IPV4_ADDRESS=read
- IUPF_BANDWIDTH=10mbit # rate-limiting
- DEFAULT_BANDWIDTH=5mbit - IS_BANDWIDTH_LIMIT=no
- MAX_BANDWIDTH=20mbit
- IUPF_BANDWIDTH=10mbit
- DEFAULT_BANDWIDTH=5mbit
networks: networks:
openxg: openxg:
name: docker-openxg name: docker-openxg
external: true external: true
...@@ -18,16 +18,18 @@ ...@@ -18,16 +18,18 @@
# For more information about the OpenAirInterface (OAI) Software Alliance: # For more information about the OpenAirInterface (OAI) Software Alliance:
# contact@openairinterface.org # contact@openairinterface.org
################################################################################ ################################################################################
AMF = AMF =
{ {
INSTANCE_ID = 10; # 0 is the default INSTANCE_ID = 4; # 0 is the default
PID_DIRECTORY = "/var/run"; # /var/run is the default PID_DIRECTORY = "/var/run"; # /var/run is the default
AMF_NAME = "OAI-AMF"; AMF_NAME = "OPENXG-AMF";
LOG_LEVEL = "{{ env["AMF_LOG_LEVEL"] }}";
RELATIVE_CAPACITY = 50; RELATIVE_CAPACITY = 30;
# Display statistics about whole system (in seconds) # Display statistics about whole system (in seconds)
STATISTICS_TIMER_INTERVAL = 20; # YOUR CONFIG HERE STATISTICS_TIMER_INTERVAL = 20;
CORE_CONFIGURATION: CORE_CONFIGURATION:
{ {
...@@ -36,80 +38,110 @@ AMF = ...@@ -36,80 +38,110 @@ AMF =
GUAMI: GUAMI:
{ {
MCC = "466"; MNC = "92"; RegionID = "128"; AMFSetID = "4"; AMFPointer = "1" # YOUR GUAMI CONFIG HERE MCC = "{{ env["MCC"] }}"; MNC = "{{ env["MNC"] }}"; RegionID = "128"; AMFSetID = "4"; AMFPointer = "1"
} }
SERVED_GUAMI_LIST = ( SERVED_GUAMI_LIST = (
{MCC = "466"; MNC = "92"; RegionID = "128"; AMFSetID = "4"; AMFPointer = "1"} #48bits <MCC><MNC><RegionID><AMFSetID><AMFPointer> {MCC = "{{ env["MCC"] }}"; MNC = "{{ env["MNC"] }}"; RegionID = "128"; AMFSetID = "4"; AMFPointer = "0"} #48bits <MCC><MNC><RegionID><AMFSetID><AMFPointer>
); );
PLMN_SUPPORT_LIST = ( PLMN_SUPPORT_LIST = (
{ {
MCC = "466"; MNC = "92"; TAC = 100; # YOUR PLMN CONFIG HERE MCC = "{{ env["MCC"] }}"; MNC = "{{ env["MNC"] }}"; TAC = {{ env["TAC"] }};
SLICE_SUPPORT_LIST = ( SLICE_SUPPORT_LIST = (
{SST = "1"; SD = "none"} # YOUR NSSAI CONFIG HERE # {SST = "@SST_0@"; SD = "@SD_0@"},
# {SST = "@SST_1@"; SD = "@SD_1@"},
{SST = 1; SD = "0xFFFFFF"}
) )
} }
); );
INTERFACES: INTERFACES:
{ {
# AMF binded interface for N1/N2 interface (NGAP) # AMF binded interface for N1/N2 interface (NGAP)
NGAP_AMF: NGAP_AMF:
{ {
INTERFACE_NAME = "eth0"; # YOUR NETWORK CONFIG HERE INTERFACE_NAME = "{{ env["AMF_NGAP_INTERFACE_NAME"] }}";
IPV4_ADDRESS = "read"; IPV4_ADDRESS = "{{ env["AMF_NGAP_IPV4_ADDRESS"] }}";
PORT = 38412; # YOUR NETWORK CONFIG HERE PORT = 38412;
PPID = 60; # YOUR NETWORK CONFIG HERE PPID = 60;
};
# AMF binded interface for SBI (N11 (SMF)/N12 (AUSF), etc.)
SBI:
{
INTERFACE_NAME = "{{ env["AMF_SBI_INTERFACE_NAME"] }}";
IPV4_ADDRESS = "{{ env["AMF_SBI_IPV4_ADDRESS"] }}";
PORT = {{ env["AMF_SBI_HTTP1_PORT"] }};
API_VERSION = "v1";
HTTP2_PORT = 8404;
SMF_INSTANCES_POOL = (
{SMF_INSTANCE_ID = 5; IPV4_ADDRESS = "{{ env["SMF_SBI_ADDR"] }}"; PORT = {{ env["SMF_SBI_HTTP1_PORT"] }}; HTTP2_PORT = 8405, VERSION = "v1"; FQDN = "smf", SELECTED = "true"}
);
}; };
# AMF binded interface for Nausf interface
NAUSF: NRF :
{ {
INTERFACE_NAME = "eth0"; # YOUR NETWORK CONFIG HERE IPV4_ADDRESS = "127.0.0.10";
IPV4_ADDRESS = "172.11.200.13/24"; PORT = 8010; # Default: 80
PORT = 8383; # YOUR NETWORK CONFIG HERE API_VERSION = "v1";
#FQDN = "localhost";
}; };
# AMF binded interface for N11 AUSF :
N11:
{ {
INTERFACE_NAME = "eth0"; # YOUR NETWORK CONFIG HERE IPV4_ADDRESS = "127.0.0.4";
IPV4_ADDRESS = "read"; PORT = 8003; # Default: 80
PORT = 8282; # YOUR NETWORK CONFIG HERE API_VERSION = "v1";
#FQDN = "localhost";
};
SMF_INSTANCES_POOL = ( UDM :
{SMF_INSTANCE_ID = 1; IPV4_ADDRESS = "172.11.200.15"; PORT = "8889"; VERSION = "v1"; SELECTED = "true"}, # YOUR SMF CONFIG HERE {
{SMF_INSTANCE_ID = 2; IPV4_ADDRESS = "10.103.238.21"; PORT = "8181"; VERSION = "v1"; SELECTED = "false"} # YOUR SMF CONFIG HERE IPV4_ADDRESS = "127.0.0.3";
); PORT = 8002; # Default: 80
API_VERSION = "v2";
#FQDN = "localhost";
}; };
};
# NSSF :
# {
# IPV4_ADDRESS = "127.0.0.1";
# PORT = 80; # Default: 80
# API_VERSION = "v2";
# FQDN = "localhost"
# };
};
SUPPORT_FEATURES:
{
# STRING, {"yes", "no"},
NF_REGISTRATION = "no"; # Set to yes if AMF resgisters to an NRF
NRF_SELECTION = "no"; # Set to yes to enable NRF discovery and selection
EXTERNAL_NRF = "no"; # Set to yes if AMF works with an external NRF
SMF_SELECTION = "no"; # Set to yes to enable SMF discovery and selection
EXTERNAL_AUSF = "no"; # Set to yes if AMF works with an external AUSF
EXTERNAL_UDM = "no"; # Set to yes if AMF works with an external UDM
EXTERNAL_NSSF = "no"; # Set to yes if AMF works with an external NSSF
USE_FQDN_DNS = "no"; # Set to yes if AMF relies on a DNS to resolve NRF/SMF/UDM/AUSF's FQDN
USE_HTTP2 = "no"; # Set to yes to enable HTTP2 for AMF server
}
AUTHENTICATION: AUTHENTICATION:
{ {
## MySQL mandatory options ## MySQL mandatory options
MYSQL_server = "172.11.200.10"; # MySQL Server address MYSQL_server = "{{ env["AMF_MySQL_SERVER_ADDR"] }}"; # MySQL Server address
MYSQL_user = "root"; # Database server login MYSQL_user = "{{ env["AMF_MySQL_USERNAME"] }}"; # Database server login
MYSQL_pass = "123456"; # Database server password MYSQL_pass = "{{ env["AMF_MySQL_PASSWORD"] }}"; # Database server password
MYSQL_db = "Witcomm-DB"; # Your database name MYSQL_db = "{{ env["AMF_MySQL_DATABASE"] }}"; # Your database name
## OP
OPERATOR_key = "1006020f0a478bf6b699f15c062e42b3"; # OP key matching your database
RANDOM = "true"; RANDOM = "true";
}; };
NAS: NAS:
{ {
ORDERED_SUPPORTED_INTEGRITY_ALGORITHM_LIST = [ "NIA2" , "NIA1" , "NIA1" ]; ORDERED_SUPPORTED_INTEGRITY_ALGORITHM_LIST = [ "NIA2" , "NIA1" , "NIA0" ]; #Default [ "NIA0" , "NIA1" , "NIA2" ];
ORDERED_SUPPORTED_CIPHERING_ALGORITHM_LIST = [ "NEA0" , "NEA1" , "NEA2" ]; ORDERED_SUPPORTED_CIPHERING_ALGORITHM_LIST = [ "NEA0" , "NEA1" , "NEA2" ]; #Default [ "NEA0" , "NEA1" , "NEA2" ];
}; };
}; };
MODULES =
{
NGAP_MESSAGE = (
{MSG_NAME = "NGSetupRequest"; ProcedureCode = 21; TypeOfMessage = "initialMessage"}
);
};
This diff is collapsed.
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