summaryrefslogtreecommitdiffstats
path: root/test/vpp_lo_interface.py
diff options
context:
space:
mode:
authorMatej Klotton <mklotton@cisco.com>2016-11-23 15:27:17 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2016-11-24 09:32:57 +0000
commitc5bf07fabe46c175890bb5661a85ed076fbf7f2d (patch)
tree1397692701d694be941eecb61a69ea2ee5f1b408 /test/vpp_lo_interface.py
parent1cd8f3c98561771c23d04ac825c745b3b1b28735 (diff)
Remove postinit from make-test interfaces
Change-Id: I1eb0f735c5d025e6096d5760eb01419a1c58530a Signed-off-by: Matej Klotton <mklotton@cisco.com>
Diffstat (limited to 'test/vpp_lo_interface.py')
-rw-r--r--test/vpp_lo_interface.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/vpp_lo_interface.py b/test/vpp_lo_interface.py
index ef8152513ac..19ee1523d55 100644
--- a/test/vpp_lo_interface.py
+++ b/test/vpp_lo_interface.py
@@ -7,8 +7,7 @@ class VppLoInterface(VppInterface):
def __init__(self, test, lo_index):
""" Create VPP loopback interface """
- self._lo_index = lo_index
- self._test = test
- r = self.test.vapi.create_loopback()
+ r = test.vapi.create_loopback()
self._sw_if_index = r.sw_if_index
- self.post_init_setup()
+ super(VppLoInterface, self).__init__(test)
+ self._lo_index = lo_index