X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fshared%2Fvm.robot;h=c33ca5fea9b87e1e82abc3bd1c43756e7569bdeb;hp=2f15853779d2d8e85e634d1cecaf694cb73d53f9;hb=5c7cf5a09ec1cd7ebc4077981de84c4f18aa8738;hpb=3b2dcb0348e890950dfbc3fe4aec7008d4e1f63a diff --git a/resources/libraries/robot/shared/vm.robot b/resources/libraries/robot/shared/vm.robot index 2f15853779..c33ca5fea9 100644 --- a/resources/libraries/robot/shared/vm.robot +++ b/resources/libraries/robot/shared/vm.robot @@ -54,7 +54,9 @@ | | ... | vs_dtc=${cpu_count_int} | nf_dtc=${nf_dtc} | nf_dtcr=${nf_dtcr} | | ... | rxq_count_int=${rxq_count_int} | enable_csum=${False} | | ... | enable_gso=${False} -| | Run Keyword | vnf_manager.Start All VMs | pinning=${pinning} +| | ${cpu_wt}= | Run Keyword | vnf_manager.Start All VMs | pinning=${pinning} +| | ${cpu_alloc_str}= | Catenate | SEPARATOR=, | ${cpu_alloc_str} | ${cpu_wt} +| | Set Test Variable | ${cpu_alloc_str} | | All VPP Interfaces Ready Wait | ${nodes} | retries=${300} | | VPP round robin RX placement on all DUTs | ${nodes} | prefix=Virtual @@ -100,7 +102,9 @@ | | ... | vs_dtc=${cpu_count_int} | nf_dtc=${nf_dtc} | nf_dtcr=${nf_dtcr} | | ... | rxq_count_int=${rxq_count_int} | enable_csum=${False} | | ... | enable_gso=${False} -| | Run Keyword | vnf_manager.Start All VMs | pinning=${pinning} +| | ${cpu_wt}= | Run Keyword | vnf_manager.Start All VMs | pinning=${pinning} +| | ${cpu_alloc_str}= | Catenate | SEPARATOR=, | ${cpu_alloc_str} | ${cpu_wt} +| | Set Test Variable | ${cpu_alloc_str} | | All VPP Interfaces Ready Wait | ${nodes} | retries=${300} | | VPP round robin RX placement on all DUTs | ${nodes} | prefix=Virtual @@ -142,4 +146,6 @@ | | ... | rxq_count_int=${rxq_count_int} | enable_csum=${False} | | ... | enable_gso=${False} | | ... | if1=${DUT1_${int}1}[0] | if2=${DUT1_${int}2}[0] -| | Run Keyword | vnf_manager.Start All VMs | pinning=${pinning} +| | ${cpu_wt}= | Run Keyword | vnf_manager.Start All VMs | pinning=${pinning} +| | ${cpu_alloc_str}= | Catenate | SEPARATOR=, | ${cpu_alloc_str} | ${cpu_wt} +| | Set Test Variable | ${cpu_alloc_str}