def unicode_test(seg_instance, seg_str):
            seg_gen_str = str(seg_instance)

            self.assertEqual(len(seg_gen_str), 240)
            self.assertEqual(len(seg_str), 240)
            self.assertEqual(seg_gen_str, seg_str)
def query_vpp_config(self):
        ds = list(self._test.vapi.vpp.details_iter(
            self._test.vapi.ip_path_mtu_get))

        for d in ds:
            if self.nh == str(d.pmtu.nh) \
               and self.table_id == d.pmtu.table_id \
               and self.pmtu == d.pmtu.path_mtu:
                return True
        return False