def _convert_dpid(self, dpid_str):
        try:
            return int(dpid_str, 16)
        except __HOLE__ as err:
            self.logger.error('Invarid dpid parameter. %s', err)
            self._test_end()
dataset/ETHPy150Open osrg/ryu/ryu/tests/switch/tester.py/OfTester._convert_dpid