Getting the adapter settings, Getting the team configuration – Dell Intel PRO Family of Adapters User Manual

Page 40

Advertising
background image

devices

configure.

This is equivalent to

IWbemServices::CreateInstanceEnumAsync.

Enumerate all PCI

devices used by

Intel® PROSet

configured

adapters.

SELECT * FROM

IANet_EthernetPCIDevice

IANet_EthernetPCIDevice The query returns just the PCI devices that

Intel® PROSet manages.

This is equivalent to

IWbemServices::CreateInstanceEnumAsync.

Determine if

adapter is

installed.

N/A

IANet_EthernetPCIDevice Check the “Availability” attribute of

IANet_EthernetPCIDevice. If equal to 10 -

“Not Installed”, then the device is not

installed. Note: Not much information is

known about the device at this stage.

Get the PCI Device

associated with an

adapter

ASSOCIATORS OF {

IANet_EthernetAdapter

path} WHERE ResultClass =

IANet_EthernetPCIDevice

IANet_EthernetPCIDevice If this returns no objects, then the adapter

is either virtual or a phantom adapter.

Get the adapter

associated with a

PCI device

ASSOCIATORS OF {Ethernet

PCI device path} WHERE

ResultClass =

IANet_EthernetAdapter

IANet_EthernetAdapter

This query is not optimal for the Provider –

it is preferred that the client starts with the

adapter.

Back to Top

Getting the Adapter Settings

The setting objects are not associated with the adapter directly. In conformance with the CIM standard, they are associated

with a configuration object, which is associated with the adapter.

The classes involved with this part of the schema are IANet_EthernetAdapter, IANet_Configuration, IANet_SettingInt,

IANet_SettingString, IANet_SettingEnum, IANet_SettingMultiSelection and IANetSettingSlider.

The association classes IANet_AdapterConfiguration and IANet_SettingContext do not contain any real data - they act as glue

between the settings and their parent object.

Task

WQL Queries

Result Class

Comments

Get the

Configuration

object for

the adapter

ASSOCIATORS OF

{IANet_EthernetAdapter

path} WHERE ResultClass

= IANet_Configuration

IANet_Configuration

Returns exactly one object; even if there are

no settings there will always be a configuration

object. The object path from this object is

used in the next query.

Get the

settings

associated

with an

adapter

ASSOCIATORS OF

{IANet_Configuration

path} WHERE AssocClass

= IANet_SettingContext

A mixture of

IANet_SettingInt,

IANet_SettingString,

IANet_SettingEnum,

IANet_SettingMultiSelection,

IANet_SettingSlider

Returns all the setting classes associated with

the adapter. The client should use the

__CLASS attribute to determine that type of

each setting.

Back to Top

Getting the Team Configuration

The main classes in the teaming schema are IANet_EthernetAdapter, IANet_TeamOfAdapters, IANet_NetworkVirtualAdapter

and IANet_TeamedMemberAdapter.

The challenge in this schema is that an instance of IANet_EthernetAdapter exists for each physical adapter and for each

virtual adapter. The client must be capable of distinguishing between the virtual adapter for a team and the adapters that are

40

Advertising