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
canghaiwuhen
OpenXG-RAN
Commits
ba9786df
Commit
ba9786df
authored
Jan 13, 2020
by
Gabriele Perrone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
review of modified main.py and sshconnection.py
parent
8f476a99
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
175 additions
and
100 deletions
+175
-100
ci-scripts/main.py
ci-scripts/main.py
+102
-100
ci-scripts/pMain.sh
ci-scripts/pMain.sh
+9
-0
ci-scripts/sshconnection.py
ci-scripts/sshconnection.py
+10
-0
ci-scripts/xml_files/enb_usrp210_band7_epc_start.xml
ci-scripts/xml_files/enb_usrp210_band7_epc_start.xml
+54
-0
No files found.
ci-scripts/main.py
View file @
ba9786df
This diff is collapsed.
Click to expand it.
ci-scripts/pMain.sh
0 → 100755
View file @
ba9786df
python3 main.py
--mode
=
InitiateHtml
--ranRepository
=
https://gitlab.eurecom.fr/oai/openairinterface5g
--ranBranch
=
develop
--ranCommitID
=
424bf5c53e879af7d66aaa50e0cd969eeb570dbd
--ranAllowMerge
=
false
--ranTargetBranch
=
develop
--ADBIPAddress
=
192.168.12.240
--ADBUserName
=
bourdon
--ADBPassword
=
linux
--XMLTestFile
=
xml_files/dummy_build.xml
--XMLTestFile
=
xml_files/dummy_ltebox_start.xml
--XMLTestFile
=
xml_files/dummy_enb_test.xml
--XMLTestFile
=
xml_files/dummy_ltebox_stop.xml
python3 main.py
--mode
=
TesteNB
--ranRepository
=
https://gitlab.eurecom.fr/oai/openairinterface5g
--ranBranch
=
develop
--ranCommitID
=
424bf5c53e879af7d66aaa50e0cd969eeb570dbd
--ranAllowMerge
=
false
--ranTargetBranch
=
develop
--eNBIPAddress
=
192.168.12.161
--eNBUserName
=
acilius
--eNBPassword
=
linux
--eNBSourceCodePath
=
/tmp/CI-gabriele
--EPCIPAddress
=
192.168.12.240
--EPCType
=
ltebox
--EPCUserName
=
bourdon
--EPCPassword
=
linux
--EPCSourceCodePath
=
/tmp/CI-eNB
--ADBIPAddress
=
192.168.12.240
--ADBUserName
=
bourdon
--ADBPassword
=
linux
--XMLTestFile
=
xml_files/dummy_build.xml
python3 main.py
--mode
=
TesteNB
--ranRepository
=
https://gitlab.eurecom.fr/oai/openairinterface5g
--ranBranch
=
develop
--ranCommitID
=
424bf5c53e879af7d66aaa50e0cd969eeb570dbd
--ranAllowMerge
=
false
--ranTargetBranch
=
develop
--eNBIPAddress
=
192.168.12.161
--eNBUserName
=
acilius
--eNBPassword
=
linux
--eNBSourceCodePath
=
/tmp/CI-gabriele
--EPCIPAddress
=
192.168.12.240
--EPCType
=
ltebox
--EPCUserName
=
bourdon
--EPCPassword
=
linux
--EPCSourceCodePath
=
/tmp/CI-eNB
--ADBIPAddress
=
192.168.12.240
--ADBUserName
=
bourdon
--ADBPassword
=
linux
--XMLTestFile
=
xml_files/dummy_ltebox_start.xml
python3 main.py
--mode
=
TesteNB
--ranRepository
=
https://gitlab.eurecom.fr/oai/openairinterface5g
--ranBranch
=
develop
--ranCommitID
=
424bf5c53e879af7d66aaa50e0cd969eeb570dbd
--ranAllowMerge
=
false
--ranTargetBranch
=
develop
--eNBIPAddress
=
192.168.12.161
--eNBUserName
=
acilius
--eNBPassword
=
linux
--eNBSourceCodePath
=
/tmp/CI-gabriele
--EPCIPAddress
=
192.168.12.240
--EPCType
=
ltebox
--EPCUserName
=
bourdon
--EPCPassword
=
linux
--EPCSourceCodePath
=
/tmp/CI-eNB
--ADBIPAddress
=
192.168.12.240
--ADBUserName
=
bourdon
--ADBPassword
=
linux
--XMLTestFile
=
xml_files/dummy_enb_test.xml
python3 main.py
--mode
=
TesteNB
--ranRepository
=
https://gitlab.eurecom.fr/oai/openairinterface5g
--ranBranch
=
develop
--ranCommitID
=
424bf5c53e879af7d66aaa50e0cd969eeb570dbd
--ranAllowMerge
=
false
--ranTargetBranch
=
develop
--eNBIPAddress
=
192.168.12.161
--eNBUserName
=
acilius
--eNBPassword
=
linux
--eNBSourceCodePath
=
/tmp/CI-gabriele
--EPCIPAddress
=
192.168.12.240
--EPCType
=
ltebox
--EPCUserName
=
bourdon
--EPCPassword
=
linux
--EPCSourceCodePath
=
/tmp/CI-eNB
--ADBIPAddress
=
192.168.12.240
--ADBUserName
=
bourdon
--ADBPassword
=
linux
--XMLTestFile
=
xml_files/dummy_ltebox_stop.xml
python3 main.py
--mode
=
FinalizeHtml
--finalStatus
=
true
--eNBIPAddress
=
192.168.12.161
--eNBUserName
=
acilius
--eNBPassword
=
linux
ci-scripts/sshconnection.py
View file @
ba9786df
#-----------------------------------------------------------
# Import
#-----------------------------------------------------------
import
pexpect
# pexpect
import
logging
#-----------------------------------------------------------
#-----------------------------------------------------------
# Class Declaration
# Class Declaration
#-----------------------------------------------------------
#-----------------------------------------------------------
class
SSHConnection
():
class
SSHConnection
():
def
__init__
(
self
):
def
__init__
(
self
):
self
.
ssh
=
''
def
open
(
self
,
ipaddress
,
username
,
password
):
def
open
(
self
,
ipaddress
,
username
,
password
):
count
=
0
count
=
0
connect_status
=
False
connect_status
=
False
...
@@ -165,3 +173,5 @@ class SSHConnection():
...
@@ -165,3 +173,5 @@ class SSHConnection():
else
:
else
:
sys
.
exit
(
'SCP failed'
)
sys
.
exit
(
'SCP failed'
)
def
getBefore
(
self
):
return
str
(
self
.
ssh
.
before
)
ci-scripts/xml_files/enb_usrp210_band7_epc_start.xml
0 → 100644
View file @
ba9786df
<!--
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>
epc-start
</htmlTabRef>
<htmlTabName>
EPC-Start
</htmlTabName>
<htmlTabIcon>
log-in
</htmlTabIcon>
<TestCaseRequestedList>
010101
050101 060101 070101
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"010101"
>
<class>
Build_eNB
</class>
<desc>
Build eNB (USRP)
</desc>
<Build_eNB_args>
-w USRP -c --eNB
</Build_eNB_args>
</testCase>
<testCase
id=
"050101"
>
<class>
Initialize_HSS
</class>
<desc>
Initialize HSS
</desc>
</testCase>
<testCase
id=
"060101"
>
<class>
Initialize_MME
</class>
<desc>
Initialize MME
</desc>
</testCase>
<testCase
id=
"070101"
>
<class>
Initialize_SPGW
</class>
<desc>
Initialize SPGW
</desc>
</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