'Sets up and initializes E-Series feature support map.'

def _init_features(self):

    self.features = na_utils.Features()
    (self.api_operating_mode, self.api_version) = self.get_eseries_api_info(verify=False)
    api_version_tuple = tuple((int(version) for version in self.api_version.split('.')))
    chap_valid_version = self._validate_version(self.CHAP_VALID_VERSION, api_version_tuple)
    self.features.add_feature('CHAP_AUTHENTICATION', supported=chap_valid_version, min_version=self._version_tuple_to_str(self.CHAP_VALID_VERSION))
    asup_api_valid_version = self._validate_version(self.ASUP_VALID_VERSION, api_version_tuple)
    self.features.add_feature('AUTOSUPPORT', supported=asup_api_valid_version, min_version=self._version_tuple_to_str(self.ASUP_VALID_VERSION))
    rest_1_3_api_valid_version = self._validate_version(self.REST_1_3_VERSION, api_version_tuple)
    rest_1_4_api_valid_version = any((self._validate_version(valid_version, api_version_tuple) for valid_version in self.REST_1_4_VERSIONS))
    ssc_api_valid_version = any((self._validate_version(valid_version, api_version_tuple) for valid_version in self.SSC_VALID_VERSIONS))
    self.features.add_feature('SSC_API_V2', supported=ssc_api_valid_version, min_version=self._version_tuple_to_str(self.SSC_VALID_VERSIONS[0]))
    self.features.add_feature('REST_1_3_RELEASE', supported=rest_1_3_api_valid_version, min_version=self._version_tuple_to_str(self.REST_1_3_VERSION))
    self.features.add_feature('REST_1_4_RELEASE', supported=rest_1_4_api_valid_version, min_version=self._version_tuple_to_str(self.REST_1_4_VERSIONS[0]))
