Changed minor bug with switch-controller link and startup bugs
diff --git a/TestON/tests/RCOnosSanity/RCOnosSanity.params b/TestON/tests/RCOnosSanity/RCOnosSanity.params
index 9f3e2d4..3e236b4 100644
--- a/TestON/tests/RCOnosSanity/RCOnosSanity.params
+++ b/TestON/tests/RCOnosSanity/RCOnosSanity.params
@@ -2,7 +2,7 @@
<testcases>1,2,200,3,4,5,6,7</testcases>
<FLOWDEF>/home/onos/ONLabTest/TestON/tests/RCOnosSanity</FLOWDEF>
<INTENTS>
- <add>add_intent_sanity.py</add>
+ <add>pyintents.py</add>
<rem>rem_intent_sanity.py</rem>
</INTENTS>
<RESTTEST>
diff --git a/TestON/tests/RCOnosSanity/RCOnosSanity.py b/TestON/tests/RCOnosSanity/RCOnosSanity.py
index b28b2f2..3a12a57 100644
--- a/TestON/tests/RCOnosSanity/RCOnosSanity.py
+++ b/TestON/tests/RCOnosSanity/RCOnosSanity.py
@@ -11,6 +11,7 @@
import time
main.ONOS.start()
time.sleep(20)
+ main.ONOS.rest_stop()
main.ONOS.start_rest()
test= main.ONOS.rest_status()
if test == main.FALSE:
@@ -55,7 +56,7 @@
else:
j=i+16
main.Mininet.assign_sw_controller(sw=str(j),ip1=main.params['CTRL']['ip1'],port1=main.params['CTRL']['port1'])
- time.sleep(5)
+ #time.sleep(1)
main.Mininet.get_sw_controller("s1")
# **********************************************************************************************************************************************************************************************
diff --git a/TestON/tests/RCOnosSanity/README.txt b/TestON/tests/RCOnosSanity/README.txt
index 1dd3b86..fe51a93 100644
--- a/TestON/tests/RCOnosSanity/README.txt
+++ b/TestON/tests/RCOnosSanity/README.txt
@@ -2,7 +2,4 @@
- Keep the intent files in the RCOnosSanity directory!
Code has been revised to point to FLOWDEF in the params for
the intent files.
-- To use a different intent, modify the .params file
-- Added: CASE200
- This case tests the REST API to check that intents are added
- correctly.
+- To use a different intent, modify the .params file.