*** Keywords ***
Get NSDs List
- ${rc} ${stdout}= Run and Return RC and Output osm nsd-list
+ ${rc} ${stdout}= Run and Return RC and Output osm nspkg-list
log ${stdout}
Should Be Equal As Integers ${rc} ${success_return_code}
Create NSD
[Arguments] ${nsd_pkg}
- ${rc} ${stdout}= Run and Return RC and Output osm nsd-create ${nsd_pkg}
+ ${rc} ${stdout}= Run and Return RC and Output osm nspkg-create ${nsd_pkg}
log ${stdout}
Should Be Equal As Integers ${rc} ${success_return_code}
${lines}= Get Line Count ${stdout}
Delete NSD
[Arguments] ${nsd_id}
- ${rc} ${stdout}= Run Keyword And Continue On Failure Run and Return RC and Output osm nsd-delete ${nsd_id}
+ ${rc} ${stdout}= Run Keyword And Continue On Failure Run and Return RC and Output osm nspkg-delete ${nsd_id}
Should Be Equal As Integers ${rc} ${success_return_code}
log ${stdout}
WAIT UNTIL KEYWORD SUCCEEDS ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id}
Check For NSD
[Arguments] ${nsd_id}
- ${rc} ${stdout}= Run and Return RC and Output osm nsd-list | awk '{print $2}' | grep ${nsd_id}
+ ${rc} ${stdout}= Run and Return RC and Output osm nspkg-list | awk '{print $2}' | grep ${nsd_id}
Should Not Be Equal As Strings ${stdout} ${nsd_id}
*** Keywords ***
Get VNFDs List
- ${rc} ${stdout}= Run and Return RC and Output osm vnfd-list
+ ${rc} ${stdout}= Run and Return RC and Output osm vnfpkg-list
log ${stdout}
log ${rc}
Should Be Equal As Integers ${rc} ${success_return_code}
${overrides}= Get Environment Variable OVERRIDES default=${overrides}
# Proceedes with the onboarding with the appropriate arguments
- ${rc} ${stdout}= Run and Return RC and Output osm vnfd-create ${overrides} ${vnfd_pkg}
+ ${rc} ${stdout}= Run and Return RC and Output osm vnfpkg-create ${overrides} ${vnfd_pkg}
log ${stdout}
Should Be Equal As Integers ${rc} ${success_return_code}
${lines}= Get Line Count ${stdout}
Delete VNFD
[Arguments] ${vnfd_id}
- ${rc} ${stdout}= Run and Return RC and Output osm vnfd-delete ${vnfd_id}
+ ${rc} ${stdout}= Run and Return RC and Output osm vnfpkg-delete ${vnfd_id}
log ${stdout}
Should Be Equal As Integers ${rc} ${success_return_code}
WAIT UNTIL KEYWORD SUCCEEDS ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id}
Check For VNFD
[Arguments] ${vnfd_id}
- ${rc} ${stdout}= Run and Return RC and Output osm vnfd-list | awk '{print $2}' | grep ${vnfd_id}
+ ${rc} ${stdout}= Run and Return RC and Output osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id}
Should Not Be Equal As Strings ${stdout} ${vnfd_id}