Adding all changes since last commit
diff --git a/TestON/logs/OnosSanity4nodes_20_Nov_2013_12_24_18/ONOS2.session b/TestON/logs/OnosSanity4nodes_20_Nov_2013_12_24_18/ONOS2.session
new file mode 100644
index 0000000..3927257
--- /dev/null
+++ b/TestON/logs/OnosSanity4nodes_20_Nov_2013_12_24_18/ONOS2.session
@@ -0,0 +1,459 @@
+2013-11-20 12:24:31,531  ONOS2     : INFO    : 
+                                +----------------+
+------------------------------ { Script And Files }  ------------------------------
+                                +----------------+
+
+	Script Log File : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_12_24_18/OnosSanity4nodes_20_Nov_2013_12_24_18.log
+	Report Log File : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_12_24_18/OnosSanity4nodes_20_Nov_2013_12_24_18.rpt
+	ONOS4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_12_24_18/ONOS4.session
+	ONOS2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_12_24_18/ONOS2.session
+	ONOS3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_12_24_18/ONOS3.session
+	ONOS1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_12_24_18/ONOS1.session
+	Zookeeper4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_12_24_18/Zookeeper4.session
+	Cassandra1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_12_24_18/Cassandra1.session
+	Cassandra2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_12_24_18/Cassandra2.session
+	Cassandra3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_12_24_18/Cassandra3.session
+	Cassandra4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_12_24_18/Cassandra4.session
+	Zookeeper1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_12_24_18/Zookeeper1.session
+	Zookeeper2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_12_24_18/Zookeeper2.session
+	Zookeeper3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_12_24_18/Zookeeper3.session
+	Mininet1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_12_24_18/Mininet1.session
+	Test Script :/home/admin/ONLabTest/TestON/Tests/OnosSanity4nodes.py
+	Test Params : /home/admin/ONLabTest/TestON/Tests/OnosSanity4nodes.params
+	Topology : /home/admin/ONLabTest/TestON/Tests/OnosSanity4nodes.tpl
+                              +------------------+
+---------------------------  { Script Exec Params }  ---------------------------
+                              +------------------+
+
+	
+	'CTRL': 
+	'ip2': '10.128.100.4'
+	 'ip3': '10.128.100.5'
+	 'ip1': '10.128.100.1'
+	 'ip4': '10.128.100.6'
+	 'port4': '6633'
+	 'port2': '6633'
+	 'port3': '6633'
+	 'port1': '6633'
+	
+	 'NR_Links': '50'
+	 'LINK': 
+	'begin': 's1'
+	 'end': 's2'
+	
+	 'RESTCALL': 
+	'restIP1': '10.128.100.1'
+	 'restIP2': '10.128.100.5'
+	 'restPort': '8080'
+	 'restURL': '/wm/device/'
+	
+	 'CASE1': 
+	'destination': 'h6'
+	
+	 'PLUG': 
+	'sw1': 's1'
+	 'intf': 's1-eth1'
+	 'sw6': 's6'
+	
+	 'PING': 
+	'source2': 'h8'
+	 'source1': 'h6'
+	 'target2': 'h33'
+	 'target1': 'h31'
+	
+	 'FLOWDEF': '~/flowdef_files/Center_Triangle/flowdef_20.txt'
+	 'testcases': '1
+	2
+	21
+	3
+	4
+	5
+	6
+	7'
+	 'RestIP': '10.128.100.1'
+	 'NR_Switches': '25'
+	 'YANK': 
+	'hostmac': '00:00:00:00:00:01'
+	 'sw1': 's1'
+	 'hostname': 'h1'
+	 'intf': 's1-eth1'
+	 'sw6': 's6'
+	
+	
+
+                               +---------------+
+----------------------------- { Components Used }  -----------------------------
+                               +---------------+
+	ONOS4
+	ONOS2
+	ONOS3
+	ONOS1
+	Zookeeper4
+	Cassandra1
+	Cassandra2
+	Cassandra3
+	Cassandra4
+	Zookeeper1
+	Zookeeper2
+	Zookeeper3
+	Mininet1
+
+
+                              +--------+
+---------------------------- { Topology }  ----------------------------
+                              +--------+
+
+	
+	'ONOS4': 
+	'connect_order': '12'
+	 'host': '10.128.100.6'
+	 'user': 'admin'
+	 'COMPONENTS': ''
+	 'password': None
+	 'type': 'OnosCliDriver'
+	
+	 'ONOS2': 
+	'connect_order': '10'
+	 'host': '10.128.100.4'
+	 'user': 'admin'
+	 'COMPONENTS': ''
+	 'password': None
+	 'type': 'OnosCliDriver'
+	
+	 'ONOS3': 
+	'connect_order': '11'
+	 'host': '10.128.100.5'
+	 'user': 'admin'
+	 'COMPONENTS': ''
+	 'password': None
+	 'type': 'OnosCliDriver'
+	
+	 'ONOS1': 
+	'connect_order': '9'
+	 'host': '10.128.100.1'
+	 'user': 'admin'
+	 'COMPONENTS': ''
+	 'password': None
+	 'type': 'OnosCliDriver'
+	
+	 'Zookeeper4': 
+	'connect_order': '4'
+	 'host': '10.128.100.6'
+	 'user': 'admin'
+	 'COMPONENTS': ''
+	 'password': None
+	 'type': 'ZookeeperCliDriver'
+	
+	 'Cassandra1': 
+	'connect_order': '5'
+	 'host': '10.128.100.1'
+	 'user': 'admin'
+	 'COMPONENTS': ''
+	 'password': None
+	 'type': 'CassandraCliDriver'
+	
+	 'Cassandra2': 
+	'connect_order': '6'
+	 'host': '10.128.100.4'
+	 'user': 'admin'
+	 'COMPONENTS': ''
+	 'password': None
+	 'type': 'CassandraCliDriver'
+	
+	 'Cassandra3': 
+	'connect_order': '7'
+	 'host': '10.128.100.5'
+	 'user': 'admin'
+	 'COMPONENTS': ''
+	 'password': None
+	 'type': 'CassandraCliDriver'
+	
+	 'Cassandra4': 
+	'connect_order': '8'
+	 'host': '10.128.100.6'
+	 'user': 'admin'
+	 'COMPONENTS': ''
+	 'password': None
+	 'type': 'CassandraCliDriver'
+	
+	 'Zookeeper1': 
+	'connect_order': '1'
+	 'host': '10.128.100.1'
+	 'user': 'admin'
+	 'COMPONENTS': ''
+	 'password': None
+	 'type': 'ZookeeperCliDriver'
+	
+	 'Zookeeper2': 
+	'connect_order': '2'
+	 'host': '10.128.100.4'
+	 'user': 'admin'
+	 'COMPONENTS': ''
+	 'password': None
+	 'type': 'ZookeeperCliDriver'
+	
+	 'Zookeeper3': 
+	'connect_order': '3'
+	 'host': '10.128.100.5'
+	 'user': 'admin'
+	 'COMPONENTS': ''
+	 'password': None
+	 'type': 'ZookeeperCliDriver'
+	
+	 'Mininet1': 
+	'connect_order': '13'
+	 'host': '10.128.100.11'
+	 'user': 'admin'
+	 'COMPONENTS': 
+	'arg1': '--custom ~/mininet/custom/topo-onos4node.py'
+	 'arg2': '--topo mytopo --arp'
+	 'controller': 'remote'
+	
+	 'password': None
+	 'type': 'MininetCliDriver'
+	
+	
+------------------------------------------------------------
+
+
                                                                               
teston> 

+

+

+2013-11-20 12:24:54,735  ONOS2     : INFO    : 
+****************************************
+Start of Test Case1 : 
+
+Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-44-virtual x86_64)

+

+ * Documentation:  https://help.ubuntu.com/

+

+  System information as of Wed Nov 20 12:24:32 PST 2013

+

+  System load:  0.33               Processes:           98

+  Usage of /:   24.2% of 19.67GB   Users logged in:     1

+  Memory usage: 26%                IP address for eth0: 10.128.100.4

+  Swap usage:   0%

+

+  Graph this data and manage this system at https://landscape.canonical.com/

+

+  Get cloud support with Ubuntu Advantage Cloud Guest:

+    http://www.ubuntu.com/business/services/cloud

+

+  Use Juju to deploy your cloud instances and workloads:

+    https://juju.ubuntu.com/#cloud-precise

+

+129 packages can be updated.

+65 updates are security updates.

+

+Last login: Wed Nov 20 12:24:32 2013 from 10.128.7.7


+

+

+admin@autoONOS2:~$ 

+admin@autoONOS2:~$ 

+admin@autoONOS2:~$ ~/ONOS/start-onos.sh stop
+

+admin@autoONOS2:~$ ~/ONOS/start-onos.sh stop

+admin@autoONOS2:~$ cd ~/ONOS
+cd ~/ONOS

+admin@autoONOS2:~/ONOS$ git pull
+git pull

+Already up-to-date.

+
+admin@autoONOS2:~/ONOS$ ~/ONOS/start-onos.sh start
+

+admin@autoONOS2:~/ONOS$ ~/ONOS/start-onos.sh start

+rotate log: ./onos-logs/onos.autoONOS2.log

+rotate log: ./onos-logs/onos.autoONOS2.pcap

+Starting ONOS controller ...

+

+/home/admin/ONOS

+/home/admin/ONOS

+mvn -o exec:exec -Dexec.executable="java" -Dexec.args=" -javaagent:/home/admin/ONOS/lib/jacocoagent.jar=dumponexit=true,output=file,destfile=./onos-logs/jacoco.exec -server -d64 -Xmx1g -Xms1g -Xmn800m -XX:+UseConcMarkSweepGC -XX:+UseAdaptiveSizePolicy -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -XX:MaxInlineSize=8192 -XX:FreqInlineSize=8192 -XX:CompileThreshold=1500 -XX:PreBlockSpin=8 -XX:OnError=crash-logger -XX:CompileThreshold=1500 -XX:PreBlockSpin=8 		-XX:+UseThreadPriorities 		-XX:ThreadPriorityPolicy=42                  -XX:+UseCompressedOops             -Dcom.sun.management.jmxremote.port=7189               -Dcom.sun.management.jmxremote.ssl=false               -Dcom.sun.management.jmxremote.authenticate=false -Dlogback.configurationFile=./logback.autoONOS2.xml -cp %classpath net.onrc.onos.ofcontroller.core.Main -cf ./conf/onos.properties"

+Waiting for ONOS to start...

+.....

+admin@autoONOS2:~/ONOS$ 2013-11-20 12:26:56,214  ONOS2     : INFO    :  Checking if the startup was clean...
+****************************************
+
+2013-11-20 12:26:56,217  ONOS2     : INFO    : 
+---------------------------------------------
+Start of Step INIT : Initializing the test case :Checking if the startup was clean...
+---------------------------------------------
+
+2013-11-20 12:26:56,220  ONOS2     : INFO    : 
+---------------------------------------------
+Start of Step 1.1: Testing startup Zookeeper
+---------------------------------------------
+
+2013-11-20 12:26:57,259  ONOS2     : INFO    : 
+---------------------------------------------
+End of Step  1.1: Testing startup Zookeeper
+---------------------------------------------
+
+---------------------------------------------
+Start of Step 1.2: Testing startup Cassandra
+---------------------------------------------
+
+2013-11-20 12:26:59,109  ONOS2     : INFO    : 
+---------------------------------------------
+End of Step  1.2: Testing startup Cassandra
+---------------------------------------------
+
+---------------------------------------------
+Start of Step 1.3: Testing startup ONOS
+---------------------------------------------
+
+2013-11-20 12:27:02,318  ONOS2     : INFO    : 
+****************************************
+Start of Test Case2 : 
+2013-11-20 12:27:02,320  ONOS2     : INFO    :  Checking if one MN host exists
+****************************************
+
+2013-11-20 12:27:02,321  ONOS2     : INFO    : 
+---------------------------------------------
+Start of Step INIT : Initializing the test case :Checking if one MN host exists
+---------------------------------------------
+
+2013-11-20 12:27:02,323  ONOS2     : INFO    : 
+---------------------------------------------
+Start of Step 2.1: Host IP Checking using checkIP
+---------------------------------------------
+
+2013-11-20 12:27:02,458  ONOS2     : INFO    : 
+---------------------------------------------
+End of Step  2.1: Host IP Checking using checkIP
+---------------------------------------------
+
+---------------------------------------------
+Start of Step 2.2: Verifying the result
+---------------------------------------------
+
+2013-11-20 12:27:02,468  ONOS2     : INFO    : 
+---------------------------------------------
+End of Step  2.2: Verifying the result
+---------------------------------------------
+
+---------------------------------------------
+Start of Step 2.3: assigning ONOS controllers to switches
+---------------------------------------------
+
+2013-11-20 12:27:35,679  ONOS2     : INFO    : 
+****************************************
+Start of Test Case21 : 
+2013-11-20 12:27:39,643  ONOS2     : INFO    :  Yankout s6-eth1 (link to h1) from s1
+****************************************
+
+2013-11-20 12:27:46,191  ONOS2     : INFO    :  Plug s1-eth1 to s6
+****************************************
+
+2013-11-20 12:27:52,977  ONOS2     : INFO    :  Move s1-eth1 back to s1
+****************************************
+
+2013-11-20 12:27:59,802  ONOS2     : INFO    : 
+****************************************
+Start of Test Case3 : 
+2013-11-20 12:28:45,007  ONOS2     : INFO    :  Taking care of these flows!
+****************************************
+
+2013-11-20 12:28:45,012  ONOS2     : INFO    : 
+---------------------------------------------
+Start of Step INIT : Initializing the test case :Taking care of these flows!
+---------------------------------------------
+
+2013-11-20 12:28:45,019  ONOS2     : INFO    : 
+---------------------------------------------
+Start of Step 3.1: Cleaning out any leftover flows...
+---------------------------------------------
+
+2013-11-20 12:28:56,424  ONOS2     : INFO    :  Checking flows
+****************************************
+
+2013-11-20 12:28:56,430  ONOS2     : INFO    : 
+---------------------------------------------
+Start of Step 3.1: Waiting
+---------------------------------------------
+
+2013-11-20 12:29:01,496  ONOS2     : INFO    : 
+---------------------------------------------
+Start of Step 3.1: Checking
+---------------------------------------------
+
+2013-11-20 12:29:03,173  ONOS2     : INFO    : 
+---------------------------------------------
+Start of Step 3.1: Waiting
+---------------------------------------------
+
+2013-11-20 12:29:08,183  ONOS2     : INFO    : 
+---------------------------------------------
+Start of Step 3.1: Checking
+---------------------------------------------
+
+2013-11-20 12:29:09,828  ONOS2     : INFO    : 
+---------------------------------------------
+Start of Step 3.1: Waiting
+---------------------------------------------
+
+2013-11-20 12:29:14,838  ONOS2     : INFO    : 
+---------------------------------------------
+Start of Step 3.1: Checking
+---------------------------------------------
+
+2013-11-20 12:29:16,520  ONOS2     : INFO    : 
+---------------------------------------------
+Start of Step 3.1: Waiting
+---------------------------------------------
+
+2013-11-20 12:29:21,530  ONOS2     : INFO    : 
+---------------------------------------------
+Start of Step 3.1: Checking
+---------------------------------------------
+
+2013-11-20 12:29:23,121  ONOS2     : INFO    : 
+---------------------------------------------
+Start of Step 3.1: Waiting
+---------------------------------------------
+
+2013-11-20 12:29:28,130  ONOS2     : INFO    : 
+---------------------------------------------
+Start of Step 3.1: Checking
+---------------------------------------------
+
+2013-11-20 12:29:29,712  ONOS2     : INFO    : 
+---------------------------------------------
+Start of Step 3.1: Waiting
+---------------------------------------------
+
+2013-11-20 12:29:34,722  ONOS2     : INFO    : 
+---------------------------------------------
+Start of Step 3.1: Checking
+---------------------------------------------
+
+2013-11-20 12:30:06,675  ONOS2     : INFO    : 
+---------------------------------------------
+End of Step  3.1: Checking
+---------------------------------------------
+
+---------------------------------------------
+Start of Step 3.2: Verifying the result
+---------------------------------------------
+
+2013-11-20 12:30:06,681  ONOS2     : INFO    : 
+****************************************
+Start of Test Case4 : 
+2013-11-20 12:31:57,544  ONOS2     : INFO    : 
+****************************************
+Start of Test Case5 : 
+2013-11-20 12:33:37,763  ONOS2     : INFO    : 
+****************************************
+Start of Test Case6 : 
+2013-11-20 12:33:37,770  ONOS2     : INFO    :  Bringing Link down... 
+****************************************
+
+2013-11-20 12:36:00,458  ONOS2     : INFO    : 
+****************************************
+Start of Test Case7 : 
+2013-11-20 12:36:00,465  ONOS2     : INFO    :  Bringing Link up... 
+****************************************
+
+exit
+exit

+logout

+Connection to 10.128.100.4 closed.