'Set a few counter names based on Data ONTAP version.'

def _init_counter_info(self):

    super(PerformanceCmodeLibrary, self)._init_counter_info()
    try:
        if self.zapi_client.features.SYSTEM_CONSTITUENT_METRICS:
            self.system_object_name = 'system:constituent'
            self.avg_processor_busy_base_counter_name = self._get_base_counter_name('system:constituent', 'avg_processor_busy')
        elif self.zapi_client.features.SYSTEM_METRICS:
            self.system_object_name = 'system'
            self.avg_processor_busy_base_counter_name = self._get_base_counter_name('system', 'avg_processor_busy')
    except netapp_api.NaApiError:
        if self.zapi_client.features.SYSTEM_CONSTITUENT_METRICS:
            self.avg_processor_busy_base_counter_name = 'cpu_elapsed_time'
        else:
            self.avg_processor_busy_base_counter_name = 'cpu_elapsed_time1'
        LOG.exception('Could    not    get    performance    base    counter    name.    Performance-based    scheduler    functions    may    not    be    available.')
