Remove postinit from make-test interfaces

Change-Id: I1eb0f735c5d025e6096d5760eb01419a1c58530a
Signed-off-by: Matej Klotton <mklotton@cisco.com>
This commit is contained in:
Matej Klotton
2016-11-23 15:27:17 +01:00
committed by Damjan Marion
parent 1cd8f3c985
commit c5bf07fabe
4 changed files with 33 additions and 44 deletions

View File

@ -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