[Documentation] Check the application names if there are 2 application name in the application list.
${count_duplicated}= Get Length ${application_list}
- Run Keyword Unless ${count_duplicated} == 2 Fail msg=There are not 2 application name in the application list before Scale Out
+ Run Keyword If ${count_duplicated} != 2 Fail msg=There are not 2 application name in the application list before Scale Out
Perform Manual Vdu Scale Out
@{vdur_list}= Get Vnf Vdur Names ${vnf_id}
Log List ${vdur_list}
${vdurs}= Get Length ${vdur_list}
- Run Keyword Unless ${vdurs} == ${initial_vdur_count} + 1 Fail msg=There is no new VDU records in the VNF after Scale Out
+ Run Keyword If ${vdurs} != ${initial_vdur_count} + 1 Fail msg=There is no new VDU records in the VNF after Scale Out
Get Application Name After Scale Out
[Documentation] Check the application names if there are 3 application name in the application list.
${count_duplicated}= Get Length ${application_list}
- Run Keyword Unless ${count_duplicated} == 3 Fail msg=There are not 2 application name in the application list after Scale Out
+ Run Keyword If ${count_duplicated} != 3 Fail msg=There are not 2 application name in the application list after Scale Out
Perform Manual Vdu Scale In
@{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
+ Run Keyword If ${vdurs} != ${initial_vdur_count} Fail msg=There is the same number of VDU records in the VNF after Scale In
Get Application Name After Scale In
[Documentation] Check the application names if there are 2 application name in the application list.
${count_duplicated}= Get Length ${application_list}
- Run Keyword Unless ${count_duplicated} == 2 Fail msg=There are not 2 application name in the application list after Scale In
+ Run Keyword If ${count_duplicated} != 2 Fail msg=There are not 2 application name in the application list after Scale In
Delete NS Instance