add print_version which prints the first git commit to log
modify git_version to not print to log
diff --git a/TestON/tests/RCOnosScale4nodes/RCOnosScale4nodes.params b/TestON/tests/RCOnosScale4nodes/RCOnosScale4nodes.params
index f04ef3a..dd4e311 100644
--- a/TestON/tests/RCOnosScale4nodes/RCOnosScale4nodes.params
+++ b/TestON/tests/RCOnosScale4nodes/RCOnosScale4nodes.params
@@ -3,7 +3,7 @@
<Iterations>2</Iterations>
<WaitTime>50</WaitTime>
<TargetTime>50</TargetTime>
- <RestIP>10.128.4.151</RestIP>
+ <RestIP>10.128.100.1</RestIP>
<NR_Switches>100</NR_Switches>
<NR_Links>198</NR_Links>
</PARAMS>
diff --git a/TestON/tests/RCOnosScale4nodes/RCOnosScale4nodes.py b/TestON/tests/RCOnosScale4nodes/RCOnosScale4nodes.py
index 3081eed..6969d65 100644
--- a/TestON/tests/RCOnosScale4nodes/RCOnosScale4nodes.py
+++ b/TestON/tests/RCOnosScale4nodes/RCOnosScale4nodes.py
@@ -17,12 +17,12 @@
main.ONOS3.stop()
main.ONOS4.stop()
main.RamCloud1.start_coor()
+ time.sleep(10)
main.RamCloud1.start_serv()
main.RamCloud2.start_serv()
main.RamCloud3.start_serv()
main.RamCloud4.start_serv()
time.sleep(20)
- main.ONOS1.drop_keyspace()
main.ONOS1.start()
time.sleep(10)
main.ONOS2.start()
@@ -55,6 +55,7 @@
main.RamCloud2.start_serv()
main.RamCloud3.start_serv()
main.RamCloud4.start_serv()
+ data = main.RamCloud1.isup()
utilities.assert_equals(expect=main.TRUE,actual=data,onpass="RamCloud is up!",onfail="RamCloud is down...")
main.step("Testing startup ONOS")
data = main.ONOS1.isup()
@@ -93,9 +94,20 @@
main.ONOS2.stop()
main.ONOS3.stop()
main.ONOS4.stop()
- main.log.info("Dropping keyspace...")
- main.ONOS1.drop_keyspace()
+ main.RamCloud1.stop_coor()
+ main.RamCloud1.stop_serv()
+ main.RamCloud2.stop_serv()
+ main.RamCloud3.stop_serv()
+ main.RamCloud4.stop_serv()
+
time.sleep(5)
+
+ main.RamCloud1.start_coor()
+ main.RamCloud1.start_serv()
+ main.RamCloud2.start_serv()
+ main.RamCloud3.start_serv()
+ main.RamCloud4.start_serv()
+
main.log.info("Bringing ONOS up")
main.ONOS1.start()
time.sleep(5)
diff --git a/TestON/tests/RCOnosScale4nodes/RCOnosScale4nodes.topo b/TestON/tests/RCOnosScale4nodes/RCOnosScale4nodes.topo
index ae85268..fe2b621 100644
--- a/TestON/tests/RCOnosScale4nodes/RCOnosScale4nodes.topo
+++ b/TestON/tests/RCOnosScale4nodes/RCOnosScale4nodes.topo
@@ -2,28 +2,28 @@
<COMPONENT>
<ONOS1>
- <host>10.128.4.151</host>
+ <host>10.128.100.1</host>
<user>admin</user>
<password></password>
<type>OnosCliDriver</type>
<connect_order>7</connect_order>
</ONOS1>
<ONOS2>
- <host>10.128.4.152</host>
+ <host>10.128.100.4</host>
<user>admin</user>
<password></password>
<type>OnosCliDriver</type>
<connect_order>8</connect_order>
</ONOS2>
<ONOS3>
- <host>10.128.4.153</host>
+ <host>10.128.100.5</host>
<user>admin</user>
<password></password>
<type>OnosCliDriver</type>
<connect_order>9</connect_order>
</ONOS3>
<ONOS4>
- <host>10.128.4.154</host>
+ <host>10.128.100.6</host>
<user>admin</user>
<password></password>
<type>OnosCliDriver</type>
@@ -31,7 +31,7 @@
</ONOS4>
<Zookeeper1>
- <host>10.128.4.151</host>
+ <host>10.128.100.1</host>
<user>admin</user>
<password></password>
<type>ZookeeperCliDriver</type>
@@ -41,28 +41,28 @@
</Zookeeper1>
<RamCloud1>
- <host>10.128.4.151</host>
+ <host>10.128.100.1</host>
<user>admin</user>
<password></password>
<type>RamCloudCliDriver</type>
<connect_order>3</connect_order>
</RamCloud1>
<RamCloud2>
- <host>10.128.4.152</host>
+ <host>10.128.100.4</host>
<user>admin</user>
<password></password>
<type>RamCloudCliDriver</type>
<connect_order>4</connect_order>
</RamCloud2>
<RamCloud3>
- <host>10.128.4.153</host>
+ <host>10.128.100.5</host>
<user>admin</user>
<password></password>
<type>RamCloudCliDriver</type>
<connect_order>5</connect_order>
</RamCloud3>
<RamCloud4>
- <host>10.128.4.154</host>
+ <host>10.128.100.6</host>
<user>admin</user>
<password></password>
<type>RamCloudCliDriver</type>
@@ -70,7 +70,7 @@
</RamCloud4>
<Mininet1>
- <host>10.128.4.159</host>
+ <host>10.128.100.11</host>
<user>admin</user>
<password></password>
<type>MininetCliDriver</type>
@@ -79,7 +79,7 @@
# Specify the Option for mininet
<arg1> </arg1>
<arg2> --topo linear,100 --arp</arg2>
- <controller> remote,ip=10.128.4.151,port=6633 </controller>
+ <controller> remote,ip=10.128.100.1,port=6633 </controller>
</COMPONENTS>
</Mininet1>