Commit d820e5ff authored by Raphael Defosseux's avatar Raphael Defosseux Committed by Jaroslava Fiedlerova

fix(ci): making the PNF/VNF deployment works:

  * split the deployment into 2 steps
  * there was a color issue on aerial2
  * we have to setup a route on sphex for QTL
Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent ef1eb710
......@@ -873,7 +873,7 @@ class Containerize():
# Checking Status
grep = ''
if svcName != '': grep = f' | grep -A3 {svcName}'
if svcName != '': grep = f' | grep -A3 --color=never {svcName}'
mySSH.command(f'docker-compose --file ci-docker-compose.yml config {grep}', '\$', 5)
result = re.search('container_name: (?P<container_name>[a-zA-Z0-9\-\_]+)', mySSH.getBefore())
unhealthyNb = 0
......
......@@ -30,8 +30,12 @@
000222
001111
002222
002223
000111
100000
000011
000022
000033
000222
003333
222222
......@@ -53,8 +57,18 @@
<testCase id="002222">
<class>Deploy_Object</class>
<desc>Deploy gNB (TDD/Band78/100MHz/aerial) in a container</desc>
<desc>Deploy Nvidia CUBB in a container</desc>
<yaml_path>ci-scripts/yaml_files/sa_gnb_aerial</yaml_path>
<services>nv-cubb</services>
<eNB_instance>0</eNB_instance>
<eNB_serverId>0</eNB_serverId>
</testCase>
<testCase id="002223">
<class>Deploy_Object</class>
<desc>Deploy VNF in a container</desc>
<yaml_path>ci-scripts/yaml_files/sa_gnb_aerial</yaml_path>
<services>oai-gnb-aerial</services>
<eNB_instance>0</eNB_instance>
<eNB_serverId>0</eNB_serverId>
</testCase>
......@@ -65,11 +79,18 @@
<id>sphex_quectel</id>
</testCase>
<testCase id="100000">
<class>Custom_Command</class>
<desc>Adding a IP route</desc>
<node>sphex</node>
<command>sudo ip route add 192.168.71.128/26 via 12.1.1.151 dev wwan0</command>
</testCase>
<testCase id="000011">
<class>Ping</class>
<desc>Ping: 20pings in 20sec</desc>
<desc>Ping: 100pings in 20sec</desc>
<id>sphex_quectel</id>
<ping_args>-c 20 %cn_ip%</ping_args>
<ping_args>-c 100 -i 0.2 %cn_ip%</ping_args>
<ping_packetloss_threshold>5</ping_packetloss_threshold>
</testCase>
......
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