${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}
- ${last}= Evaluate ${lines} - 1
- ${id}= Get Line ${stdout} ${last}
- [Return] ${id}
+ ${lines}= Get Line Count ${stdout}
+ ${last}= Evaluate ${lines} - 1
+ ${id}= Get Line ${stdout} ${last}
+ [Return] ${id}
Delete NSD