aboutsummaryrefslogtreecommitdiffstats
path: root/test/framework.py
diff options
context:
space:
mode:
authorMatej Klotton <mklotton@cisco.com>2016-12-22 11:06:56 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-09 13:33:39 +0000
commit8d8a1da52907246c3218ea7c60ab8ca0569d0a83 (patch)
treed988a4071df8bcf65d604587dfa69c4d6c331b25 /test/framework.py
parent0120e235ad0103c1318b6be5065d79d372439bba (diff)
make test: Loopback interface CRUD test
Change-Id: I0581da7a682bfe4dd6520ecf1b2ea6bd8c20b1b3 Signed-off-by: Matej Klotton <mklotton@cisco.com>
Diffstat (limited to 'test/framework.py')
-rw-r--r--test/framework.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/framework.py b/test/framework.py
index 324a64ce6d3..e364a8f58be 100644
--- a/test/framework.py
+++ b/test/framework.py
@@ -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: