+
+Get Vnf Kdu Replica Count
+ [Documentation] Return the number of KDU replicas (empty if none) of a VNF instance.
+
+ [Arguments] ${vnf_id} ${kdu_name}
+
+ ${rc} ${stdout}= Run and Return RC and Output osm vnf-show ${vnf_id} --kdu ${kdu_name} | yq .config.replicaCount | tr -d \\"
+ Should Be Equal As Integers ${rc} ${success_return_code} msg=${stdout} values=False
+ ${return} = Set Variable If '${stdout}' == 'null' ${EMPTY} ${stdout}
+ [Return] ${return}
+