adding TestON
diff --git a/TestON/tests/OnosTest/OnosTest.ospk b/TestON/tests/OnosTest/OnosTest.ospk
new file mode 100644
index 0000000..0e46e5c
--- /dev/null
+++ b/TestON/tests/OnosTest/OnosTest.ospk
@@ -0,0 +1,23 @@
+CASE 1
+ NAME "Testing the ONOS sanity"
+ STEP "Testing the ONOS sanity"
+
+ STORE ON Zookeeper1 DO status IN Zookeeper1_status
+ INFO <Zookeeper1_status>
+
+ STORE ON Cassandra1 DO status IN Cassandra1_status
+ INFO <Cassandra1_status>
+
+ STORE ON ONOS1 DO status IN ONOS1_status
+ INFO <ONOS1_status>
+
+ STORE ON ONOS1 DO rest_status IN ONOS1_rest_status
+ INFO <ONOS1_rest_status>
+
+ STORE ON ONOSRESTAPI1 DO execute IN Response
+ INFO <Response>
+
+ ON ONOS1 DO stop
+ ON ONOS1 DO rest_stop
+ ON Cassandra1 DO stop
+ ON Zookeeper1 DO stop
diff --git a/TestON/tests/OnosTest/OnosTest.params b/TestON/tests/OnosTest/OnosTest.params
new file mode 100644
index 0000000..74cf664
--- /dev/null
+++ b/TestON/tests/OnosTest/OnosTest.params
@@ -0,0 +1,5 @@
+<PARAMS>
+ <testcases>1</testcases>
+ <mail>anil4haart@gmail.com</mail>
+
+</PARAMS>
\ No newline at end of file
diff --git a/TestON/tests/OnosTest/OnosTest.py b/TestON/tests/OnosTest/OnosTest.py
new file mode 100644
index 0000000..758c2a5
--- /dev/null
+++ b/TestON/tests/OnosTest/OnosTest.py
@@ -0,0 +1,33 @@
+
+class OnosTest :
+
+ def __init__(self) :
+ self.default = ''
+
+ def CASE1(self,main) :
+
+ main.case("Testing the ONOS sanity")
+ main.step("Testing the ONOS sanity")
+
+ Zookeeper1_status = main.Zookeeper1.status()
+ main.log.info(Zookeeper1_status)
+
+ Cassandra1_status = main.Cassandra1.status()
+ main.log.info(Cassandra1_status)
+
+ ONOS1_status = main.ONOS1.status()
+ if ONOS1_status:
+ main.log.info("ONOS is up")
+ else:
+ main.log.info("ONOS is down")
+
+ ONOS1_rest_status = main.ONOS1.rest_status()
+ main.log.info(ONOS1_rest_status)
+
+ Response = main.ONOSRESTAPI1.execute()
+ main.log.info(Response)
+
+ main.ONOS1.stop()
+ main.ONOS1.rest_stop()
+ main.Cassandra1.stop()
+ main.Zookeeper1.stop()
diff --git a/TestON/tests/OnosTest/OnosTest.topo b/TestON/tests/OnosTest/OnosTest.topo
new file mode 100644
index 0000000..36cd588
--- /dev/null
+++ b/TestON/tests/OnosTest/OnosTest.topo
@@ -0,0 +1,41 @@
+<TOPOLOGY>
+
+ <COMPONENT>
+ <Zookeeper1>
+ <host>10.128.4.7</host>
+ <user>admin</user>
+ <password>password</password>
+ <type>ZookeeperCliDriver</type>
+ <connect_order> 1 </connect_order>
+ <COMPONENTS>
+ </COMPONENTS>
+ </Zookeeper1>
+ <Cassandra1>
+ <host>10.128.4.7</host>
+ <user>admin</user>
+ <password>password</password>
+ <type>CassandraCliDriver</type>
+ <connect_order> 2 </connect_order>
+ <COMPONENTS>
+ </COMPONENTS>
+ </Cassandra1>
+ <ONOS1>
+ <host>10.128.4.7</host>
+ <user>admin</user>
+ <password>password</password>
+ <type>OnosCliDriver</type>
+ <connect_order> 3 </connect_order>
+ <COMPONENTS>
+ </COMPONENTS>
+ </ONOS1>
+
+
+ <ONOSRESTAPI1>
+ <type>OnosRestApiDriver</type>
+ <COMPONENTS>
+ <topology_url>http://10.128.4.7:9000/topology</topology_url>
+ </COMPONENTS>
+ </ONOSRESTAPI1>
+
+ </COMPONENT>
+</TOPOLOGY>
\ No newline at end of file
diff --git a/TestON/tests/OnosTest/__init__.py b/TestON/tests/OnosTest/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/TestON/tests/OnosTest/__init__.py