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
da25703a
Commit
da25703a
authored
May 25, 2022
by
chen2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
beifen20220525
parent
de5cad1c
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
95 additions
and
40 deletions
+95
-40
docker/docker-mysql.yml
docker/docker-mysql.yml
+0
-2
docker/docker-stateless.yml
docker/docker-stateless.yml
+13
-2
docker/docker-ueransim2.yml
docker/docker-ueransim2.yml
+37
-0
docker/green-install-packs/etc/000-default.conf
docker/green-install-packs/etc/000-default.conf
+0
-32
docker/green-install-packs/etc/gnb2.yaml
docker/green-install-packs/etc/gnb2.yaml
+23
-0
docker/green-install-packs/etc/work/shell.sh
docker/green-install-packs/etc/work/shell.sh
+1
-1
etc/init/create_db_for_udr.sql
etc/init/create_db_for_udr.sql
+21
-3
No files found.
docker/docker-mysql.yml
View file @
da25703a
...
...
@@ -34,8 +34,6 @@ services:
max-size
:
"
100m"
depends_on
:
-
stateless-mysql
volumes
:
-
./green-install-packs/etc/000-default.conf:/etc/apache2/sites-enabled/000-default.conf
networks
:
openxg
:
aliases
:
...
...
docker/docker-stateless.yml
View file @
da25703a
...
...
@@ -35,8 +35,6 @@ services:
max-size
:
"
100m"
depends_on
:
-
stateless-mysql
volumes
:
-
./green-install-packs/etc/000-default.conf:/etc/apache2/sites-enabled/000-default.con
networks
:
openxg
:
aliases
:
...
...
@@ -280,7 +278,20 @@ services:
options
:
max-size
:
"
100m"
depends_on
:
-
stateless-mysql
-
stateless-udsf
-
stateless-plugin
-
stateless-udr
-
stateless-udm
-
stateless-ausf
-
stateless-amf1
-
stateless-amf2
-
stateless-amf3
-
stateless-amf4
-
stateless-amf5
-
stateless-smf1
-
stateless-smf2
networks
:
openxg
:
ipv4_address
:
10.244.2.18
...
...
docker/docker-ueransim2.yml
0 → 100755
View file @
da25703a
version
:
'
3.3'
services
:
stateless-ueransim2
:
#image: hogostan/ueransim:1.0
image
:
ueransim:v6.0
container_name
:
stateless-ueransim2
restart
:
always
privileged
:
true
logging
:
driver
:
"
json-file"
options
:
max-size
:
"
100m"
networks
:
openxg
:
ipv4_address
:
10.244.1.28
volumes
:
-
./green-install-packs/etc/gnb2.yaml:/etc/openxg/gnb2.yaml
-
./green-install-packs/etc/ue.yaml:/etc/openxg/ue.yaml
-
./green-install-packs/etc/work:/work
ports
:
-
"
1003:1003/tcp"
command
:
-
/bin/bash
-
-c
-
|
/etc/init.d/nginx stop
/etc/init.d/nginx start
/etc/init.d/php7.2-fpm stop
/etc/init.d/php7.2-fpm start
/UERANSIM-master/build/nr-gnb -c /etc/openxg/gnb2.yaml
networks
:
openxg
:
external
:
name
:
openxg-stateless
docker/green-install-packs/etc/000-default.conf
deleted
100644 → 0
View file @
de5cad1c
<
VirtualHost
*:
80
>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
ServerName
10
.
244
.
1
.
8
ServerAdmin
webmaster
@
localhost
DocumentRoot
/
var
/
www
/
html
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog
${
APACHE_LOG_DIR
}/
error
.
log
CustomLog
${
APACHE_LOG_DIR
}/
access
.
log
combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
</
VirtualHost
>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
docker/green-install-packs/etc/gnb2.yaml
0 → 100755
View file @
da25703a
mcc
:
'
460'
# Mobile Country Code value
mnc
:
'
11'
# Mobile Network Code value (2 or 3 digits)
nci
:
'
0x000000009'
# 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.28
# gNB's local IP address for N2 Interface (Usually same with local IP)
gtpIp
:
10.244.1.28
# 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
docker/green-install-packs/etc/work/shell.sh
View file @
da25703a
...
...
@@ -3,7 +3,7 @@
#第四种
/UERANSIM-master/build/nr-ue
-t
1000
-c
/etc/openxg/ue.yaml
-n
$1
/UERANSIM-master/build/nr-ue
-t
500
-c
/etc/openxg/ue.yaml
-n
$1
>
/dev/null 2>&1 &
...
...
etc/init/create_db_for_udr.sql
View file @
da25703a
...
...
@@ -231,7 +231,7 @@ CREATE TABLE `tp5_ue_state` (
`ueid`
varchar
(
20
)
CHARACTER
SET
utf8
NOT
NULL
,
`status`
varchar
(
45
)
CHARACTER
SET
utf8
NOT
NULL
,
`updatetime`
bigint
(
20
)
NOT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
ALTER
TABLE
`tp5_ue_state`
ADD
PRIMARY
KEY
(
`id`
);
...
...
@@ -247,10 +247,10 @@ COMMIT;
CREATE
TABLE
`tp5_cpu_data`
(
`id`
int
(
11
)
NOT
NULL
,
`cpu`
int
(
11
)
NOT
NULL
DEFAULT
'
0'
,
`cpu`
decimal
(
10
,
2
)
DEFAULT
'0.0
0'
,
`container_name`
varchar
(
45
)
DEFAULT
NULL
,
`addtime`
bigint
(
20
)
NOT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
ALTER
TABLE
`tp5_cpu_data`
ADD
PRIMARY
KEY
(
`id`
);
...
...
@@ -258,3 +258,21 @@ ALTER TABLE `tp5_cpu_data`
ALTER
TABLE
`tp5_cpu_data`
MODIFY
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
;
COMMIT
;
--
-- 表的结构 `tp5_amfnum_log`
--
CREATE
TABLE
`tp5_amfnum_log`
(
`id`
int
(
11
)
NOT
NULL
,
`addtime`
bigint
(
20
)
NOT
NULL
,
`content`
varchar
(
50
)
NOT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
ALTER
TABLE
`tp5_amfnum_log`
ADD
PRIMARY
KEY
(
`id`
);
ALTER
TABLE
`tp5_amfnum_log`
MODIFY
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
;
COMMIT
;
\ No newline at end of file
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