Images Test...

Change-Id: Ie21c11830e49639a65228f977746d4bb741e56c6
diff --git a/src/test/cord-api/Properties/RestApiProperties.py b/src/test/cord-api/Properties/RestApiProperties.py
index 1ace0b6..e4568a9 100644
--- a/src/test/cord-api/Properties/RestApiProperties.py
+++ b/src/test/cord-api/Properties/RestApiProperties.py
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
-SERVER_IP = '10.128.15.254'
-SERVER_PORT = '9999'
+SERVER_IP = '10.128.100.9'
+SERVER_PORT = '8080'
 USER = 'padmin@vicci.org'
 PASSWD = 'letmein'
 TENANT_SUBSCRIBER = '/api/tenant/cord/subscriber/'
@@ -18,3 +18,4 @@
 CORE_NODES = '/api/core/nodes/'
 CORE_FLAVORS = '/api/core/flavors/'
 CORE_SITES = '/api/core/sites/'
+CORE_IMAGES = '/api/core/images/'
diff --git a/src/test/cord-api/Tests/data/defaultImages.json b/src/test/cord-api/Tests/data/defaultImages.json
new file mode 100644
index 0000000..e308f6f
--- /dev/null
+++ b/src/test/cord-api/Tests/data/defaultImages.json
@@ -0,0 +1,8 @@
+{
+    "imagesInfo":
+    [
+        {"name": "ceilometer-service-trusty-server-multi-nic"},
+        {"name": "trusty-server-multi-nic"},
+        {"name": "vsg-1.1"}
+    ]
+}
diff --git a/src/test/cord-api/Tests/defaultImagesCheck.txt b/src/test/cord-api/Tests/defaultImagesCheck.txt
new file mode 100644
index 0000000..fd38c2e
--- /dev/null
+++ b/src/test/cord-api/Tests/defaultImagesCheck.txt
@@ -0,0 +1,36 @@
+*** Settings ***
+Documentation     Test suite for checking default images for R-CORD
+Suite Setup       Read InputFile
+Test Template     Verify Image Check
+Library           Collections
+Library           String
+Library           OperatingSystem
+Library           XML
+Library           RequestsLibrary
+Library           ../Framework/utils/utils.py
+Library           ../Framework/restApi.py
+
+*** Variables ***
+${USER}           admin
+${PASSWORD}       admin
+${PATHFILE}       ${CURDIR}/data/defaultImages.json
+
+*** Test Cases ***    TYPE
+Test Default Images on R-CORD
+                      IMAGE
+
+*** Keywords ***
+Read InputFile
+    ${imageList}=    utils.jsonToList    ${PATHFILE}    imagesInfo
+    Set Suite Variable    ${ilist}    ${imageList}
+
+Verify Image Check
+    [Arguments]    ${type}
+    Run Keyword If    "${type}" == "IMAGE"    Test Image Check
+
+Test Image Check
+    ${json_result}=    restApi.ApiGet    CORE_IMAGES
+    Log    ${json_result}
+    ${imageList}=    Get Variable Value    ${ilist}
+    ${test_result}=    utils.compare_list_of_dicts    ${imageList}    ${json_result}
+    Should Be True    ${test_result}