beautypg.com

Executing runtest, and other methods in wbemtest – Dell Intel PRO Family of Adapters User Manual

Page 54

background image

The referenced parameter ManagedSystemElement, combined with this object’s object path combine to reference

instances of DiagnosticResultForMSE, which will be deleted. Also, all references of DiagnosticResult objects referenced

by DiagnosticResultForMSE will be deleted. Also, all instances of DiagnosticResultForTest, which refer to the deleted

DiagnosticResult objects, will be deleted. Finally, the string array Output parameter ResultsNotCleared will list the keys

of the DiagnosticResults, which could not be cleared.

Class Hierarchy

For CimV2. Unused properties and methods not shown.

CIM_ManagedElement:

Caption

Description

CIM_ManagedSystemElement:

Install Date

Name

Status

CIM_LogicalElement

CIM_Service:

Key

Name (string)

Properties

Caption (string)

CreationClassName (string)

Description (string)

Started (boolean)

StartMode (string)

Status (string)

SystemCreationClass (string)

SystemName (string)

CIM_DiagnosticTest:

Properties

Characteristics (uint16 array)

IsInUse (Boolean)

ResourcesUsed (uint16 array)

Methods

RunTest

ClearResults

DiscontinueTest

Executing RunTest, and Other Methods in WbemTest

The RunTest method from the MOF file is as follows:

uint32
RunTest([IN] CIM_ManagedSystemElement ref SystemElement,
[IN] CIM_DiagnosticSetting ref Setting,
[OUT] CIM_DiagnosticResult ref Result);

The first two parameters are In parameters. You must get the object path of both objects referenced. You must also get the

object path of the IANet_DiagTest object, which is exporting the RunTest object.

1. From the main WBEM test dialog box, click Connect.

2. Enter the appropriate Server\Namespace. Namespaces IntelNCS and CimV2 are supported.

3. Click the Enum Instances button of WBEM test and enter IANet_DiagTest.

4. Double-click the instance of IANet_DiagTest. The name will be in the form X@[AdapterGUID}, where X is the test name

and AdapterGUID will be the Adapter Name, same as the Name key of the IANet_EthernetAdapter.

5. The following is an example of the object path retrieved:

\\MYCOMPUTER\root\Cimv2:IANet_DiagTest.Name="1@{4A0CDABE-F6C3-45D0-B60D-F6E7BAFA2C2C}"

6. Save the object path.

7. Click the Enum Instances button of WBEM test and enter IANet_EthernetAdapter.

8. Double-click on the adapter to be tested.

9. The following is an example of the object path retrieved:

\\MYCOMPUTER\root\cimv2:IANet_EthernetAdapter.DeviceID="{4A0CDABE -F6C3-45D0-B60D-F6E7BAFA2C2C}"

10. Save the object path.

11. Click the Enum Instances button of WBEM test and enter IANet_DiagSetting.

12. Double-click on the setting that represents the adapter/test combination.

13. The following is an example of the object path retrieved:

\\MYCOMPUTER\root\cimv2:IANet_DiagSetting.SettingID="1@{4A0CDABE-F6C3-45D0-B60D-F6E7BAFA2C2C}"

14. Save the object path.

15. From the main WBEM test dialog box, click Execute Method.

54