adding TestON
diff --git a/TestON/tests/PoxTest/.svn/entries b/TestON/tests/PoxTest/.svn/entries
new file mode 100644
index 0000000..b51d7ac
--- /dev/null
+++ b/TestON/tests/PoxTest/.svn/entries
@@ -0,0 +1,171 @@
+9
+
+dir
+65
+svn://192.168.150.61/OpenFlow/tests/PoxTest
+svn://192.168.150.61/OpenFlow
+
+
+
+2012-12-05T18:46:42.405397Z
+65
+paxterra
+
+
+svn:special svn:externals svn:needs-lock
+
+
+
+
+
+
+
+
+
+
+
+8b1d8634-a80c-44fc-ab7b-cc53e6f68013
+
+
+
+
+
+
+0
+
+PoxTest.params
+file
+
+
+
+
+2012-12-05T16:08:24.000000Z
+e79bef68fc6f00acd8bf2028a7e2cab0
+2012-12-05T18:46:42.405397Z
+65
+paxterra
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+326
+
+PoxTest.py
+file
+
+
+
+
+2012-12-05T16:08:24.000000Z
+4a2b2aaeb2a2eeed4b70f1adebca7231
+2012-12-05T18:46:42.405397Z
+65
+paxterra
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+637
+
+PoxTest.topo
+file
+
+
+
+
+2012-12-05T16:08:24.000000Z
+827eb99b5a13c33d371ffc6aca740464
+2012-12-05T18:46:42.405397Z
+65
+paxterra
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+805
+
+__init__.py
+file
+
+
+
+
+2012-12-05T16:08:24.000000Z
+d41d8cd98f00b204e9800998ecf8427e
+2012-12-05T18:46:42.405397Z
+65
+paxterra
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+0
+
diff --git a/TestON/tests/PoxTest/.svn/format b/TestON/tests/PoxTest/.svn/format
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/TestON/tests/PoxTest/.svn/format
@@ -0,0 +1 @@
+9
diff --git a/TestON/tests/PoxTest/.svn/text-base/PoxTest.params.svn-base b/TestON/tests/PoxTest/.svn/text-base/PoxTest.params.svn-base
new file mode 100644
index 0000000..bbadcaa
--- /dev/null
+++ b/TestON/tests/PoxTest/.svn/text-base/PoxTest.params.svn-base
@@ -0,0 +1,12 @@
+[PARAMS]
+ 'testcases' = '[1]'
+ 'mail' = 'anilkumar.s@paxterrasolutions.com,paxweb@paxterrasolutions.com'
+ #'log_dir' = '/home/user/Desktop/openflow_logs/'
+ [[CASE1]]
+ 'destination' = 'h2'
+ 'src' = 'h2'
+ 'target'= 'h3'
+ 'controller' = 'c1'
+ [[[STEP1]]]
+ 'host' = 'h2'
+
diff --git a/TestON/tests/PoxTest/.svn/text-base/PoxTest.py.svn-base b/TestON/tests/PoxTest/.svn/text-base/PoxTest.py.svn-base
new file mode 100644
index 0000000..49e63af
--- /dev/null
+++ b/TestON/tests/PoxTest/.svn/text-base/PoxTest.py.svn-base
@@ -0,0 +1,15 @@
+class PoxTest:
+ '''
+ Testing Basic Pox Functionalities
+ '''
+ def __init__(self):
+ self.default = ""
+
+ def CASE1(self,main):
+ main.case("Checking the control flow of POX")
+ main.step("Checking the host reachability using pingHost ")
+
+ result = main.Mininet1.pingHost(src=main.params['CASE1']['src'],
+ target=main.params['CASE1']['target'],
+ controller=main.params['CASE1']['controller'])
+ utilities.assert_equals(expect=main.TRUE,actual=result,onpass="Ping executed successfully",onfail="Ping Failed")
diff --git a/TestON/tests/PoxTest/.svn/text-base/PoxTest.topo.svn-base b/TestON/tests/PoxTest/.svn/text-base/PoxTest.topo.svn-base
new file mode 100644
index 0000000..b4560cb
--- /dev/null
+++ b/TestON/tests/PoxTest/.svn/text-base/PoxTest.topo.svn-base
@@ -0,0 +1,25 @@
+[TOPOLOGY]
+
+ [[COMPONENT]]
+ [[["Mininet1"]]]
+ 'host' = '192.168.56.101'
+ 'user' = 'openflow'
+ 'password' = 'openflow'
+ 'type' = "Mininet"
+ [[[["COMPONENTS"]]]]
+ # Specify the Option for mininet
+ 'topo' = 'single'
+ 'topocount' = '3'
+ 'switch' = 'ovsk'
+ 'controller' = 'remote'
+ [[["POX2"]]]
+ 'host' = '192.168.56.101'
+ 'user' = 'openflow'
+ 'password' = 'openflow'
+ 'type' = 'POX'
+ 'test_target' = '1'
+ 'no-cli' = '1' #or '0' if want to run in cli mode
+ [[[["COMPONENTS"]]]]
+ 'pox_lib_location' = "/home/openflow/pox/"
+ [[[[["samples.of_tutorial"]]]]]
+
diff --git a/TestON/tests/PoxTest/.svn/text-base/__init__.py.svn-base b/TestON/tests/PoxTest/.svn/text-base/__init__.py.svn-base
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/TestON/tests/PoxTest/.svn/text-base/__init__.py.svn-base
diff --git a/TestON/tests/PoxTest/PoxTest.ospk b/TestON/tests/PoxTest/PoxTest.ospk
new file mode 100644
index 0000000..cadc43e
--- /dev/null
+++ b/TestON/tests/PoxTest/PoxTest.ospk
@@ -0,0 +1,7 @@
+CASE 1
+ NAME "Checking the control flow of POX"
+ STEP "Checking the host reachability using pingHost"
+ ON Mininet1 DO pingHost USING src AS CASE["src"], target AS CASE["target"], controller AS CASE["controller"] AND STORE LAST_RESULT IN result
+ ASSERT result EQUALS main.TRUE ONPASS "Ping executed successfully" ONFAIL "Ping failed"
+
+
diff --git a/TestON/tests/PoxTest/PoxTest.params b/TestON/tests/PoxTest/PoxTest.params
new file mode 100644
index 0000000..dfff20e
--- /dev/null
+++ b/TestON/tests/PoxTest/PoxTest.params
@@ -0,0 +1,13 @@
+<PARAMS>
+ <testcases> [1]</testcases>
+ <mail> anil4haart@gmail.com,paxweb@paxterrasolutions.com</mail>
+ <CASE1>
+ <destination> h2</destination>
+ <src>h2</src>
+ <target> h3 </target>
+ <controller> c1 </controller>
+ <STEP1>
+ <host> h2</host>
+ </STEP1>
+ </CASE1>
+</PARAMS>
diff --git a/TestON/tests/PoxTest/PoxTest.py b/TestON/tests/PoxTest/PoxTest.py
new file mode 100644
index 0000000..f9e4722
--- /dev/null
+++ b/TestON/tests/PoxTest/PoxTest.py
@@ -0,0 +1,29 @@
+'''
+
+ * TestON is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+
+ * TestON is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+
+'''
+
+class PoxTest :
+
+ def __init__(self) :
+ self.default = ''
+
+ def CASE1(self,main) :
+
+ main.case("Checking the control flow of POX")
+ main.step("Checking the host reachability using pingHost")
+ main.Mininet1.pingHost(src=main.params['CASE1']['src'], target=main.params['CASE1']['target'], controller=main.params['CASE1']['controller'])
+ result = main.last_result
+ utilities.assert_equals(expect=main.TRUE,actual=result,onpass="Ping executed successfully",onfail="Ping failed")
+
+
diff --git a/TestON/tests/PoxTest/PoxTest.topo b/TestON/tests/PoxTest/PoxTest.topo
new file mode 100644
index 0000000..e42a300
--- /dev/null
+++ b/TestON/tests/PoxTest/PoxTest.topo
@@ -0,0 +1,31 @@
+<TOPOLOGY>
+
+ <COMPONENT>
+ <Mininet1>
+ <host>192.168.56.101</host>
+ <user> openflow</user>
+ <password> openflow</password>
+ <type>MininetCliDriver</type>
+ <COMPONENTS>
+ # Specify the Option for mininet
+ <topo> single</topo>
+ <topocount>3</topocount>
+ <switch> ovsk </switch>
+ <controller> remote </controller>
+ </COMPONENTS>
+ </Mininet1>
+ <POX2>
+ <host> 192.168.56.101 </host>
+ <user> openflow </user>
+ <password> openflow </password>
+ <type> PoxCliDriver </type>
+ <test_target> 1 </test_target>
+ <COMPONENTS>
+ <pox_lib_location> /home/openflow/pox/ </pox_lib_location>
+ <samples.of_tutorial></samples.of_tutorial>
+ </COMPONENTS>
+ </POX2>
+
+
+ </COMPONENT>
+</TOPOLOGY>
\ No newline at end of file
diff --git a/TestON/tests/PoxTest/__init__.py b/TestON/tests/PoxTest/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/TestON/tests/PoxTest/__init__.py