- [Documentation] Check whether there is one more VDU after scaling or not.
-
- Variable Should Exist ${ns_id} msg=Network service instance is not available
- @{vdur_list}= Get Vnf Vdur Names ${vnf_id}
- Log List ${vdur_list}
- ${vdurs}= Get Length ${vdur_list}
- Run Keyword Unless ${vdurs} == ${initial_vdur_count} + ${delta_instances} Fail msg=VDU instances in the VNF (${vdurs}) don't match after Scale Out (${initial_vdur_count} + ${delta_instances})
-
+ [Documentation] Check whether there is one extra VDU after scaling out.
+ Variable Should Exist ${NS_ID} msg=Network service instance is not available
+ @{vdur_list}= Get Vnf Vdur Names ${VNF_ID}
+ Log List ${vdur_list}
+ ${vdurs}= Get Length ${vdur_list}
+ IF ${vdurs} != ${INITIAL_VDUR_COUNT} + ${DELTA_INSTANCES} Fail msg=VDU instances in the VNF (${vdurs}) don't match after Scale Out (${INITIAL_VDUR_COUNT} + ${DELTA_INSTANCES})