def connect(self): 
        try:
            self.connection = pymongo.Connection(self.host, self.port)
            self.db = self.connection[self.name]
        except AutoReconnect:
            raise DatabaseException("It's not possible connect to the database")
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