- [Documentation] Check whether there is one less 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} Fail msg=There is the same number of VDU records in the VNF after Scale In
-
+ 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} Fail msg=There is the same number of VDU records in the VNF after Scale In