diff options
author | Matej Klotton <mklotton@cisco.com> | 2016-03-24 16:14:20 +0100 |
---|---|---|
committer | Stefan Kobza <skobza@cisco.com> | 2016-04-22 15:06:08 +0000 |
commit | 8c12ff59f1a5e750151f5eb0e806dcc80e91c3c2 (patch) | |
tree | d42ae972c451e4d0714f000ce9262a64ca06848c /resources/libraries/python/VatJsonUtil.py | |
parent | 4a7f950c10ca9bcf86e5ccbc3d49a3d7e3cb9809 (diff) |
Reformat python libraries.
PEP8 reformat
fix typos
docstrings reformat
Change-Id: Ic48ba4e06490630808b8e2ab1ab0b046ec7eeed7
Signed-off-by: Matej Klotton <mklotton@cisco.com>
Diffstat (limited to 'resources/libraries/python/VatJsonUtil.py')
-rw-r--r-- | resources/libraries/python/VatJsonUtil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/VatJsonUtil.py b/resources/libraries/python/VatJsonUtil.py index c1a9e4b8de..05c93a1d06 100644 --- a/resources/libraries/python/VatJsonUtil.py +++ b/resources/libraries/python/VatJsonUtil.py @@ -43,7 +43,7 @@ class VatJsonUtil(object): """Return interface dictionary from interface_list by MAC address. Extracts interface dictionary from all of the interfaces in interfaces - list parsed from json according to mac_address of the interface. + list parsed from JSON according to mac_address of the interface. :param interfaces_list: Interfaces parsed from JSON. :param mac_address: MAC address of interface we are looking for. @@ -78,7 +78,7 @@ class VatJsonUtil(object): @staticmethod def update_vpp_interface_data_from_json(node, interface_dump_json): - """Update vpp node data in node__DICT from json interface dump. + """Update vpp node data in node__DICT from JSON interface dump. This method updates vpp interface names and sw if indexes according to interface MAC addresses found in interface_dump_json. |