updated test_links to avoid running a system command and the need to use iperf/ping

This commit is contained in:
bharnden 2019-09-10 21:33:35 -07:00
parent fb8fc46d0d
commit b4bc9c23a3
10 changed files with 34 additions and 161 deletions

View file

@ -7,6 +7,8 @@ import threading
import time
import pytest
from mock.mock import MagicMock
from core.api.grpc.client import InterfaceHelper
from core.api.grpc.server import CoreGrpcServer
from core.api.tlv.coreapi import CoreConfMessage, CoreEventMessage
@ -17,7 +19,6 @@ from core.emulator.emudata import IpPrefixes
from core.emulator.enumerations import CORE_API_PORT, ConfigTlvs, EventTlvs, EventTypes
from core.nodes import ipaddress
from core.services.coreservices import ServiceManager
from mock.mock import MagicMock
EMANE_SERVICES = "zebra|OSPFv3MDR|IPForward"