#pragma namespace("\\\\.\\Root\\IntelNCS2") Instance of __Win32Provider as $P { Name = "Ncs2"; ClsId = "{AF7799A5-A3E7-455C-92B5-8F9D7C127B15}"; Pure = FALSE; ImpersonationLevel = 3; PerUserInitialization = TRUE; UnloadTimeout = "00000000000500.000000:000"; }; Instance of __MethodProviderRegistration { Provider = $P; }; Instance of __InstanceProviderRegistration { Provider = $P; SupportsPut = TRUE; SupportsGet = TRUE; SupportsDelete = TRUE; SupportsEnumeration = TRUE; QuerySupportLevels = {"WQL:UnarySelect"}; }; [Abstract,LOCALE(1033)] class IANet_EthernetAdapter : CIM_EthernetAdapter { [Override("NetworkAddresses"),MaxLen(64),ArrayType("Indexed"),MappingStrings{"MIF.DMTF|Network Adapter 802 Port|001.3"} : ToSubclass,ModelCorrespondence{"IANet_EthernetAdapter.NetworkAddressDescription"} : ToSubclass] string NetworkAddresses[]; string MiniPortName; string MiniPortInstance; }; [dynamic,provider("Ncs2"),IANet_ModuleIdentifier("Ncs2Core.dll"),LOCALE(1033)] class IANet_PhysicalEthernetAdapter : IANet_EthernetAdapter { string PartNumber; string SanMacAddress; string ETrackID; string SpeedString; uint16 DeviceStatus; string DeviceStatusString; uint16 PHYDevice; string OtherPhyDevice; uint16 BusType; uint16 NegotiatedLinkSpeed; uint16 NegotiatedLinkWidth; uint16 PortNumber; uint16 PartitionNumber; uint16 MediaType; uint64 ExtendedStatus; string OtherMediaType; uint32 ControllerID; [ModelCorrespondence{"IANet_PhysicalEthernetAdapter.AdapterStatus"}] uint32 AdapterStatus; [ModelCorrespondence{"IANet_PhysicalEthernetAdapter.EEELinkStatus"}] uint64 EEELinkStatus; [Override("Capabilities"),ArrayType("Indexed"),ModelCorrespondence{"IANet_PhysicalEthernetAdapter.CapabilityDescriptions"}] uint16 Capabilities[]; [Override("CapabilityDescriptions"),ArrayType("Indexed"),ModelCorrespondence{"IANet_PhysicalEthernetAdapter.Capabilities"}] string CapabilityDescriptions[]; uint32 HardwareStatus; [ModelCorrespondence{"IANet_PhysicalEthernetAdapter.OtherEnabledCapabilityIDs"}] uint16 OtherEnabledCapabilityIDs[]; [ModelCorrespondence{"IANet_PhysicalEthernetAdapter.OtherEnabledCapabilities"}] string OtherEnabledCapabilities[]; [ModelCorrespondence{"IANet_PhysicalEthernetAdapter.OtherEnabledCapabilities"}] string OtherCapabilityDescriptions[]; string SlotID; string Location; string EEPROMVersion; string OTPVersion; string OriginalDisplayName; string PCIDeviceID; string ConnectionName; [implemented] uint32 GetHbaPath([out] string HbaPath); [implemented] uint32 IsFcoePagingFileLocatedOnTarget([out] boolean bHasRemotePagingFile); [implemented] uint32 IdentifyAdapter([in] uint16 nSeconds); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.GetPowerUsageOptions"}] uint32 GetPowerUsageOptions([OUT] uint32 AutoPowerSaveModeEnabled,[OUT] uint32 ReduceSpeedOnPowerDown,[OUT] uint32 SmartPowerDown,[OUT] uint32 SavePowerNowEnabled,[OUT] uint32 EnhancedASPMPowerSaver,[OUT] uint32 ACBSMode,[OUT] uint32 LinkSpeedBatterySaver,[OUT] uint32 SystemIdlePowerSaver); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.SetPowerUsageOptions"}] uint32 SetPowerUsageOptions([IN] uint32 AutoPowerSaveModeEnabled,[IN] uint32 ReduceSpeedOnPowerDown,[IN] uint32 SmartPowerDown,[IN] uint32 SavePowerNowEnabled,[IN] uint32 EnhancedASPMPowerSaver,[IN] uint32 ACBSMode,[IN] uint32 LinkSpeedBatterySaver,[IN] uint32 SystemIdlePowerSaver); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.GetWakeOnLanPowerOptions"}] uint32 GetWakeOnLanPowerOptions([OUT] uint32 WakeFromPowerOff,[OUT] uint32 WakeOnLink,[OUT] uint32 WakeOnMagicPacket,[OUT] uint32 WakeOnDirectedPacket,[OUT] uint32 WakeOnPattern); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.SetWakeOnLanPowerOptions"}] uint32 SetWakeOnLanPowerOptions([IN] uint32 WakeFromPowerOff,[IN] uint32 WakeOnLink,[IN] uint32 WakeOnMagicPacket,[IN] uint32 WakeOnDirectedPacket,[IN] uint32 WakeOnPattern); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.SetPowerMgmtCapabilities"}] uint32 SetPowerMgmtCapabilities(); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.IsSetPowerMgmtCapabilitiesReq"}] uint32 IsSetPowerMgmtCapabilitiesReq([OUT] boolean bIsSetRequired); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.IsiSCSISupported"}] uint32 IsiSCSISupported([OUT] boolean bIsiSCSIOS,[OUT] boolean bIsiSCSIPatch,[OUT] boolean bIsiSCSIHotFix); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.ValidateSettingOnNewTeam"}] uint32 ValidateSettingOnNewTeam([IN] string Adapters[],[IN] string SettingName,[OUT] uint64 ValResult); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.GetListOfAvailableTeamModes"}] uint32 GetListOfAvailableTeamModes([IN] string Adapters[],[OUT] uint32 TeamModes[]); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.ValidateSettingOnNewTeamEx"}] uint32 ValidateSettingOnNewTeamEx([IN] string Adapters[],[IN] uint32 PerformanceProfile,[IN] uint32 Reserved1,[IN] uint32 Reserved2,[OUT] uint64 ValResult); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.GetListOfSupportedPerformanceProfilesOnNewTeam"}] uint32 GetListOfSupportedPerformanceProfilesOnNewTeam([IN] string Adapters[],[OUT] string PerformanceProfileNames[],[OUT] uint32 PerformanceProfileValues[]); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.SetupDCB_Defaults"}] uint32 SetupDCB_Defaults([OUT] uint32 ValResult); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.IsiSCSIEnabled"}] uint32 IsiSCSIEnabled([OUT] uint32 iSCSIStatus); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.IsMacsecEnabled"}] uint32 IsMacsecEnabled([OUT] uint32 iMacsecStatus); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.IsMacsecEnabledOnDevice"}] uint32 IsMacsecEnabledOnDevice([OUT] boolean bMacsecBound); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.IsAmtEnabledOnDevice"}] uint32 IsAmtEnabledOnDevice([OUT] boolean bAmtEnabled); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.GetNDISVersion"}] uint32 GetNDISVersion([OUT] uint32 dwMajorVersion,[OUT] uint32 dwMinorVersion); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.GetAdapterFanStatus"}] uint32 GetAdapterFanStatus([OUT] uint32 dwAdapterFanStatus); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.GetAdapterWarnings"}] uint32 GetAdapterWarnings([OUT] UINT64 dwAdapterWarnings); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.EnableJumboFramesOnFcoeDevices"}] uint32 EnableJumboFramesOnFcoeDevices(); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.InitializePerformanceProfilesOnDevices"}] uint32 InitializePerformanceProfilesOnDevices([IN] boolean bInitializeValues,[OUT] uint64 ValResult); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.ValidateSettingsModification"}] uint32 ValidateSettingsModification([IN] SettingObj settings[],[IN] uint32 bSetValues,[OUT] WarningMessageObj WarningMessages[]); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.SetSettings"}] uint32 SetSettings([IN] SettingObj settings[]); [implemented] uint16 ValidateCreateVLAN([in] string VLANNumbers,[in] string Name,[OUT] WarningMessageObj WarningMessages[]); [implemented,ModelCorrespondence{"IANet_PhysicalEthernetAdapter.GetSettingsForProfile"}] uint32 GetSettingsForProfile([IN] uint32 PerformanceProfile,[OUT] string settings[],[OUT] string values[],[OUT] WarningMessageObj WarningMessages[]); }; [Abstract,LOCALE(1033)] class IANet_Setting : CIM_Setting { [Key] string ParentId; [Key] string ParentType; [Key] string Caption; string Name; string RegistryKeyword; string Description; string DisplayName; string MiniHelp; uint32 ExposeLevel; boolean Writable; boolean RequiresSession; boolean Grouped; uint16 GroupId; uint64 DetailId; }; [Abstract,provider("Ncs2"),IANet_ModuleIdentifier("Ncs2Core.dll"),LOCALE(1033)] class IANet_AdapterSetting : IANet_Setting { }; [dynamic,provider("Ncs2"),IANet_ModuleIdentifier("Ncs2Core.dll"),LOCALE(1033)] class IANet_AdapterSettingInt : IANet_AdapterSetting { sint64 min; sint64 max; sint64 step; uint64 base; sint64 DefaultValue; [Write] sint64 CurrentValue; [Write] sint64 RegistryValue; string DisplayValue; sint64 Scale; [implemented] uint32 ValidateSettingModification([IN] sint64 CurrentValue,[OUT] WarningMessageObj WarningMessages[]); [implemented] uint32 ValidateSettingModificationEx([IN] string DisplayValue,[OUT] WarningMessageObj WarningMessages[]); [implemented] uint32 ValidateAndSetSetting([IN] sint64 CurrentValue,[IN] string DisplayValue,[IN] uint32 SetValuesOnNoError,[OUT] WarningMessageObj WarningMessages[]); [implemented] uint32 SetDefault(); }; [dynamic,provider("Ncs2"),IANet_ModuleIdentifier("Ncs2Core.dll"),LOCALE(1033)] class IANet_AdapterSettingEnum : IANet_AdapterSetting { sint64 PossibleValues[]; string DescriptionMap[]; [write] sint64 CurrentValue; [write] sint64 RegistryValue; string DisplayValue; sint64 DefaultValue; [implemented] uint32 ValidateSettingModification([IN] sint64 CurrentValue,[OUT] WarningMessageObj WarningMessages[]); [implemented] uint32 ValidateSettingModificationEx([IN] string DisplayValue,[OUT] WarningMessageObj WarningMessages[]); [implemented] uint32 ValidateAndSetSetting([IN] sint64 CurrentValue,[IN] string DisplayValue,[IN] uint32 SetValuesOnNoError,[OUT] WarningMessageObj WarningMessages[]); [implemented] uint32 SetDefault(); }; [dynamic,provider("Ncs2"),IANet_ModuleIdentifier("Ncs2Core.dll"),LOCALE(1033)] class IANet_AdapterSettingSlider : IANet_AdapterSetting { sint64 PossibleValues[]; [write] sint64 CurrentValue; [write] sint64 RegistryValue; sint64 DefaultValue; string FirstLabel; string LastLabel; [implemented] uint32 ValidateSettingModification([IN] sint64 CurrentValue,[OUT] WarningMessageObj WarningMessages[]); [implemented] uint32 ValidateAndSetSetting([IN] sint64 CurrentValue,[IN] uint32 SetValuesOnNoError,[OUT] WarningMessageObj WarningMessages[]); [implemented] uint32 SetDefault(); }; [dynamic,provider("Ncs2"),IANet_ModuleIdentifier("Ncs2Core.dll"),LOCALE(1033)] class IANet_AdapterSettingMultiSelection : IANet_AdapterSetting { sint64 PossibleValues[]; string DescriptionMap[]; [write] sint64 CurrentValue; [write] sint64 RegistryValue; [write] sint64 DefaultValue; [implemented] uint32 ValidateSettingModification([IN] sint64 CurrentValue,[OUT] WarningMessageObj WarningMessages[]); [implemented] uint32 ValidateAndSetSetting([IN] sint64 CurrentValue,[IN] uint32 SetValuesOnNoError,[OUT] WarningMessageObj WarningMessages[]); [implemented] uint32 SetDefault(); }; [dynamic,provider("Ncs2"),IANet_ModuleIdentifier("Ncs2Core.dll"),LOCALE(1033)] class IANet_AdapterSettingString : IANet_AdapterSetting { uint32 MaxLength; [write] string CurrentValue; [write] string RegistryValue; string DisplayValue; string DefaultValue; [implemented] uint32 ValidateSettingModification([IN] string CurrentValue,[OUT] WarningMessageObj WarningMessages[]); [implemented] uint32 ValidateSettingModificationEx([IN] string DisplayValue,[OUT] WarningMessageObj WarningMessages[]); [implemented] uint32 ValidateAndSetSetting([IN] string CurrentValue,[IN] string DisplayValue,[IN] uint32 SetValuesOnNoError,[OUT] WarningMessageObj WarningMessages[]); [implemented] uint32 SetDefault(); }; [dynamic,provider("Ncs2"),IANet_ModuleIdentifier("Ncs2Core.dll"),LOCALE(1033)] class IANet_AdapterSettingMultiString : IANet_AdapterSetting { uint32 MaxLength; [write] string CurrentValues[]; [write] string RegistryValue[]; string DisplayValue[]; string DefaultValue; [implemented] uint32 ValidateSettingModification([IN] string CurrentValues[],[OUT] WarningMessageObj WarningMessages[]); [implemented] uint32 ValidateSettingModificationEx([IN] string DisplayValue[],[OUT] WarningMessageObj WarningMessages[]); [implemented] uint32 ValidateAndSetSetting([IN] string CurrentValues[],[IN] string DisplayValues[],[IN] uint32 SetValuesOnNoError,[OUT] WarningMessageObj WarningMessages[]); [implemented] uint32 SetDefault(); }; [Association,LOCALE(1033),Dynamic,Provider("Ncs2"),IANet_ModuleIdentifier("Ncs2Core.dll")] class IANet_AdapterToSettingAssoc : CIM_ElementSetting { [Override("Element")] IANet_PhysicalEthernetAdapter Ref Element; [Override("Setting")] IANet_AdapterSetting Ref Setting; }; [dynamic,provider("Ncs2"),IANet_ModuleIdentifier("Ncs2Core.dll"),LOCALE(1033)] class IANet_NetService : CIM_Service { string Version; [implemented] uint32 BeginApply([OUT] uint32 ClientSetHandle); [implemented] uint32 GetPartitionsForPort([IN] string szDeviceID,[OUT] PartitionObj partitions[]); [implemented] uint32 ValidateAndSetBandwidthsForPort([IN] PartitionObj partitions[],[IN] uint32 SetValuesOnNoError,[OUT] WarningMessageObj WarningMessages[]); [implemented] uint32 Apply([IN] uint32 ClientSetHandle,[OUT] uint32 FollowupAction); [implemented] uint32 IsDeviceRLB_Enabled([IN] string szDeviceName,[OUT] boolean bRLB_Blocking_VNIC); [implemented] uint32 GetPROSetWarnings([OUT] WarningMessageObj WarningMessages[]); [implemented,static] uint32 GetUninstallBlockingErrors([IN] uint32 Filter,[OUT] WarningMessageObj WarningMessages[]); [implemented] uint32 SynchronizeVmSwitchProtocolSetting([IN] string szDeviceName,[IN] boolean bIsBinding); [implemented] uint32 ConfigureNewDevices([IN] string szDevices[],[IN] UINT64 ConfigurationMask); [implemented] uint32 UninitializeDevices([IN] string szDevices[],[IN] UINT64 ConfigurationMask); [ArrayType("Indexed")] uint16 VNIC_RLB_WarningMessage; [ArrayType("Indexed")] uint16 VNIC_DISABLE_RLB_WarningMessage; [ArrayType("Indexed")] uint16 VNIC_RLB_DIABLED_ON_TEAM_WarningMessage; }; [LOCALE(1033)] class IANet_ExtendedStatus : __ExtendedStatus { string File; uint32 Line; uint32 ClientSetHandle; string RuleFailureReasons[]; }; class SettingObj { string SettingName; string SettingValueList[]; uint32 SettingType; }; class WarningMessageObj { uint32 ErrorCode; string MessageText; uint32 MessageType; uint32 MessageAction; uint32 reserved; string reserved2; }; class PartitionObj { string DeviceID; string Caption; uint16 PortNumber; uint32 PartitionNumber; uint32 MaximumBandwidth; uint32 MinimumBandwidth; string Reserved; uint32 Reserved2; }; class WarningMessagesText { [Override("Warning Messages"),ArrayType("Indexed")] uint16 WarningMessagesArray[]; };