# limitations under the License.
*** Settings ***
-Documentation [EPA-04] EPA underlay SR-IOV.
+Documentation [EPA-04] EPA underlay SR-IOV.
Library OperatingSystem
Library String
*** 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}