CORD-1810: Document Changes (Cord Test)
Change-Id: I4b8e036f147ec1394f7d99fffc498213e73c86e7
diff --git a/docs/README.md b/docs/README.md
index b0797f5..118aeef 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -1,19 +1,12 @@
# Testing CORD
-The _CORD Automated Tester Suite (CATS)_ is an extensible
-end-to-end system test suite targeting CORD PODs. It is typically
-deployed as one or more Docker containers, either on the CORD POD
-or adjacent to the POD and interacts with the POD through the
-PODs interfaces.
+CORD Tester is an automation framework that has been built to test CORD platform. Currently framework extends to test R-CORD platform.
-Its intended use includes:
+Framework is developed in a modular fashion to support various components of CORD. By being modular, not only end-end but individual functional tests could also be developed.
+- Framework is also used to write tests for both CORD-in-a-Box and physical POD installations.
+- API framework is used to write unit level tests and end-end XOS based tests
-* Regression testing for CORD related component development
-* Acceptance testing of a deployed CORD POD
-* Health-testing of an existing CORD POD (including non-service-impacting
- and possibly service-impacting tests)
-
-The strength of the CATS will come from the collaboration of the whole CORD/ONOS
-community, and as such we welcome contributions.
-
+The following links to learn more about cord-tester framework
+- [Prerequisites](https://github.com/opencord/cord-tester/blob/master/src/test/setup/prerequisites.sh)
+- [Link for clone](https://github.com/opencord/cord-tester)
diff --git a/docs/images/qa-jenkins.png b/docs/images/qa-jenkins.png
new file mode 100644
index 0000000..a091a90
--- /dev/null
+++ b/docs/images/qa-jenkins.png
Binary files differ
diff --git a/docs/images/qa-pod-setup.png b/docs/images/qa-pod-setup.png
new file mode 100644
index 0000000..95c9bab
--- /dev/null
+++ b/docs/images/qa-pod-setup.png
Binary files differ
diff --git a/docs/qa-testsetup.md b/docs/qa-testsetup.md
new file mode 100644
index 0000000..5a81d8c
--- /dev/null
+++ b/docs/qa-testsetup.md
@@ -0,0 +1,14 @@
+# CORD TEST ENIVRONMENT
+
+Several jenkins based jobs are created to run tests on the following platforms
+* Cord-in-a-Box
+* Physical POD
+* VMs
+## Jenkins Test Setup
+The following diagram shows how the test servers are interconnected
+
+![QA Jenkins Setup](images/qa-jenkins.png)
+
+## Jenkins Integration with Physical POD
+
+![QA Physical POD setup](images/qa-pod-setup.png)
diff --git a/docs/running.md b/docs/running.md
index c47ba19..201d082 100644
--- a/docs/running.md
+++ b/docs/running.md
@@ -141,4 +141,32 @@
$ sudo ./cord-test.py cleanup
```
* For other options, run with -h option.
+## CORD API TESTS
+This module contains tests using XOS APIs.
+Testcases are written in RobotFramework utilizing some automated python library framework.
+
+## Prerequisites:
+
+ * Robot Framework
+
+## Install Robot Framework:
+```bash
+ $ sudo pip install robotframework
+ $ sudo pip install pygments
+ $ sudo apt-get install python-wxgtk2.8
+ $ sudo pip install robotframework-ride
+```
+ - To bring up IDE for the robot framework
+```bash
+ $ ride.py
+```
+## Execute testcases:
+ * Testcases can be run using ride.py IDE
+ * Or From the command line
+```bash
+ $ cd cord-tester/src/test/cord-api/Tests
+ $ pybot <testcase.txt>
+```
+## Input Files for the testcases
+* Input files for the testcases are present in the "Tests/data" directory, a set of input files to run the testcases
diff --git a/docs/testcases-listings.md b/docs/testcases-listings.md
index 4373a5b..b81149d 100644
--- a/docs/testcases-listings.md
+++ b/docs/testcases-listings.md
@@ -1,5 +1,27 @@
# LIST OF TESTCASES
+Information of the all testcases listed here can be found at [CORD System Test wiki](https://wiki.opencord.org/display/CORD/Functional)
+
+## XOS Based Tests
+1. Ch_defaultImagesCheck.txt
+2. Ch_DefaultServiceCheck.txt
+3. Ch_DeploymentTest.txt
+4. Ch_MultiInstanceTest.txt
+5. Ch_NodeTest.txt
+6. Ch_SanityFlavors.txt
+7. Ch_SanityInstance.txt
+8. Ch_ServiceTest.txt
+9. Ch_SingleInstanceTest.txt
+10. Ch_SiteTest.txt
+11. Ch_SliceTest.txt
+12. Ch_SubscriberTest.txt
+13. Ch_SubscriberVolt_Delete.txt
+14. Ch_UsersTest.txt
+15. Ch_VoltTenant.txt
+16. CordVTN.txt
+
+## MODULE BASED TESTS
+
## IPERF
1. test_tcp_using_iperf
diff --git a/src/test/cord-api/Properties/RestApiProperties.py b/src/test/cord-api/Properties/RestApiProperties.py
index d252ea2..4ca45b2 100644
--- a/src/test/cord-api/Properties/RestApiProperties.py
+++ b/src/test/cord-api/Properties/RestApiProperties.py
@@ -16,12 +16,12 @@
#!/usr/bin/env python
-SERVER_IP = 'ms0925.utah.cloudlab.us'
-#SERVER_IP = '10.201.101.11'
+SERVER_IP = 'c220g2-011013.wisc.cloudlab.us'
+#SERVER_IP = '10.201.101.31'
#SERVER_PORT = '9101'
SERVER_PORT = '8080'
USER = 'xosadmin@opencord.org'
-PASSWD = 'wfjaPUOSD0nZiWe3LN8M'
+PASSWD = 'Eoybws53m9pS6WnVeqPU'
VOLT_SUBSCRIBER = '/xosapi/v1/rcord/cordsubscriberroots'
VOLT_TENANT = '/xosapi/v1/volt/volttenants'
CH_CORE_SERVICELINK = '/xosapi/v1/core/serviceinstancelinks'