From c8efa29b6f9a91381897b54f1147daf922ed7164 Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Fri, 22 Jun 2018 22:33:41 +0200 Subject: Revert "make test: fix broken interfaces" This reverts commit d5c60b96a3fd93916fc4af5c8d6d25625c28242e. Change-Id: I3632b9c3f76c615aee897f28f76d094e7031e689 Signed-off-by: Ole Troan --- test/vpp_vhost_interface.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/vpp_vhost_interface.py') diff --git a/test/vpp_vhost_interface.py b/test/vpp_vhost_interface.py index e86be5d27b5..2249b062a64 100644 --- a/test/vpp_vhost_interface.py +++ b/test/vpp_vhost_interface.py @@ -9,7 +9,7 @@ class VppVhostInterface(VppInterface): tag=''): """ Create VPP Vhost interface """ - super(VppVhostInterface, self).__init__(test) + self._test = test self.is_server = is_server self.sock_filename = sock_filename self.renumber = renumber @@ -26,7 +26,8 @@ class VppVhostInterface(VppInterface): self.use_custom_mac, self.mac_address, self.tag) - self.set_sw_if_index(r.sw_if_index) + self._sw_if_index = r.sw_if_index + super(VppVhostInterface, self).__init__(self._test) def remove_vpp_config(self): self.test.vapi.delete_vhost_user_if(self.sw_if_index) -- cgit 1.2.3-korg