SRrollingRestart test for ci1-sdfabric POD
Change-Id: I2886b7e3ff7f67b3fdfff04dca40534bf57cc524
diff --git a/TestON/tests/USECASE/SegmentRouting/SRStaging/SRrollingRestart/SRrollingRestart.params.tucson b/TestON/tests/USECASE/SegmentRouting/SRStaging/SRrollingRestart/SRrollingRestart.params.hudson
similarity index 75%
rename from TestON/tests/USECASE/SegmentRouting/SRStaging/SRrollingRestart/SRrollingRestart.params.tucson
rename to TestON/tests/USECASE/SegmentRouting/SRStaging/SRrollingRestart/SRrollingRestart.params.hudson
index 5e69e79..64db4be 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRStaging/SRrollingRestart/SRrollingRestart.params.tucson
+++ b/TestON/tests/USECASE/SegmentRouting/SRStaging/SRrollingRestart/SRrollingRestart.params.hudson
@@ -2,9 +2,9 @@
<testcases>2</testcases>
<GRAPH>
- <nodeCluster>pairedleaves</nodeCluster>
+ <nodeCluster>ci1-sdfabric</nodeCluster>
<builds>20</builds>
- <jobName>SRpairedLeaves</jobName>
+ <jobName>SRrollingRestart</jobName>
<branch>master</branch>
</GRAPH>
@@ -33,22 +33,6 @@
<namespace>tost</namespace>
</kubernetes>
- <PERF>
- <traffic_host>Compute1 Compute2</traffic_host>
- <pcap_host>Compute3</pcap_host>
- <pcap_cmd_arguments>-t e -F pcap -s 100 </pcap_cmd_arguments>
- <iterations>1</iterations>
- <topo>
- <leaf1>
- <ports>176 180 184 188</ports>
- <note>eNB</note>
- </leaf1>
- <leaf2>
- <ports>260 268 276 284</ports>
- <note>upstream</note>
- </leaf2>
- </topo>
- </PERF>
<ONOS_Logging>
<org.onosproject.segmentrouting>DEBUG</org.onosproject.segmentrouting>
</ONOS_Logging>
diff --git a/TestON/tests/USECASE/SegmentRouting/SRStaging/SRrollingRestart/SRrollingRestart.py b/TestON/tests/USECASE/SegmentRouting/SRStaging/SRrollingRestart/SRrollingRestart.py
index 33aad64..895ac7f 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRStaging/SRrollingRestart/SRrollingRestart.py
+++ b/TestON/tests/USECASE/SegmentRouting/SRStaging/SRrollingRestart/SRrollingRestart.py
@@ -31,7 +31,7 @@
description="%s tests on the %s pod" % ( descPrefix, pod ) )
switches = int( main.params[ 'TOPO' ][ 'switchNum' ] )
links = int( main.params[ 'TOPO' ][ 'linkNum' ] )
- hosts = [ 'h1', 'h2', 'h3', 'mgmt' ]
+ hosts = [ 'h1', 'h2', 'h3' ]
clusterSize = main.Cluster.numCtrls
restartRounds = int( main.params.get( 'restartRounds', 1 ) )
diff --git a/TestON/tests/USECASE/SegmentRouting/SRStaging/SRrollingRestart/SRrollingRestart.topo.tucson b/TestON/tests/USECASE/SegmentRouting/SRStaging/SRrollingRestart/SRrollingRestart.topo.hudson
similarity index 63%
rename from TestON/tests/USECASE/SegmentRouting/SRStaging/SRrollingRestart/SRrollingRestart.topo.tucson
rename to TestON/tests/USECASE/SegmentRouting/SRStaging/SRrollingRestart/SRrollingRestart.topo.hudson
index 07c69b4..324d648 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRStaging/SRrollingRestart/SRrollingRestart.topo.tucson
+++ b/TestON/tests/USECASE/SegmentRouting/SRStaging/SRrollingRestart/SRrollingRestart.topo.hudson
@@ -9,7 +9,7 @@
<jump_host></jump_host>
<home>~/onos</home> # defines where onos home is on the build machine. Defaults to "~/onos/" if empty.
<COMPONENTS>
- <kubeConfig>~/.kube/dev-pairedleaves-tucson</kubeConfig> # If set, will attempt to use this file for setting up port-forwarding
+ <kubeConfig>~/.kube/ci1-sdfabric</kubeConfig> # If set, will attempt to use this file for setting up port-forwarding
<useDocker>True</useDocker> # Whether to use docker for ONOS nodes
<docker_prompt>\$</docker_prompt>
<cluster_name></cluster_name> # Used as a prefix for cluster components. Defaults to 'ONOS'
@@ -27,7 +27,7 @@
</ONOScell>
<Leaf1>
- <host>10.76.28.70</host>
+ <host>10.70.10.94</host>
<user>root</user>
<password>onl</password>
<type>StratumOSSwitchDriver</type>
@@ -45,7 +45,7 @@
</Leaf1>
<Leaf2>
- <host>10.76.28.71</host>
+ <host>10.70.10.95</host>
<user>root</user>
<password>onl</password>
<type>StratumOSSwitchDriver</type>
@@ -62,9 +62,9 @@
</COMPONENTS>
</Leaf2>
- <Compute1>
- <host>10.76.28.74</host>
- <user>jenkins</user>
+ <Host1>
+ <host>10.70.10.105</host>
+ <user>sdfab</user>
<password></password>
<type>HostDriver</type>
<connect_order>6</connect_order>
@@ -73,27 +73,19 @@
<mac></mac>
<inband>false</inband>
<dhcp>True</dhcp>
- <ip>10.32.11.2</ip>
+ <ip>10.32.11.1</ip>
<shortName>h1</shortName>
<port1></port1>
<link1></link1>
- <ifaceName>pairbond</ifaceName>
- <routes>
- <route1>
- <network></network>
- <netmask></netmask>
- <gw></gw>
- <interface></interface>
- </route1>
- </routes>
+ <ifaceName>bond0</ifaceName>
<sudo_required>true</sudo_required>
<scapy_path>/usr/bin/scapy</scapy_path>
</COMPONENTS>
- </Compute1>
+ </Host1>
- <Compute2>
- <host>10.76.28.72</host>
- <user>jenkins</user>
+ <Host2>
+ <host>10.70.10.106</host>
+ <user>sdfab</user>
<password></password>
<type>HostDriver</type>
<connect_order>7</connect_order>
@@ -102,27 +94,19 @@
<mac></mac>
<inband>false</inband>
<dhcp>True</dhcp>
- <ip>10.32.11.3</ip>
+ <ip>10.32.11.2</ip>
<shortName>h2</shortName>
<port1></port1>
<link1></link1>
- <ifaceName>pairbond</ifaceName>
- <routes>
- <route1>
- <network></network>
- <netmask></netmask>
- <gw></gw>
- <interface></interface>
- </route1>
- </routes>
+ <ifaceName>bond0</ifaceName>
<sudo_required>true</sudo_required>
<scapy_path>/usr/bin/scapy</scapy_path>
</COMPONENTS>
- </Compute2>
+ </Host2>
- <Compute3>
- <host>10.76.28.68</host>
- <user>jenkins</user>
+ <Host3>
+ <host>10.70.10.107</host>
+ <user>sdfab</user>
<password></password>
<type>HostDriver</type>
<connect_order>8</connect_order>
@@ -131,55 +115,18 @@
<mac></mac>
<inband>false</inband>
<dhcp>True</dhcp>
- <ip>10.32.11.194</ip>
+ <ip>10.32.11.193</ip>
<shortName>h3</shortName>
<port1></port1>
<link1></link1>
- <ifaceName>eno2</ifaceName>
- <routes>
- <route1>
- <network></network>
- <netmask></netmask>
- <gw></gw>
- <interface></interface>
- </route1>
- </routes>
+ <ifaceName>ens17</ifaceName>
<sudo_required>true</sudo_required>
<scapy_path>/usr/bin/scapy</scapy_path>
</COMPONENTS>
- </Compute3>
-
- <ManagmentServer>
- <host>10.76.28.66</host>
- <user>jenkins</user>
- <password></password>
- <type>HostDriver</type>
- <connect_order>1</connect_order>
- <COMPONENTS>
- <mac></mac>
- <inband>false</inband>
- <dhcp>True</dhcp>
- <ip>10.32.11.1</ip>
- <shortName>mgmt</shortName>
- <port1></port1>
- <link1></link1>
- <ifaceName>pairbond</ifaceName>
- <routes>
- <route1>
- <network></network>
- <netmask></netmask>
- <gw></gw>
- <interface></interface>
- </route1>
- </routes>
- <sudo_required>true</sudo_required>
- <scapy_path>/usr/bin/scapy</scapy_path>
-
- </COMPONENTS>
- </ManagmentServer>
+ </Host3>
<NetworkBench>
- <host>10.76.28.66</host>
+ <host>localhost</host>
<user>jenkins</user>
<password></password>
<type>NetworkDriver</type>