aboutsummaryrefslogtreecommitdiffstats
path: root/test/vpp_lo_interface.py
diff options
context:
space:
mode:
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