Step 2: Move test folder to root
[integration/test.git] / test / csit / suites / groupbasedpolicy / Clustering_Datastore / 020_simple_clustering.robot
diff --git a/test/csit/suites/groupbasedpolicy/Clustering_Datastore/020_simple_clustering.robot b/test/csit/suites/groupbasedpolicy/Clustering_Datastore/020_simple_clustering.robot
deleted file mode 100644 (file)
index 4ed14d5..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-*** Settings ***
-Documentation     Test suite for GBP Tenants, Operates functions from Restconf APIs.
-Library           RequestsLibrary
-Suite Teardown    Delete All Sessions
-Library           SSHLibrary
-Library           Collections
-Library           OperatingSystem
-Variables         ../../../variables/Variables.py
-Resource          ../../../libraries/Utils.robot
-
-*** Variables ***
-${GBP_TENENT_ID}     f5c7d344-d1c7-4208-8531-2c2693657e12
-${GBP_TENANT1_API}    /restconf/config/policy:tenants/tenant/${GBP_TENENT_ID}
-${GBP_TENANT1_FILE}    ${CURDIR}/../../../variables/gbp/tenant1.json
-
-
-*** Test Cases ***
-Add Tenant to one node
-    [Documentation]    Add one Tenant from JSON file
-    Create Session    session    http://${CONTROLLER}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}
-    ${jsonbody}    Read JSON From File    ${GBP_TENANT1_FILE}
-    Add Elements To URI From File    ${GBP_TENANT1_API}    ${GBP_TENANT1_FILE}
-    ${resp}    RequestsLibrary.Get    session    ${GBP_TENANT1_API}
-    Should Be Equal As Strings    ${resp.status_code}    200
-    ${result}    To JSON    ${resp.content}
-    Lists Should be Equal    ${result}    ${jsonbody}
-
-Read Tenant from other node
-    Create Session    session    http://${CONTROLLER1}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}
-    ${jsonbody}    Read JSON From File    ${GBP_TENANT1_FILE}
-    ${resp}    RequestsLibrary.Get    session    ${GBP_TENANT1_API}
-    Should Be Equal As Strings    ${resp.status_code}   200
-    ${result}    To JSON    ${resp.content}
-    Lists Should be Equal    ${result}    ${jsonbody}
-
-*** Keywords ***
-Read JSON From File
-    [Arguments]    ${filepath}
-    ${body}    OperatingSystem.Get File    ${filepath}
-    ${jsonbody}    To Json    ${body}
-    [Return]    ${jsonbody}