Getting the vlan configuration, Getting the vlan settings, Getting the ip protocol information – Dell Intel PRO Family of Adapters User Manual
Page 42

IANet_SettingSlider
Getting the VLAN Configuration
Each adapter that supports VLANs has an IANet_802dot1QVLANService associated with it, using the association class
IANet_Device802do1QVVLANServiceImplementation. If an adapter does not have an instance of this class associated with it,
then it does not support VLANs.
Each VLAN is represented by an instance of IANet_VLAN. The VLAN is not directly associated with the adapter - it is
associated with the IANet_802dot1QVLANService for the adapter.
The association class IANet_VLANFor is used to associate each VLAN instance with the correct IANet_802dot1QVLANService.
This class contains no useful data for the user.
Task
WQL Queries
Result Class
Comments
Get the 802.1q VLAN service
object associated with an
adapter
ASSOCIATORS OF {IANet_EthernetAdapter
path} WHERE ResultClass =
IANet_802dot1QVLANService
IANet_802dot1QVLANService Returns
one or no
object(s).
Get the VLANs on an adapter ASSOCIATORS OF
{IANet_802dot1QVLANService path} WHERE
ResultClass = IANet_VLAN
IANet_VLAN
This can
return no
objects if
there are
no VLANs
installed.
Getting the VLAN Settings
The setting objects are not associated with the VLAN directly. In conformance with the CIM standard, they are associated with
a configuration object, which is associated with the IANet_VLAN object for the VLAN.
The classes involved with this part of the schema are IANet_VLAN, IANet_Configuration, IANet_SettingInt,
IANet_SettingString, IANet_SettingEnum, IANet_SettingMultiSelection and IANetSettingSlider.
The association classes IANet_VLANConfiguration 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 VLAN
ASSOCIATORS OF
{IANet_VLAN 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 a VLAN
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 VLAN. The client should use the
__CLASS attribute to determine the type of
each setting.
Getting the IP Protocol Information
42