Reformat Robot files to follow best practices
[osm/tests.git] / robot-systest / testsuite / epa_05-epa_underlay_passthrough.robot
index 63c1aa6..df72e28 100644 (file)
@@ -11,7 +11,7 @@
 #   limitations under the License.
 
 *** Settings ***
-Documentation     [EPA-05] EPA underlay PASSTHROUGH.
+Documentation   [EPA-05] EPA underlay PASSTHROUGH.
 
 Library   OperatingSystem
 Library   String
@@ -54,75 +54,75 @@ ${success_return_code}   0
 *** Test Cases ***
 Create VNF Descriptor
 
-    Remove Environment Variable  OVERRIDES
-    Create VNFD  '%{PACKAGES_FOLDER}/${vnfd_pkg}'
+    Remove Environment Variable   OVERRIDES
+    Create VNFD   '%{PACKAGES_FOLDER}/${vnfd_pkg}'
 
 
 Create NS Descriptor
 
-    Create NSD  '%{PACKAGES_FOLDER}/${nsd_pkg}'
+    Create NSD   '%{PACKAGES_FOLDER}/${nsd_pkg}'
 
 
 Instantiate Network Service
 
-    ${id}=  Create Network Service  ${nsd_name}  %{VIM_TARGET}  ${ns_name}  ${ns_config}  ${EMPTY}
-    Set Suite Variable  ${ns_id}  ${id}
+    ${id}=   Create Network Service   ${nsd_name}   %{VIM_TARGET}   ${ns_name}   ${ns_config}   ${EMPTY}
+    Set Suite Variable   ${ns_id}   ${id}
 
 
 Get Management Ip Addresses
 
-    Variable Should Exist  ${ns_id}  msg=Network service instance is not available
-    ${ip}  Get Vnf Management Ip Address  ${ns_id}  ${vnf_member_index_1}
-    Set Suite Variable  ${ip_mgmt_1}  ${ip}
-    log  ${ip_mgmt_1}
+    Variable Should Exist   ${ns_id}   msg=Network service instance is not available
+    ${ip}   Get Vnf Management Ip Address   ${ns_id}   ${vnf_member_index_1}
+    Set Suite Variable   ${ip_mgmt_1}   ${ip}
+    log   ${ip_mgmt_1}
 
-    ${ip}  Get Vnf Management Ip Address  ${ns_id}  ${vnf_member_index_2}
-    Set Suite Variable  ${ip_mgmt_2}  ${ip}
-    log  ${ip_mgmt_2}
+    ${ip}   Get Vnf Management Ip Address   ${ns_id}   ${vnf_member_index_2}
+    Set Suite Variable   ${ip_mgmt_2}   ${ip}
+    log   ${ip_mgmt_2}
 
 
 Ping from Vnf1 to Vnf2
 
-    Variable Should Exist  ${ip_mgmt_1}  msg=IP address of the data VNF '${vnf_member_index_1}' is not available
+    Variable Should Exist   ${ip_mgmt_1}   msg=IP address of the data VNF '${vnf_member_index_1}' is not available
     Sleep   30 seconds   Wait for SSH daemon to be up
     ${stdout}=   Execute Remote Command Check Rc Return Output   ${ip_mgmt_1}   ${username}   ${password}   ${EMPTY}   ip addr ; ping -c 5 ${datanet_ip2}
-    log  ${stdout}
+    log   ${stdout}
 
 
 Ping from Vnf2 to Vnf1
 
-    Variable Should Exist  ${ip_mgmt_2}  msg=IP address of the data VNF '${vnf_member_index_2}' is not available
+    Variable Should Exist   ${ip_mgmt_2}   msg=IP address of the data VNF '${vnf_member_index_2}' is not available
     ${stdout}=   Execute Remote Command Check Rc Return Output   ${ip_mgmt_2}   ${username}   ${password}   ${EMPTY}   ip addr ; ping -c 5 ${datanet_ip1}
-    log  ${stdout}
+    log   ${stdout}
 
 
 Delete NS Instance
     [Tags]   cleanup
 
-    Delete NS  ${ns_name}
+    Delete NS   ${ns_name}
 
 
 Delete NS Descriptor
     [Tags]   cleanup
 
-    Delete NSD  ${nsd_name}
+    Delete NSD   ${nsd_name}
 
 
 Delete VNF Descriptor
     [Tags]   cleanup
 
-    Delete VNFD  ${vnfd_name}
+    Delete VNFD   ${vnfd_name}
 
 
 
 *** Keywords ***
 Suite Cleanup
-    [Documentation]  Test Suite Cleanup: Deleting descriptors and NS instance
+    [Documentation]   Test Suite Cleanup: Deleting descriptors and NS instance
 
-    Run Keyword If Any Tests Failed  Delete NS  ${ns_name}
+    Run Keyword If Any Tests Failed   Delete NS   ${ns_name}
 
-    Run Keyword If Any Tests Failed  Delete NSD  ${nsd_name}
+    Run Keyword If Any Tests Failed   Delete NSD   ${nsd_name}
 
-    Run Keyword If Any Tests Failed  Delete VNFD  ${vnfd_name}
+    Run Keyword If Any Tests Failed   Delete VNFD   ${vnfd_name}