summaryrefslogtreecommitdiffstats
path: root/robot/resources/aai
diff options
context:
space:
mode:
Diffstat (limited to 'robot/resources/aai')
-rw-r--r--robot/resources/aai/create_complex.robot2
-rw-r--r--robot/resources/aai/create_service.robot2
-rw-r--r--robot/resources/aai/create_tenant.robot2
3 files changed, 3 insertions, 3 deletions
diff --git a/robot/resources/aai/create_complex.robot b/robot/resources/aai/create_complex.robot
index 185d44d5..e1be288a 100644
--- a/robot/resources/aai/create_complex.robot
+++ b/robot/resources/aai/create_complex.robot
@@ -43,7 +43,7 @@ Delete Complex If Exists
[Documentation] Removes a complex
[Arguments] ${physical_location_id}
${get_resp}= Run A&AI Get Request ${COMPLEX_INDEX_PATH}${ROOT_COMPLEX_PATH}/${physical_location_id}
- Run Keyword If '${get_resp.status_code}' == '200' Delete Zone Exists ${physical_location_id} ${get_resp.json()}
+ Run Keyword If '${get_resp.status_code}' == '200' Delete Complex ${physical_location_id} ${get_resp.json()}
Delete Complex
[Arguments] ${physical_location_id} ${json}
diff --git a/robot/resources/aai/create_service.robot b/robot/resources/aai/create_service.robot
index bcf14e3d..49864b89 100644
--- a/robot/resources/aai/create_service.robot
+++ b/robot/resources/aai/create_service.robot
@@ -67,7 +67,7 @@ Get Services
Update Service Dictionary
[Arguments] ${dict} ${json}
${list}= Evaluate ${json}['service']
- :for ${map} in @{list}
+ :FOR ${map} IN @{list}
\ ${status} ${service_type}= Run Keyword And Ignore Error Get From Dictionary ${map} service-description
\ Run Keyword If '${status}' == 'PASS' Set To Dictionary ${dict} ${service_type}=${map}
Log ${dict}
diff --git a/robot/resources/aai/create_tenant.robot b/robot/resources/aai/create_tenant.robot
index 95f1c25a..99d3a08d 100644
--- a/robot/resources/aai/create_tenant.robot
+++ b/robot/resources/aai/create_tenant.robot
@@ -89,7 +89,7 @@ Get Cloud Region
Update Tenant Dictionary
[Arguments] ${dict} ${json}
${list}= Evaluate ${json}['tenant']
- :for ${map} in @{list}
+ :FOR ${map} IN @{list}
\ ${status} ${tenant_id}= Run Keyword And Ignore Error Get From Dictionary ${map} tenant-id
\ Run Keyword If '${status}' == 'PASS' Set To Dictionary ${dict} ${tenant_id}=${map}
Log ${dict}