diff options
author | Vratko Polak <vrpolak@cisco.com> | 2023-12-07 13:52:09 +0100 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2023-12-07 15:53:24 +0000 |
commit | 6df2c5b1e949d3155626c9f6870b2977c03c8eb0 (patch) | |
tree | 8add112ab32cd4f8dee27cb560f6f15e1ea6ff66 | |
parent | ad96560179d0bef2fb2fe4afd236bdfa8ce44c41 (diff) |
fix(CpuUtils): correct robot variable namesoper-231204
Fixes: 76fcd8422842d0756338502213de561eaa93e670
Change-Id: Ie642aeed5c55d479e0e4b87be965b4b5f70d6612
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
(cherry picked from commit 679e03755af02a6eafd87a25543c652ae7bba3ee)
-rw-r--r-- | resources/libraries/python/CpuUtils.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/libraries/python/CpuUtils.py b/resources/libraries/python/CpuUtils.py index 7840b5fa6c..c77d0f83b1 100644 --- a/resources/libraries/python/CpuUtils.py +++ b/resources/libraries/python/CpuUtils.py @@ -524,15 +524,15 @@ class CpuUtils: continue # Number of Data Plane physical cores. dp_cores_count = BuiltIn().get_variable_value( - "${{dp_cores_count}}", phy_cores + "${dp_cores_count}", phy_cores ) # Number of Feature Plane physical cores. fp_cores_count = BuiltIn().get_variable_value( - "${{fp_cores_count}}", phy_cores - dp_cores_count + "${fp_cores_count}", phy_cores - dp_cores_count ) # Ratio between RX queues and data plane threads. rxq_ratio = BuiltIn().get_variable_value( - "${{rxq_ratio}}", 1 + "${rxq_ratio}", 1 ) dut_pf_keys = BuiltIn().get_variable_value( @@ -540,7 +540,7 @@ class CpuUtils: ) # SMT override in case of non standard test cases. smt_used = BuiltIn().get_variable_value( - "${{smt_used}}", CpuUtils.is_smt_enabled(node["cpuinfo"]) + "${smt_used}", CpuUtils.is_smt_enabled(node["cpuinfo"]) ) cpu_node = Topology.get_interfaces_numa_node(node, *dut_pf_keys) |