make test: Loopback interface CRUD test

Change-Id: I0581da7a682bfe4dd6520ecf1b2ea6bd8c20b1b3
Signed-off-by: Matej Klotton <mklotton@cisco.com>
This commit is contained in:
Matej Klotton
2016-12-22 11:06:56 +01:00
committed by Damjan Marion
parent 0120e235ad
commit 8d8a1da529
5 changed files with 226 additions and 28 deletions

View File

@ -355,9 +355,10 @@ class VppTestCase(unittest.TestCase):
@classmethod
def create_pg_interfaces(cls, interfaces):
"""
Create packet-generator interfaces
Create packet-generator interfaces.
:param interfaces: iterable indexes of the interfaces
:param interfaces: iterable indexes of the interfaces.
:returns: List of created interfaces.
"""
result = []
@ -371,10 +372,10 @@ class VppTestCase(unittest.TestCase):
@classmethod
def create_loopback_interfaces(cls, interfaces):
"""
Create loopback interfaces
:param interfaces: iterable indexes of the interfaces
Create loopback interfaces.
:param interfaces: iterable indexes of the interfaces.
:returns: List of created interfaces.
"""
result = []
for i in interfaces: