#pragma namespace("\\\\.\\Root\\IntelNCS2") instance of __namespace{ name="ms_409";}; #pragma namespace("\\\\.\\Root\\IntelNCS2\\ms_409") [Description("IANet_DiagTest is the Intel Ethernet DiagTest class. It's a subclass of the abstract base class CIM_DiagnosticTest.") : Amended,AMENDMENT, LOCALE(0x409)] class IANet_DiagTest : CIM_DiagnosticTest { [Description("Some of the tests are grouped under specific categories.Grouped is true if the test is grouped.") : Amended] boolean Grouped; [Description("Some of the tests are grouped under specific categories.This attribute specifies the Id of the group under which this test belongs.") : Amended] uint16 GroupId; [Description("This attribute specifies the Test Id .") : Amended] uint16 TestId; [Description("The RunTest method executes this test for the specified ManagedSystemElement (defined using the SystemElement input parameter). Results of the test are stored in a DiagnosticResult object, a reference to which is returned as the Result output parameter. How the test should execute, i.e. its settings, is defined in a DiagnosticSetting object (or by a subclass of DiagnosticSetting). A reference to a Setting object is specified using the Setting input parameter. If a reference is not passed into the method, then a default DiagnosticSetting may be used. This default Setting is associated with the DiagnoticTest using the DefaultSetting relationship of the Core Model. \nWhen RunTest starts execution, the settings, which are time sensitive, should be evaluated and captured. This is suggested since the DiagnosticSetting object can be modified at any time, and therefore the current test settings could be lost. \nThe method's return codes are expected to adhere to the XML return codes as they are introduced. Currently, the standard return values are: \n0 = OK (function succeeded, but the test itself may have failed) \n1 = Unspecified Error (function failed for unspecified reasons) \n2 = Not Implemented (function is not implemented for this instance) \n3 = Out Of Resources (component could not allocate required resources, e.g. memory, disk space, etc.) \nIn a subclass, the set of possible return codes could be specified, using a ValueMap qualifier on the method. The strings to which the ValueMap contents are 'translated' may also be specified in the subclass as a Values array qualifier.") : Amended] uint32 RunTest([IN] CIM_ManagedSystemElement Ref SystemElement,[IN] CIM_DiagnosticSetting Ref Setting,[OUT] CIM_DiagnosticResult Ref Result); [Description("Execution of this method will delete all instances of the DiagnosticResultForMSE object, for this DiagnosticTest and the specified ManagedSystemElement (defined using the SystemElement input parameter). The DiagnosticResults referenced in the DiagnosticResultForMSE instances will be deleted. Also the association DiagnosticResultForTest that referees to the DiagnosticResult object, and this test will be deleted.\n One output parameter is defined - ResultsNotCleared - which is a string array that lists the keys of the DiagnosticResults which could not be deleted. This information enables those Results to be revisited and either manually removed, or other corrective action taken. \nThe method's return codes are expected to adhere to the XML return codes as they are introduced. Currently, the standard return values are: \n0 = OK (function succeeded, but the test itself may have failed) \n1 = Unspecified Error (function failed for unspecified reasons) \n2 = Not Implemented (function is not implemented for this instance) \n3 = Out Of Resources (component could not allocate required resources, e.g. memory, disk space, etc.) \nIn a subclass, the set of possible return codes could be specified, using a ValueMap qualifier on the method. The strings to which the ValueMap contents are 'translated' may also be specified in the subclass as a Values array qualifier.") : Amended] uint32 ClearResults([IN] CIM_ManagedSystemElement Ref SystemElement,[OUT] String ResultsNotCleared[]); [Description("After invocation of this method and its completion, the specified test(s) will be discontinued for the indicated ManagedSystemElement (defined by the SystemElement input parameter). The test to discontinue is specified using the Result input parameter. If all instances of this test should be stopped for the SystemElement, then the Result reference should be NULL. Upon completion of the method, test status and other information (such as PercentComplete) will be stored in the DiagnosticResult instance defined by the Result input parameter. The output parameter, TestingStopped, is used as follows:\n Set to TRUE if testing was successfully stopped. \n Set to FALSE if the current test(s) can not be stopped. \nIf set to FALSE, testing will stop when the diagnostic is able to do so safely. To determine if/when the testing is stopped, check the TestState property in the DiagnosticResult instance defined by the Result parameter. TestState will change from \"In Progress\" to \"Stopped\" (from 4 to 5). \nThe method's return codes are expected to adhere to the XML return codes as they are introduced. Currently, the standard return values are: \n0 = OK (function succeeded, but the test itself may have failed) \n1 = Unspecified Error (function failed for unspecified reasons) \n2 = Not Implemented (function is not implemented for this instance) \n3 = Out Of Resources (component could not allocate required resources, e.g. memory, disk space, etc.) \nIn a subclass, the set of possible return codes could be specified, using a ValueMap qualifier on the method. The strings to which the ValueMap contents are 'translated' may also be specified in the subclass as a Values array qualifier.") : Amended] uint32 DiscontinueTest([IN] CIM_ManagedSystemElement Ref SystemElement,[IN] CIM_DiagnosticResult Ref Result,[OUT] Boolean TestingStopped); }; [Description("IANet_DiagSetting is the Intel Ethernet DiagSetting class. It's a subclass of the abstract base class CIM_DiagnosticSetting.") : Amended,AMENDMENT, LOCALE(0x409)] class IANet_DiagSetting : CIM_DiagnosticSetting { }; [Description("IANet_DiagResult is the Intel Ethernet DiagResult class. It's a subclass of the abstract base class CIM_DiagnosticResult.") : Amended,AMENDMENT, LOCALE(0x409)] class IANet_DiagResult : CIM_DiagnosticResult { [Description("A textual descriptive name for the test.") : Amended] string PackageName; [Description("A textual descriptive name for the test.") : Amended] string Title; [Description("A textual descriptive name for the test.") : Amended] string Caption; [Description("A textual description of the test results") : Amended] string Result; [Description("One or more value/map results from the execution of the test.") : Amended,Values{"Passed", "Failed", "Caution", "Test stopped", "Information", "NA", "Graph Excellent", "Graph Good", "Graph Adequate", "Graph Poor", "Graph Unknown"} : Amended] uint16 ResultCode; [Description("Textual detail descriptions of the test results.") : Amended] string Description; [Description("Textual solution description.") : Amended] string Solution; [Description("TestResultsAttr indicates the type of the result string") : Amended] uint16 TestResultsAttr[]; [Description("TestResultIds indicates the result string Id's") : Amended] uint32 TestResultIds[]; }; [Description("IANet_DiagTestForMSE is the Intel Ethernet DiagTestForMSE class. It's a subclass of the abstract base class CIM_DiagnosticTestForMSE.") : Amended,AMENDMENT, LOCALE(0x409)] class IANet_DiagTestForMSE : CIM_DiagnosticTestForMSE { [Description("The test that may be run against a ManagedSystemElement.") : Amended] IANet_DiagTest Ref Antecedent; [Description("The ManagedSystemElement that can be tested.") : Amended] IANet_PhysicalEthernetAdapter Ref Dependent; }; [Description("IANet_DiagResultForMSE is the Intel Ethernet DiagResultForMSE class. It's a subclass of the abstract base class CIM_DiagnosticResultForMSE.") : Amended,AMENDMENT, LOCALE(0x409)] class IANet_DiagResultForMSE : CIM_DiagnosticResultForMSE { [Description("The diagnostic result.") : Amended] IANet_DiagResult Ref Result; [Description("The ManagedSystemElement to which the diagnostic result applies.") : Amended] IANet_physicalEthernetAdapter Ref SystemElement; }; [Description("IANet_DiagResultForTest is the Intel Ethernet DiagResultForTest class. It's a subclass of the abstract base class CIM_DiagnosticResultForTest.") : Amended,AMENDMENT, LOCALE(0x409)] class IANet_DiagResultForTest : CIM_DiagnosticResultForTest { [Description("The result object.") : Amended] IANet_DiagResult Ref DiagnosticResult; [Description("The test that generated the result object.") : Amended] IANet_DiagTest Ref DiagnosticTest; }; [Description("IANet_DiagSettingForTest is the Intel Ethernet DiagSettingForTest class. It's a subclass of the abstract base class CIM_DiagnosticSettingForTest.") : Amended,AMENDMENT, LOCALE(0x409)] class IANet_DiagSettingForTest : CIM_DiagnosticSettingForTest { [Description("The Test that can use the Setting object..") : Amended] IANet_DiagTest Ref Element; [Description("The test that generated the result object.") : Amended] IANet_DiagSetting Ref Setting; }; [Description("IANet_DiagResultInPackage is the Intel Ethernet DiagSetting class. It's a subclass of the abstract base class CIM_DiagnosticSetting.") : Amended,AMENDMENT, LOCALE(0x409)] class IANet_DiagResultInPackage : CIM_DiagnosticResultInPackage { [Description("The package result object.") : Amended] IANet_DiagResult Ref PackageResult; [Description("The subtest result object.") : Amended] IANet_DiagResult Ref Result; }; [Description("DiagConnectionResultStrings is the Intel Ethernet DiagConnectionTestResults class. This provides localized connection test result strings and is for NCSProv internal use.") : Amended,AMENDMENT, LOCALE(0x409)] class IANet_DiagConnectionResultStrings { [Values{"Connection Test", "Reserved"} : Amended] uint16 Title; [Values{"Connection test - Using another connection", "Reserved"} : Amended] uint16 Other; [Values{"Connection test passed.", "Reserved"} : Amended] uint16 Passed; [Values{"Connection test failed.", "Reserved"} : Amended] uint16 Failed; [Values{"Connection test in progress.", "Reserved"} : Amended] uint16 InProgress; [Values{"Connection test stopped.", "Reserved"} : Amended] uint16 Stopped; [Values{"This test is already running.", "Reserved"} : Amended] uint16 ALREADY_RUNNING; [Values{"Cannot run the connection test.", "Reserved"} : Amended] uint16 CANNOT_RUN_TEST; [Values{"This adapter does not have link.", "Reserved"} : Amended] uint16 HAS_NO_LINK; [Values{"Make sure the cable is connected and the speed and duplex settings are configured correctly on the adapter and link partner.", "Reserved"} : Amended] uint16 HAS_NO_LINK_DESC; [Values{"No servers configured.", "Reserved"} : Amended] uint16 NO_SERVERS_CONFIGURED; [Values{"This test relies on a response from a gateway, DNS, DHCP or WINS server. If none of these servers are present on your network, the test cannot be run.", "Reserved"} : Amended] uint16 NO_SERVERS_CONFIGURED_DESC; [Values{"Cannot run this test because this adapter is included in a team or VLAN.", "Reserved"} : Amended] uint16 BOUND_TO_ANS; [Values{"TCP/IP protocol not configured.", "Reserved"} : Amended] uint16 NOT_BOUND_TO_TCPIP; [Values{"To run this test, this connection must be configured to use the TCP/IP protocol.", "Reserved"} : Amended] uint16 NOT_BOUND_TO_TCPIP_DESC; [Values{"Invalid IP address.", "Reserved"} : Amended] uint16 INVALID_STATIC_IP; [Values{"The IP address for this connection is invalid.", "Reserved"} : Amended] uint16 INVALID_STATIC_IP_DESC; [Values{"This connection obtained an IP address from a DHCP server.", "Reserved"} : Amended] uint16 USING_DHCP_VALID_ADDRESS; [Values{"This adapter is configured to obtain an IP address automatically but no DHCP server is present on the network. Windows selected an IP address using Alternate Private IP Addressing.", "Reserved"} : Amended] uint16 USING_APIPA_ADDRESS; [Values{"Invalid IP address.", "Reserved"} : Amended] uint16 USING_DHCP_INVALID_ADDRESS; [Values{"The IP address for this connection is invalid. Possible cause: The system may be waiting for a response from a DHCP server.", "Reserved"} : Amended] uint16 USING_DHCP_INVALID_ADDRESS_DESC; [Values{"This connection is configured to use a static IP address.", "Reserved"} : Amended] uint16 STATIC_IP_CONFIG; [Values{"No gateway is available for this connection", "Reserved"} : Amended] uint16 GATEWAY_NO_SERVER; [Values{"Ping Gateway %1: Passed", "Reserved"} : Amended] uint16 GATEWAY_PING_PASSED; [Values{"Ping Gateway %1: Failed", "Reserved"} : Amended] uint16 GATEWAY_PIN_FAILED; [Values{"No DNS server is available for this connection", "Reserved"} : Amended] uint16 DNS_NO_SERVER; [Values{"Ping DNS %1: Passed", "Reserved"} : Amended] uint16 DNS_PING_PASSED; [Values{"Ping DNS %1: Failed", "Reserved"} : Amended] uint16 DNS_PIN_FAILED; [Values{"No WINS server is available for this connection", "Reserved"} : Amended] uint16 WINS_NO_SERVER; [Values{"Ping WINS %1: Passed", "Reserved"} : Amended] uint16 WINS_PING_PASSED; [Values{"Ping WINS %1: Failed", "Reserved"} : Amended] uint16 WINS_PIN_FAILED; [Values{"No DHCP server is available for this connection", "Reserved"} : Amended] uint16 DHCP_NO_SERVER; [Values{"Ping DHCP %1: Passed", "Reserved"} : Amended] uint16 DHCP_PING_PASSED; [Values{"Ping DHCP %1: Failed", "Reserved"} : Amended] uint16 DHCP_PIN_FAILED; [Values{"This adapter is configured to force the speed to a low speed.", "Reserved"} : Amended] uint16 FORCE_LOW_SPEED; [Values{"Auto Negotiation is not complete on this adapter.", "Reserved"} : Amended] uint16 AUTONEG_PROGRESS; [Values{"The cable connected to this port is missing pairs needed to connect at 1000 Mbps.", "Reserved"} : Amended] uint16 CAT5_CABLE_NEEDED; [Values{"The adapter is configured to negotiate the speed with the link partner, but 1000 Mbps has not been chosen as one of the possible speeds.", "Reserved"} : Amended] uint16 NO_1000_MBPS_CHOSEN; [Values{"Link speed has been reduced because the Power Saver option is enabled.", "Reserved"} : Amended] uint16 POWER_SAVE_MODE; [Values{"The adapter is configured to force the speed to a low speed.", "Reserved"} : Amended] uint16 SELF_FORCE_LOW_SPEED; [Values{"Link speed: %1Mbps. The link partner is not capable of higher speeds.", "Reserved"} : Amended] uint16 LINK_PARTNER_NO_1000; [Values{"Unknown", "Reserved"} : Amended] uint16 DIAG_TEST_STATUS_UNKNOWN; [Values{"Other", "Reserved"} : Amended] uint16 DIAG_TEST_STATUS_OTHER; [Values{"Passed", "Reserved"} : Amended] uint16 DIAG_TEST_STATUS_PASSED; [Values{"Failed", "Reserved"} : Amended] uint16 DIAG_TEST_STATUS_FAILED; [Values{"In Progress", "Reserved"} : Amended] uint16 DIAG_TEST_STATUS_INPROGRESS; [Values{"Stopped", "Reserved"} : Amended] uint16 DIAG_TEST_STATUS_STOPPED; };