aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/L2Util.py
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2018-09-07 15:32:06 +0200
committerJan Gelety <jgelety@cisco.com>2018-10-10 08:45:42 +0200
commit12eab1e564e0d5ab34a341039b92612de2973f3c (patch)
tree9bc185d4a6522ddae7cdaee5838caa3c8471b7ca /resources/libraries/python/L2Util.py
parent3b0dfef0cadee1ca820d7c8ff7e1fc6691ff2fe2 (diff)
Add VXLAN scale perf tests
Jira: CSIT-1273 Change-Id: Ic2a41661c158384a5aaa7d4e73f30ffca13ddf82 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/python/L2Util.py')
-rw-r--r--resources/libraries/python/L2Util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/L2Util.py b/resources/libraries/python/L2Util.py
index 2acb6dba34..97cef611c5 100644
--- a/resources/libraries/python/L2Util.py
+++ b/resources/libraries/python/L2Util.py
@@ -43,9 +43,9 @@ class L2Util(object):
to string format (01:02:03:04:05:06).
:param mac_int: MAC address in integer representation.
- :type mac_int: str
+ :type mac_int: int
:returns: String representation of MAC address.
- :rtype: int
+ :rtype: str
"""
return ':'.join(wrap("{:012x}".format(mac_int), width=2))