def _parse_ip_translation(self, ip_translation_dict):
        """Parse the ip_translation field into an IPTranslationStrategySpec object.

        Args:
            ip_translation_dict: (dict) An unprocessed dictionary of
                ip_translation data from the input selector file.

        Returns:
            IPTranslationStrategySpec: An IPTranslationStrategySpec, which
            specifies properties of the IP translation strategy according to
            the selector file.
        """
        try:
            ip_translation_spec = iptranslation.IPTranslationStrategySpec
            ip_translation_spec.strategy_name = ip_translation_dict['strategy']
            ip_translation_spec.params = ip_translation_dict['params']
            return ip_translation_spec
        except __HOLE__ as e:
            raise SelectorParseError(
                ('Missing expected field in ip_translation '
                 'dict: %s') % e.args[0])
dataset/ETHPy150Open m-lab/telescope/telescope/selector.py/SelectorFileParser._parse_ip_translation