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

Page 41

Advertising
background image

members of the team.

The association class IANet_NetworkVirtualAdapter contains no useful data - clients are really only interested in the endpoints

of this association. IANet_TeamedMemberAdapter does contain useful data about how the member adapter is used within the

team.

Task

WQL Queries

Result Class

Comments

Enumerate

all teams

SELECT * FROM

IANet_TeamOfAdapters

IANet_TeamOfAdapters

There is one instance of

IANet_TeamOfAdapters for each team.

This is equivalent to

IWbemServices::CreateInstanceEnumAsync.

Get the

virtual

adapter for

a team

ASSOCIATORS OF

{IANet_TeamOfAdapters path}

WHERE AssocClass =

IANet_NetworkVirtualAdapter

IANet_EthernetAdapter

Returns only the adapter object for the

virtual adapter in the team. This adapter

will not exist if the team has been created

but Apply has not been called. (see below

on updating the configuration).

Enumerate

the team’s

member

adapters

ASSOCIATORS OF

{IANet_TeamOfAdapters path}

WHERE AssocClass =

IANet_TeamedMemberAdapter

IANet_EthernetAdapter

Returns the adapters which are in the team,

but does not describe what role the adapter

plays.

Determine

an

adapter’s

role in a

team

REFERENCES OF

{IANet_EthernetAdapter path}

WHERE ResultClass =

IANet_TeamedMemberAdapter

IANet_TeamedMemberAdapter The class contains information about how

the member adapter relates to the team

and its current status within the team.

Back to Top

Getting the Team Settings

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

a configuration object which is associated with the virtual IANet_EthernetAdapter for the team. The same configuration object

is also associated with the IANet_TeamOfAdapters object for the team.

The classes involved with this part of the schema are IANet_EthernetAdapter, IANet_TeamOfAdapters, 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. This is exactly the same as the adapter settings case.

Task

WQL Queries

Result Class

Comments

Get the

configuration object

for the team,

starting with the

virtual 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

configuration object

for the team,

starting with the

team of adapters

ASSOCIATORS OF

{IANet_TeamOfAdapters

path} WHERE

ResultClass =

IANet_Configuration

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,

Returns all the setting classes associated

with the adapter. The client should use the

__CLASS attribute to determine that type

of each setting.

41

Advertising