def read(*parts):
    """
    Build an absolute path from *parts* and and return the contents of the
    resulting file.  Assume UTF-8 encoding.
    """
    with codecs.open(os.path.join(HERE, *parts), "rb", "utf-8") as f:
        return f.read()
def add_vpp_config(self):
        self._test.vapi.ip_path_mtu_update(pmtu={'nh': self.nh,
                                                 'table_id': self.table_id,
                                                 'path_mtu': self.pmtu})
        self._test.registry.register(self, self._test.logger)
        return self