make test: fix broken interfaces
Change-Id: I2e092774f81503e04b53cc6c6b5d357fe3fc52ab Signed-off-by: Klement Sekera <ksekera@cisco.com>
This commit is contained in:

committed by
Florin Coras

parent
3e2d57d877
commit
d5c60b96a3
@ -1,18 +1,14 @@
|
||||
#!/usr/bin/env python
|
||||
import random
|
||||
import socket
|
||||
import unittest
|
||||
|
||||
from framework import VppTestCase, VppTestRunner
|
||||
from vpp_sub_interface import VppSubInterface, VppDot1QSubint
|
||||
from vpp_ip_route import VppIpRoute, VppRoutePath, DpoProto, VppIpMRoute, \
|
||||
VppMRoutePath, MRouteEntryFlags, MRouteItfFlags
|
||||
from vpp_sub_interface import VppDot1QSubint
|
||||
from vpp_ip_route import VppIpRoute, VppRoutePath
|
||||
from vpp_papi_provider import L2_VTR_OP
|
||||
|
||||
from scapy.packet import Raw
|
||||
from scapy.layers.l2 import Ether, Dot1Q, ARP
|
||||
from scapy.layers.l2 import Ether, Dot1Q
|
||||
from scapy.layers.inet import IP, UDP
|
||||
from util import ppp
|
||||
from socket import AF_INET, inet_pton
|
||||
|
||||
|
||||
@ -23,7 +19,7 @@ class TestDVR(VppTestCase):
|
||||
super(TestDVR, self).setUp()
|
||||
|
||||
self.create_pg_interfaces(range(4))
|
||||
self.create_loopback_interfaces(range(1))
|
||||
self.create_loopback_interfaces(1)
|
||||
|
||||
for i in self.pg_interfaces:
|
||||
i.admin_up()
|
||||
|
Reference in New Issue
Block a user