Test framework: StringIO fixes for Python3

Add 2/3 support to binarytomac and mactobinary and move to vpp_mac.py

Change-Id: I3dc7e4a24486aee22140c781aae7e44e58935877
Signed-off-by: Ole Troan <ot@cisco.com>
This commit is contained in:
Ole Troan
2018-12-06 17:35:12 +01:00
committed by Neale Ranns
parent 521a8d7df4
commit 7f99183a20
23 changed files with 124 additions and 126 deletions

View File

@ -19,8 +19,8 @@ from scapy.layers.inet6 import IPv6, UDP, ICMPv6ND_NS, ICMPv6ND_RS, \
ICMPv6ND_NA, ICMPv6NDOptDstLLAddr, ICMPv6DestUnreach, icmp6types
from framework import VppTestCase, VppTestRunner
from util import Host, ppp, mactobinary
from vpp_mac import VppMacAddress
from util import Host, ppp
from vpp_mac import VppMacAddress, mactobinary
from vpp_ip import VppIpAddress