def _create_import_map_factory(self, name, value, cls):
        if self._import_maps_by_name.get(name) is not None:
            raise ImportMapAlreadyExistsError()
        self._import_maps_by_name[name] = cls(value)
dataset/ETHPy150Open osrg/ryu/ryu/services/protocols/bgp/core_managers/import_map_manager.py/ImportMapManager._create_import_map_factory/original