diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-06-25 12:44:32 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-07-09 09:54:10 +0000 |
commit | 533fcfe3d177447aee7a3dca5f0d7a5f06d70377 (patch) | |
tree | 1cc563dd180aa6f6326d4192e59d105c8cc9d351 /resources/libraries/python/InterfaceUtil.py | |
parent | cef20e85f1af9e4c1726a5e6132cc2eb1c102edd (diff) |
CSIT-1539 Aligning FUNC/PERF keywords - Phase III
Change-Id: Ibd3e99390bf004173d3d126946b95ffe9ba8f196
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python/InterfaceUtil.py')
-rw-r--r-- | resources/libraries/python/InterfaceUtil.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/libraries/python/InterfaceUtil.py b/resources/libraries/python/InterfaceUtil.py index 7706c14e06..22e7160dc9 100644 --- a/resources/libraries/python/InterfaceUtil.py +++ b/resources/libraries/python/InterfaceUtil.py @@ -1650,6 +1650,8 @@ class InterfaceUtil(object): """ worker_id = 0 worker_cnt = len(VPPUtil.vpp_show_threads(node)) - 1 + if not worker_cnt: + return for placement in InterfaceUtil.vpp_sw_interface_rx_placement_dump(node): for interface in node['interfaces'].values(): if placement['sw_if_index'] == interface['vpp_sw_index'] \ |