Diagnostics, Diagnostic classes – Dell Intel PRO Family of Adapters User Manual

Page 53

Advertising
background image

Back to Contents Page

Diagnostics: Intel® PRO Network Adapters WMI and CDM

Providers User Guide

Diagnostic Classes

Registry Entries

Logging

Associative Classes

Tests

Diagnostic Classes

IANet_DiagTest

Purpose

IANet_DiagTest is subclassed from CIM_DiagnosticTest. The class provides a generic vehicle to run and control diagnostic

tests for an Intel® PROSet supported Ethernet adapter. The superclass, CIM_DiagnosticTest, is designed to generically

support the testing of any computer hardware on a CIM enabled system. Properties of the class are descriptive in nature and

the mechanics of the testing are provided by the exposed methods.

Instances

Key is Name and in this provider it is the concatenation of a numeric index of the test at the GUID of the referenced adapter

(e.g. 1@{12345678-9ABC-DEF0-1234-123456789012}). This key value is, in one sense, redundant information, as all

information to reference an adapter and test is passed as object parameters to the RunTest and other methods. Still, the

instance must be consistent with parameters to the method or the provider will reject the command. The caption property

provides the name of the test that this instance will run. Other properties provide other description and run-time information.

Creating Instances

You cannot create instances of IANet_DiagTest.

Deleting Instances

You cannot delete instances of IANet_DiagTest.

Modifying Properties

There are no user-modifiable properties for this class.

Associations

An instance of IANet_DiagTestForMSE associates an IANet_DiagTest with an IANet_ManagedSystemElement. The

IANet_ManagedSystemElement will be an IANet_EthernetAdapter instance.

An instance of IANet_DiagResultForTest associates an IANet_DiagTest with an IANet_DiagnosticResult instance.

An instance of IANetDiagSettingForTest associates an IANet_DiagTest with an IANet_DiagSetting.

Unsupported Properties

Install Date, OtherCharacteristicDescription

Methods

This class supports the following methods:

RunTest — Runs a test as defined by three parameters referencing:

SystemElement — defines the adapter, which we are to run the test on by referring to an instance of

SystemElement, which will always be the subclass IANet_EthernetAdapter.

Setting — defines the test to be run, and the manner in which it is run by referring to an instance of

CIM_DiagnosticSetting, which will always be the subclass IANet_DiagSetting.

DiagnosticResult — defines an instance of the class CIM_DiagnosticResult, which will always be the class

IANet_DiagResult.

DiscontinueTest — Attempts to stop a diagnostic test in progress as defined by two parameters referencing

CIM_ManagedSystemElement and CIM_DiagnosticResult. These parameters function the same as RunTest. A third

parameter TestingStopped returns a BOOLEAN value, which indicates if the command was successful in stopping the

test.

ClearResults — Clears test results using parameters:

SystemElement

ResultsNotCleared

53

Advertising