ip: ip vrf tests python3 support

Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Ie23c9d2d7325be62ef33df2f0562ab41518f7bf4
This commit is contained in:
Ole Troan
2019-10-18 14:54:30 +02:00
committed by Neale Ranns
parent 5dc5fcf14c
commit 197573320d
2 changed files with 2 additions and 8 deletions

View File

@ -120,7 +120,7 @@ class TestIP6VrfMultiInst(VppTestCase):
# Packet flows mapping pg0 -> pg1, pg2 etc.
cls.flows = dict()
for i in range(len(cls.pg_interfaces)):
multiplicand = i / cls.pg_ifs_per_vrf
multiplicand = i // cls.pg_ifs_per_vrf
pg_list = [
cls.pg_interfaces[multiplicand * cls.pg_ifs_per_vrf + j]
for j in range(cls.pg_ifs_per_vrf)