Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
lizhongxiao
OpenXG-RAN
Commits
f9d5c817
Commit
f9d5c817
authored
Feb 14, 2024
by
Jaroslava Fiedlerova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add xml files for basic OAICN5G deployment in docker
parent
adc0de85
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
81 additions
and
2 deletions
+81
-2
ci-scripts/epc.py
ci-scripts/epc.py
+4
-2
ci-scripts/xml_files/fr1_cn5g_basic_deploy.xml
ci-scripts/xml_files/fr1_cn5g_basic_deploy.xml
+39
-0
ci-scripts/xml_files/fr1_cn5g_basic_undeploy.xml
ci-scripts/xml_files/fr1_cn5g_basic_undeploy.xml
+38
-0
No files found.
ci-scripts/epc.py
View file @
f9d5c817
...
...
@@ -262,10 +262,12 @@ class EPCManagement():
logging
.
debug
(
'Starting OAI CN5G'
)
mySSH
.
command
(
'if [ -d '
+
self
.
SourceCodePath
+
'/scripts ]; then echo '
+
self
.
Password
+
' | sudo -S rm -Rf '
+
self
.
SourceCodePath
+
'/scripts ; fi'
,
'\$'
,
5
)
mySSH
.
command
(
'mkdir -p '
+
self
.
SourceCodePath
+
'/scripts'
,
'\$'
,
5
)
mySSH
.
command
(
'cd /opt/oai-cn5g-fed-v1.5
/docker-compose'
,
'\$'
,
5
)
mySSH
.
command
(
f'cd
{
self
.
SourceCodePath
}
/docker-compose'
,
'\$'
,
5
)
mySSH
.
command
(
'python3 ./core-network.py '
+
self
.
cfgDeploy
,
'\$'
,
60
)
if
re
.
search
(
'start-mini-as-ue'
,
self
.
cfgDeploy
):
dFile
=
'docker-compose-mini-nrf-asue.yaml'
elif
re
.
search
(
'basic'
,
self
.
cfgDeploy
):
dFile
=
'docker-compose-basic-nrf.yaml'
else
:
dFile
=
'docker-compose-mini-nrf.yaml'
mySSH
.
command
(
'docker-compose -f '
+
dFile
+
' ps -a'
,
'\$'
,
60
)
...
...
@@ -582,7 +584,7 @@ class EPCManagement():
mySSH
.
command
(
'docker logs '
+
c
+
' > '
+
self
.
SourceCodePath
+
'/logs/'
+
c
+
'.log'
,
'\$'
,
5
)
logging
.
debug
(
'Terminating OAI CN5G'
)
mySSH
.
command
(
'cd /opt/oai-cn5g-fed-v1.5
/docker-compose'
,
'\$'
,
5
)
mySSH
.
command
(
f'cd
{
self
.
SourceCodePath
}
/docker-compose'
,
'\$'
,
5
)
mySSH
.
command
(
'python3 ./core-network.py '
+
self
.
cfgUnDeploy
,
'\$'
,
60
)
mySSH
.
command
(
'docker volume prune --force || true'
,
'\$'
,
60
)
time
.
sleep
(
2
)
...
...
ci-scripts/xml_files/fr1_cn5g_basic_deploy.xml
0 → 100644
View file @
f9d5c817
<!--
Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The OpenAirInterface Software Alliance licenses this file to You under
the OAI Public License, Version 1.1 (the "License"); you may not use this file
except in compliance with the License.
You may obtain a copy of the License at
http://www.openairinterface.org/?page_id=698
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
For more information about the OpenAirInterface (OAI) Software Alliance:
contact@openairinterface.org
-->
<testCaseList>
<htmlTabRef>
cn5g-start-tab
</htmlTabRef>
<htmlTabName>
CN5G-Start
</htmlTabName>
<htmlTabIcon>
log-in
</htmlTabIcon>
<TestCaseRequestedList>
000100
000200
</TestCaseRequestedList>
<TestCaseExclusionList>
</TestCaseExclusionList>
<testCase
id=
"000200"
>
<class>
Initialize_5GCN
</class>
<desc>
Initialize 5G Core
</desc>
<args>
--type start-basic
</args>
</testCase>
</testCaseList>
ci-scripts/xml_files/fr1_cn5g_basic_undeploy.xml
0 → 100644
View file @
f9d5c817
<!--
Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The OpenAirInterface Software Alliance licenses this file to You under
the OAI Public License, Version 1.1 (the "License"); you may not use this file
except in compliance with the License.
You may obtain a copy of the License at
http://www.openairinterface.org/?page_id=698
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
For more information about the OpenAirInterface (OAI) Software Alliance:
contact@openairinterface.org
-->
<testCaseList>
<htmlTabRef>
cn5g-start-tab
</htmlTabRef>
<htmlTabName>
CN5G-Start
</htmlTabName>
<htmlTabIcon>
log-in
</htmlTabIcon>
<TestCaseRequestedList>
000300
</TestCaseRequestedList>
<TestCaseExclusionList>
</TestCaseExclusionList>
<testCase
id=
"000300"
>
<class>
Terminate_5GCN
</class>
<desc>
Terminate 5G Core
</desc>
<args>
--type stop-basic
</args>
</testCase>
</testCaseList>
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