diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-01-07 07:57:41 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-01-07 11:03:15 -0500 |
| commit | 0b01a0bbc48e0b559834e7fffad4fb912dbbeb57 (patch) | |
| tree | 58e81b257af61da0f8d07a327e13b16dcadf0d60 /tests/topotests/lib/pim.py | |
| parent | 9f9efe7efafd20929146149b978c1216aeca19fa (diff) | |
tests: Rename poorly named function
verify_pim_interface_traffic *fetches* the pim
traffic data. Rename the function to what it
actually does
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/lib/pim.py')
| -rw-r--r-- | tests/topotests/lib/pim.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/topotests/lib/pim.py b/tests/topotests/lib/pim.py index dd2f787014..1f723eab93 100644 --- a/tests/topotests/lib/pim.py +++ b/tests/topotests/lib/pim.py @@ -1443,16 +1443,16 @@ def verify_pim_state( return True -def verify_pim_interface_traffic(tgen, input_dict): +def get_pim_interface_traffic(tgen, input_dict): """ - Verify ip pim interface traffice by running + get ip pim interface traffice by running "show ip pim interface traffic" cli Parameters ---------- * `tgen`: topogen object * `input_dict(dict)`: defines DUT, what and from which interfaces - traffic needs to be verified + traffic needs to be retrieved Usage ----- input_dict = { @@ -1466,7 +1466,7 @@ def verify_pim_interface_traffic(tgen, input_dict): } } - result = verify_pim_interface_traffic(tgen, input_dict) + result = get_pim_interface_traffic(tgen, input_dict) Returns ------- |
