Linux/qlgcProvider.mof
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 |
#pragma locale ("en_US")
#pragma include ("qualifiers.mof") #pragma include ("qualifiers_optional.mof") class QLGC_ManagedLocalHost { [key] uint32 HostHandle; boolean IsAdmin; [Description ( "OperatingSystem" ), ValueMap { "0", "1"}, Values { "Windows", "Linux"} ] uint16 OperatingSystem; [Description ( "Architecture" ), ValueMap { "0", "1", "2", "3", "4"}, Values { "X86", "X86_64", "IA64", "PPC", "PPCLE"} ] uint16 Architecture; // Common for both Linux and windows uint32 MajorVersion; uint32 MinorVersion; uint32 ProductType; string osVersion; //Only for Windows uint32 BuildNumber; uint32 PlatformId; uint16 ServicePackMajor; uint16 ServicePackMinor; uint16 SuiteMask; string adapterInfo[];//QLGC_Adapter REF adapterInfo; uint32 adapterList[]; //Installed Powerkit version (OMI,CIM/ESXi Provider version) string ProviderVersion; uint32 ConnectHost( [IN, Description ( "Host Name or Host IP Address." )] string RemoteHost, [IN, Description ( "System Login UserName." )] string LoginUserName, [IN, Description ( "System Login Password." )] string Password, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 DisconnectHostHandle( [IN, Description ( "Remote Host Handle." )] uint32 RemoteHostHandle, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 DisconnectHost( [IN, Description ( "Host Name or Host IP Address." )] string RemoteHost, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 RefreshHost( [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 SetRemoteAgentPassword( [IN, Description ( "Remote Host Handle." )] uint32 RemoteHostHandle, [IN, Description ( "System Login UserName." )] string SysLoginUserName, [IN, Description ( "System Login Password." )] string SysPassword, [IN, Description ( "Old Agent Password." )] string OldPassword, [IN, Description ( "New Agent Password." )] string NewPassword, [IN, Description ( "Verify New Agent Password." )] string VerifyPassword, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 RefreshHandle( [IN, Description ( "Handle." )] uint32 Handle, [IN, Description ( "uRefreshFlags." "GAM_kAll = 0xFFFFFFFF, " "GAM_kPhyAdapters = 0x00000002, " "GAM_kCfgApi = 0x00000004, " "GAM_kiSCSIDevice = 0x00000008, " "GAM_kISCSITargets = 0x00000010, " "GAM_kISNSServer = 0x00000020, " "GAM_kPhyPorts = 0x00000040, " "GAM_kFunctions = 0x00000080, " "GAM_kResCfg = 0x00000100, " "GAM_kNdisDevices = 0x00000200, " "GAM_kISCSIDevices = 0x00000400, " "GAM_kFCoEDevices = 0x00000800, " )] uint32 uRefreshFlags, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 AddiSNSServer( [IN, Description ( "ISNS ServerName." )] string ISNSServerName, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 RemoveiSNSServer( [IN, Description ( "ISNS ServerName." )] string ISNSServerName, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 RefreshiSNSServer( [IN, Description ( "ISNS ServerName." )] string ISNSServerName, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 GetiSNSServers( [OUT, Description ( "ISNS ServerName." )] string ISNSServerName[], [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 AddDiscoveryPortal( [IN, Description ( "Host Handle." )] uint32 iSCSIHandle, [IN, Description ( "IP Address." )] string IPAddress, [IN, Description ( "PortNumber." )] uint16 PortNumber, [IN, Description ( "AuthType." ), ValueMap { "0", "1", "2"}, Values { "NONE", "CHAP", "MUT_CHAP"}] uint8 AuthType, [IN, Description ( "User Name." )] string UserName, [IN, Description ( "Password." )] string Password, [IN, Description ( "User ID (LinuxOnly)." )] string UserIDLinuxOnly, [IN, Description ( "Password (linuxOnly)." )] string PasswordLinuxOnly, [IN, Description ( "ifaceFileName." )] string ifaceFileName, [IN, Description ( "Iser" )] boolean Iser, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 RemoveDiscoveryPortal( [IN, Description ( "Discovery Portal Handle." )] uint32 DiscoveryPortalHandle, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 AddiSCSIStaticTarget( [IN, Description ( "TargetName." )] string TargetName, [IN, Description ( "TargetAlias." )] string TargetAlias, [IN, Description ( "HBAInstanceName." )] string HBAInstanceName, [IN, Description ( "IPAddresses." )] string IPAddress, [IN, Description ( "IfaceName." )] string IfaceName, [IN, Description ( "PortNumbers." )] uint32 PortNumber, [OUT, Description ( "TargetHandle." )] uint32 TargetHandle, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 RemoveHostTarget( [IN, Description ( "TargetHandle." )] uint32 TargetHandle, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 UpgradeAll( [IN, Description ( "MBI Image file full Path" )] string ImageMBI, [OUT, Description ( "Host-Adapter" )] string HostAdapter[]); uint32 SaveAllConfigXML( [IN, Description ( "Directory Path " )] string DirectoryPath, [OUT, Description ( "ResultMessage" )] string ResultMessage); }; class QLGC_ManagedRemoteHost { [key] uint32 HostHandle; boolean IsAdmin; [Description ( "OperatingSystem" ), ValueMap { "0", "1"}, Values { "Windows", "Linux"} ] uint16 OperatingSystem; [Description ( "Architecture" ), ValueMap { "0", "1", "2", "3", "4"}, Values { "X86", "X86_64", "IA64", "PPC", "PPCLE"} ] uint16 Architecture; // Common for both Linux and windows uint32 MajorVersion; uint32 MinorVersion; uint32 ProductType; string osVersion; //Only for Windows uint32 BuildNumber; uint32 PlatformId; uint16 ServicePackMajor; uint16 ServicePackMinor; uint16 SuiteMask; string IPAddress; string adapterInfo[];//QLGC_Adapter REF adapterInfo; uint32 adapterList[]; }; class QLGC_Adapter { string Description; string Title; string Manufacturer; string Serialnumber; [key] uint32 HostHandle; [key] uint32 AdapterHandle; string ASICVersion; string BackupMACAddress; uint32 UniqueId; uint32 VendorID; uint32 DeviceID; uint32 SubsystemVendorID; uint32 SubsystemID; uint32 SlotNumber; [Description ( "BusType" ), ValueMap { "0", "1", "2", "3", "4", "5"}, Values { "Unknown", "Unsupported", "PCI", "PCMCIA", "1394", "USB"} ] uint32 BusType; [Description ( "BusMode" ), ValueMap { "0", "1", "2", "3"}, Values { "Unknown", "PCI", "PCIX", "PCIE"} ] uint32 BusMode; [Description ( "PCIESpeed" ), ValueMap { "0", "1", "2", "3"}, Values { "SpeedUnknown", "Speed25", "Speed50", "Speed75"} ] uint32 PCIESpeed; [Description ( "BusWidth" ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"}, Values { "Unknown", "32bit", "64bit", "PCIE_1x", "PCIE_2x", "PCIE_4x", "PCIE_8x", "PCIE_12x", "PCIE_16x", "PCIE_32x"} ] uint32 BusWidth; [Description ( "Adapter Type" ), ValueMap { "0", "1", "2", "3", "4", "5", "6"}, Values { "NON_QLOGIC_NIC", "RESERVED_1", "RESERVED_2", "UNKNOWN_NIC", "BRCM5706", "BRCM57710", "BRCM579XX"} ] uint32 Type; uint32 ChipRevID; uint32 InternalRAMSize; uint32 BARSize; uint32 MemBaseLow2; uint32 MemBaseHigh2; uint32 MBAVendorFlags; uint32 ISCSIBootFlags; uint32 NVRAMSize; [Description ( "Temperature in Celsius" ) ] uint32 Temperature; uint32 InterruptInfo_IntType; uint32 InterruptInfo_IntPin; uint32 InterruptInfo_IntLine; uint32 InterruptInfo_MsiVersion; uint32 InterruptInfo_NumOfEnabledMsgs; uint32 InterruptInfo_NumOfCapableMsgs; uint32 portList[]; string portInfo[];//QLGC_PortInfo REF portInfo; string vpdInfo; //QLGC_VPDInfo REF vpdInfo; string firmwareInfo; //QLGC_FirmwareInfo REF firmwareInfo; uint32 SaveVLANConfig( [IN, Description ( "XML file path" )] string VLANConfigXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage[]); uint32 SetVLANConfig( [IN, Description ( "XML file path" )] string VLANConfigXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 SaveAdapterAdvancedParameters( [IN, Description ( "XML file path" )] string AdvancedParametersXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 SetAdapterAdvancedParameters( [IN, Description ( "XML file path" )] string AdvancedParametersXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 SaveSRIOVConfig( [IN, Description ( "XML file path" )] string SRIOVConfigXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 SetSRIOVConfig( [IN, Description ( "XML file path" )] string SRIOVConfigXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 SaveAdapterMdumpToFile( [IN, Description ( "Mdump file path" )] string MdumpFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); }; class QLGC_AdapterAdvancedParameter { [key] uint32 AdapterHandle; [key] string Name; string Description; [Write] string StrCurrentValue; string StrDefaultValue; uint64 Base; uint32 Min; uint32 Max; uint32 Step; [Write] uint32 CurrentValue; uint32 DefaultValue; [Write] uint32 EnumCurrentValue; uint32 EnumDefaultValue; [ Description ( "Type" ), ValueMap { "0", "1", "2"}, Values { "IntParam", "EnumParam", "StringParam" } ] uint8 Type; uint32 Value[]; string ValueDescription[]; }; class QLGC_VPDInfo { [key] uint32 AdapterHandle; string tag[]; string value[]; }; class QLGC_FirmwareInfo { [key] uint32 AdapterHandle; string FirmwareVersion[]; [Description ( "Firmware Type" ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28"}, Values { "BootCode", "BootCode2", "PXE", "ISCSI", "UMP", "IPMI", "NCSI", "ASF", "DASH", "TSTORM", "CSTORM", "XSTORM", "USTORM", "FCoE", "FCode", "EFI_X86", "EFI_IPF", "EFI_EBC", "EFI_X64", "MFW", "SMASH", "MGMT_NA", "CCM", "MBI", "External_PHY", "INIT_HW", "MFG_Kit_Version", "MFG_Kit_Time", "PLDM" } ] uint32 FirmwareType[]; }; class QLGC_PortInfo { string Description; string Title; [key] uint32 UniqueId; uint32 AdapterHandle; uint32 BusNumber; uint32 DeviceNumber; uint32 NoOfFunctions; uint32 DuplexSetting; uint32 LinkSpeed; [Description ( "LinkStatus" ), ValueMap { "0", "1"}, Values { "LinkDown", "LinkUp" } ] uint32 LinkState; [Description ( "PhysicalMediaType" ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8"}, Values { "Unknown", "UTP", "BNC", "AUI", "FIBER", "SERDES", "SERDES_SGMII", "XGXS", "XGXS_SGMII"} ] uint32 PhysicalMediaType; [Description ( "HWCfgPhyMediaType" ), ValueMap { "0", "1", "2", "3" }, Values { "Unknown", "Copper", "Fiber", "Backplane"} ] uint32 HWCfgPhyMediaType; uint32 PortNumber; uint32 Revision; uint32 UINumber; uint32 IRQ; [Description ( "LineSpeed" ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"}, Values { "QLMAPI_LM_LINE_SPEED_UNKNOWN", "QLMAPI_LM_LINE_SPEED_10MBPS", "QLMAPI_LM_LINE_SPEED_100MBPS", "QLMAPI_LM_LINE_SPEED_1000MBPS", "QLMAPI_LM_LINE_SPEED_2500MBPS", "QLMAPI_LM_LINE_SPEED_10GBPS", "QLMAPI_LM_LINE_SPEED_20GBPS", "QLMAPI_LM_LINE_SPEED_25GBPS", "QLMAPI_LM_LINE_SPEED_40GBPS","QLMAPI_LM_LINE_SPEED_50GBPS", "QLMAPI_LM_LINE_SPEED_100GBPS"} ] uint32 LineSpeed; string DMIData[]; string stats;//QLGC_PortStats string lldpInfo;// QLGC_PortLLDPInfo string dcbxInfo;//QLGC_PhysicalPortDCBXInfo string transceiverInfo;//QLGC_TransceiverInfo [Description ( "SmartANMode" ), ValueMap { "0", "1","100"}, Values { "Disabled", "Enabled", "NA"} ] uint32 SmartANMode; [Description ( "NVMSpeed" ), ValueMap { "0", "1","2","4","5","6","7","100","4294967295"}, Values { "AutoNeg", "1G","10G","25G","40G","50G","100G","NA","Unknown"} ] uint32 NVMSpeed; [Description ( "FECANMode" ), ValueMap { "0", "1","2","3","4","5","6","98","99","100"}, Values { "None", "10G_Firecode", "25G_Firecode","10G_And_25G_Firecode","25G_RS","25G_Firecode_and_RS","ALL","Enabled","Disabled","NA"} ] uint32 FECANmode; [Description ( "FECForcedMode" ), ValueMap { "0", "1","2","7","100"}, Values { "None", "Firecode", "RS","Auto","NA"} ] uint32 FECForcedMode; uint32 FunctionList[]; string functions[];//QLGC_Function REF functions; string DCBXBufferData; uint32 SpeedCapability; uint32 SysLockdownCap; uint32 SysLockdownState; uint32 PortShutMode; }; class QLGC_PhyPortBootConfig { [key] uint32 UniqueId; [Write, Description ( "BootProtocol" ), ValueMap { "0", "1", "2", "3", "4", "5"}, Values { "BOOT_BMAPI_MBA_BOOT_PROT_NONE", "BOOT_BMAPI_MBA_BOOT_PROT_PXE", "BOOT_BMAPI_MBA_BOOT_PROT_RPL", "BOOT_BMAPI_MBA_BOOT_PROT_BOOTP", "BOOT_BMAPI_MBA_BOOT_PROT_ISCSI", "BOOT_BMAPI_MBA_BOOT_PROT_FCOE"} ] uint32 BootProtocol; [Write, Description ( "BootStrapType" ), ValueMap { "0", "1", "2", "3"}, Values { "BOOT_BMAPI_MBA_BOOTSTRAP_AUTO", "BOOT_BMAPI_MBA_BOOTSTRAP_BBS", "BOOT_BMAPI_MBA_BOOTSTRAP_INT18H", "BOOT_BMAPI_MBA_BOOTSTRAP_INT19H"} ] uint32 BootStrapType; [Write, Description ("in seconds (0-15)" ) ] uint32 BannerTimeout; [Write, Description ("false for Ctrl-S, true for Ctrl-B" ) ] uint32 HotKey; [Write, Description ( "LinkSpeed" ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10","11", "12", "13", "14"}, Values { "BOOT_BMAPI_MBA_SPEED_AUTO", "BOOT_BMAPI_MBA_SPEED_10H", "BOOT_BMAPI_MBA_SPEED_10F", "BOOT_BMAPI_MBA_SPEED_100H", "BOOT_BMAPI_MBA_SPEED_100F", "BOOT_BMAPI_MBA_SPEED_1000H", "BOOT_BMAPI_MBA_SPEED_1000F", "BOOT_BMAPI_MBA_SPEED_2_5G", "BOOT_BMAPI_MBA_SPEED_10G_CX4","BOOT_BMAPI_MBA_SPEED_20G","BOOT_BMAPI_MBA_SPEED_25G","BOOT_BMAPI_MBA_SPEED_40G", "BOOT_BMAPI_MBA_SPEED_50G","BOOT_BMAPI_MBA_SPEED_100G", "SmartAN(TM)"} ] uint32 LinkSpeed; [Write] uint32 VLANID; [Write] uint32 BootRetryCount; uint32 Valid; [Write] boolean BannerEnabled; [Write] boolean OptionROM; [Write] boolean PrebootWakeOnLAN; [Write] boolean VLANMode; boolean PreventFCoE; boolean PreventISCSI; uint32 SavePhyPortMBABootConfig( [IN, Description ( "XML file path" )] string MBABootConfigXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 SetPhyPortMBABootConfig( [IN, Description ( "XML file path" )] string MBABootConfigXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); }; class QLGC_PhyPortLLDPConfig { [key] uint32 PortID; Boolean IsCurrent; [Write] uint32 MsgTxInterval; [Write] uint32 MsgTxHold; [Write] uint32 MsgFastTx; [Write] uint32 TxCreditMax; [Write] uint32 TxFast; uint32 Valid; [Write] boolean OverwriteSettings; }; class QLGC_PhysicalPortDCBXCfg { [key] uint32 UniqueId; Boolean IsCurrent; [Write] uint32 AdminPriorityApp_AppId[]; [Write] uint32 AdminPriorityApp_Valid[]; [Write] uint32 AdminPriorityApp_Priority[]; [Write] uint32 AdminPriorityApp_TrafficType[]; [Write] uint8 AdminConfigurationBwPercentage[]; [Write] uint8 AdminConfigurationEtsPg[]; [Write] uint8 AdminRecommendationBwPercentage[]; [Write] uint8 AdminRecommendationEtsPg[]; [Write] uint32 AdminDcbxVersion; [Write] uint32 AdminPfcBitmap; [Write] uint32 AdminDefaultPriority; [Write] uint32 Valid; [Write, Description ( "#define GAM_DCBX_CURRENT_STATE_IS_SYNC GAM_BIT_0" "#define GAM_PFC_IS_CURRENTLY_OPERATIONAL GAM_BIT_1" "#define GAM_ETS_IS_CURRENTLY_OPERATIONAL GAM_BIT_2" "#define GAM_PRIORITY_TAGGING_IS_CURRENTLY_OPERATIONAL GAM_BIT_3" "#define GAM_DRIVER_CONFIGURED_BY_OS_QOS GAM_BIT_4" "#define GAM_DRIVER_CONFIGURED_BY_OS_QOS_TO_WILLING GAM_BIT_5." )] uint32 DCBCurrentOperStateBitmap; [Write] boolean OverwriteSettings; [Write] boolean DcbEnable; [Write] boolean AdminDcbxEnable; [Write] boolean AdminEtsEnable; [Write] boolean AdminEtsConfigurationTxEnable; [Write] boolean AdminEtsRecommendationTxEnable; [Write] boolean AdminEtsWilling; [Write] boolean AdminEtsRecoValid; [Write] boolean AdminPfcEnable; [Write] boolean AdminPfcTxEnable; [Write] boolean AdminPfcWilling; [Write] boolean AdminTcSupportedTxEnable; [Write] boolean AdminApplicationPriorityTxEnable; [Write] boolean AdminAppPriorityWilling; }; class QLGC_PortStats { [key] uint32 PortID; uint64 DCBXFramesSent; uint64 DCBXFramesReceived; uint64 PFCFramesSent; uint64 PFCFramesReceived; }; class QLGC_PortLLDPInfo { [key] uint32 PortHandle; string RemoteChassisID; string RemotePortID; [Description ( "AdminStatus" ), ValueMap { "1", "2", "3", "4"}, Values { "QLMAPI_LLDP_TX_ONLY", "QLMAPI_LLDP_RX_ONLY", "QLMAPI_LLDP_TX_RX", "QLMAPI_LLDP_DISABLED"} ] uint32 AdminStatus; uint32 LocalChassisID[]; uint32 LocalPortID[]; }; class QLGC_PhysicalPortDCBXInfo { [key] uint32 PortID; uint32 LocalPriorityAppTable_AppId[]; uint32 LocalPriorityAppTable_Valid[]; uint32 LocalPriorityAppTable_Priority[]; uint32 LocalPriorityAppTable_TrafficType[]; uint32 RemotePriorityAppTable_AppId[]; uint32 RemotePriorityAppTable_Valid[]; uint32 RemotePriorityAppTable_Priority[]; uint32 RemotePriorityAppTable_TrafficType[]; uint8 RemoteConfigBwPercentage[]; uint8 RemoteConfigEtsPg[]; uint8 RemoteRecommendationBwPercentage[]; uint8 RemoteRecommendationEtsPg[]; uint8 LocalConfigBwPercentage[]; uint8 LocalConfigEtsPg[]; uint32 LocalTcSupported; uint32 LocalPfcCaps; uint32 RemoteTcSupported; uint32 RemotePfcCap; uint32 RemotePfcBitmap; uint32 LocalPfcBitmap; uint32 DCBRetrieveMethod; boolean LocalEtsEnable; boolean LocalPfcEnable; boolean RemoteEtsWilling; boolean RemoteEtsRecoValid; boolean RemotePfcWilling; boolean RemoteAppPriorityWilling; boolean PfcMismatch; boolean PriorityAppMismatch; }; class QLGC_TransceiverInfo { [key] uint32 PortID; string vendor; string model; string serialNumber; string revision; string mfgDate; }; class QLGC_Function { [key] uint32 UniqueId; string InstanceId; string Description; string Title; string DriverVersion; string DriverDate; string DriverName; string MemoryAddress; string permanentMAC; string iSCSIMACAddr; string FCoEMACAddr; string FCoENodeWWN; string FCoEPortWWN; [Write] Boolean SRIOVEnabled; [Write] uint32 NumOfVF; uint32 BusNo; uint32 DeviceNo; uint32 FunctionNo; uint32 InterruptRequest; uint32 MsiVersion; uint32 MFMode; [Description ( "LinkStatus" ), ValueMap { "0", "1"}, Values { "LinkDown", "LinkUp" } ] uint32 LinkState; uint32 DriverInterfaceVersionMajor; uint32 DriverInterfaceVersionMinor; uint32 DrvBuildVerNum; [Description ( "SupportedFlags" "GAM_DRV_RSS_ENABLED 0x00000004 // 1 if driver is doing RSS, 0 if not" "GAM_DRV_BOOT_INTF 0x00000008 // 1 if the interface is a boot interface" "GAM_DRV_ISCSI_BOOT_INTF GAM_DRV_BOOT_INTF" "GAM_REMOTE_PHY_CAPABLE 0x00000010 // 1 if the interface capable of remote PHY" "GAM_REMOTE_PHY_ACTIVE 0x00000020 // 1 if the interface is using remote PHY" "// Determine which MFW is currently ruinning in NX2" "GAM_MFW_RUN_UNKNOWN 0x00000000" "GAM_MFW_RUN_IPMI 0x00000040" "GAM_MFW_RUN_UMP 0x00000080" "GAM_MFW_RUN_NCSI 0x000000c0" "GAM_MFW_RUN_NONE 0x000001c0" "GAM_MFW_RUN_MASK 0x000001c0" "GAM_REMOTE_PHY_MODULE_PRESENT 0x00000200 // 1 if the remote PHY module is present" "GAM_DRV_ISCSI_BOOT_HBA 0x00000400 // 1 if the interface ISCSI boot from HBA, applicable only for BRCM iSCSI boot" "GAM_DRV_ISCSI_BOOT_NDIS 0x00000800 // 1 if the interface ISCSI boot from NDIS, applicable only for BRCM iSCSI boot" "GAM_EXT_PHY 0x00001000 // 1 if the port is using external PHY, applicable only for 57710 family" "GAM_WOL_NO_VAUX 0x00002000 // 1 if the port does not have Vaux power to support WOL, applicable only for 5706 family" "GAM_DRV_FCOE_BOOT_HBA 0x00004000 // 1 if the interface ISCSI boot from HBA, applicable only for BRCM FCoE boot" "GAM_VBD_NO_L4 0x40000000 // 1 if it is VBD but no L4 support." "GAM_EXT_INFO_VALID 0x80000000 // 1 if 'intr_info' is valid" "GAM_DRV_RSS_ENABLED 0x00000004 // 1 if driver is doing RSS, 0 if not" "GAM_DRV_BOOT_INTF 0x00000008 // 1 if the interface is a boot interface" "GAM_DRV_ISCSI_BOOT_INTF GAM_DRV_BOOT_INTF" "GAM_REMOTE_PHY_CAPABLE 0x00000010 // 1 if the interface capable of remote PHY" "GAM_REMOTE_PHY_ACTIVE 0x00000020 // 1 if the interface is using remote PHY" "// Determine which MFW is currently ruinning in NX2" "GAM_MFW_RUN_UNKNOWN 0x00000000" "GAM_MFW_RUN_IPMI 0x00000040" "GAM_MFW_RUN_UMP 0x00000080" "GAM_MFW_RUN_NCSI 0x000000c0" "GAM_MFW_RUN_NONE 0x000001c0" "GAM_MFW_RUN_MASK 0x000001c0" "GAM_REMOTE_PHY_MODULE_PRESENT 0x00000200 // 1 if the remote PHY module is present" "GAM_DRV_ISCSI_BOOT_HBA 0x00000400 // 1 if the interface ISCSI boot from HBA, applicable only for BRCM iSCSI boot" "GAM_DRV_ISCSI_BOOT_NDIS 0x00000800 // 1 if the interface ISCSI boot from NDIS, applicable only for BRCM iSCSI boot" "GAM_EXT_PHY 0x00001000 // 1 if the port is using external PHY, applicable only for 57710 family" "GAM_WOL_NO_VAUX 0x00002000 // 1 if the port does not have Vaux power to support WOL, applicable only for 5706 family" "GAM_DRV_FCOE_BOOT_HBA 0x00004000 // 1 if the interface ISCSI boot from HBA, applicable only for BRCM FCoE boot" "GAM_VBD_NO_L4 0x40000000 // 1 if it is VBD but no L4 support." "GAM_EXT_INFO_VALID 0x80000000 // 1 if 'intr_info' is valid")] uint32 SupportedFlags; uint32 FlowCtrl; [Description ( "// External PHY configuration " "GAM_EXT_PHY_XGXS_EXT_PHY_ADDR_MASK 0x000000ff " "GAM_EXT_PHY_XGXS_EXT_PHY_ADDR_SHIFT 0 " " " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_MASK 0x0000ff00 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_SHIFT 8 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_DIRECT 0x00000000 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_BCM8071 0x00000100 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_BCM8072 0x00000200 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_BCM8073 0x00000300 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_BCM8705 0x00000400 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_BCM8706 0x00000500 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_BCM8726 0x00000600 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_BCM8481 0x00000700 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_SFX7101 0x00000800 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_BCM8727 0x00000900 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_BCM8727_NOC 0x00000a00 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_BCM84823 0x00000b00 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_BCM54640 0x00000c00 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_BCM84833 0x00000d00 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_BCM54618SE 0x00000e00 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_BCM8722 0x00000f00 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_BCM54616 0x00001000 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_BCM84834 0x00001100 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_DIRECT_WC 0x0000fc00 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_FAILURE 0x0000fd00 " "GAM_EXT_PHY_XGXS_EXT_PHY_TYPE_NOT_CONN 0x0000ff00 " " " "GAM_EXT_PHY_SERDES_EXT_PHY_ADDR_MASK 0x00ff0000 " "GAM_EXT_PHY_SERDES_EXT_PHY_ADDR_SHIFT 16 " " " "GAM_EXT_PHY_SERDES_EXT_PHY_TYPE_MASK 0xff000000 " "GAM_EXT_PHY_SERDES_EXT_PHY_TYPE_SHIFT 24 " "GAM_EXT_PHY_SERDES_EXT_PHY_TYPE_DIRECT 0x00000000 " "GAM_EXT_PHY_SERDES_EXT_PHY_TYPE_BCM5482 0x01000000 " "GAM_EXT_PHY_SERDES_EXT_PHY_TYPE_NOT_CONN 0xff000000")] uint32 ExtPhyConfig; uint32 ExtPhyConfig2; uint32 PhyLinkSpeedMBPS; uint32 MaxPhyPorts; [Description ( "PortDefaultConfig // Available only for NX2 10G devices." "GAM_PORT_HW_CFG_NET_SERDES_IF_MASK 0x0F000000" "GAM_PORT_HW_CFG_NET_SERDES_IF_SHIFT 24 " "GAM_PORT_HW_CFG_NET_SERDES_IF_SGMII 0x00000000" "GAM_PORT_HW_CFG_NET_SERDES_IF_XFI 0x01000000" "GAM_PORT_HW_CFG_NET_SERDES_IF_SFI 0x02000000" "GAM_PORT_HW_CFG_NET_SERDES_IF_KR 0x03000000" "GAM_PORT_HW_CFG_NET_SERDES_IF_DXGXS 0x04000000" "GAM_PORT_HW_CFG_NET_SERDES_IF_KR2 0x05000000")] uint32 PortDefaultConfig; [Description ( "// Available only for NX2 10G devices." "#define GAM_DEV_VIRT_CAPS_VF_DEVICE BIT_0 // 0 - PF device; 1 - VF device " "#define GAM_DEV_VIRT_CAPS_PF_SRIOV_CAPABLE BIT_1 // If PF: 0 - no SRIOV; 1 - SRIOV capable " "#define GAM_DEV_VIRT_CAPS_PF_SRIOV_HW_SUPPORT BIT_2 // If PF is SRIOV capable: " "// 0 - SRIOV is not involved/configured; " "// 1 - configured for SRIOV, SRIOV extended capability is exposed in PCI configuration space" "#define GAM_DEV_VIRT_CAPS_PF_SRIOV_OS_SUPPORT BIT_3 // If PF device involves SRIOV: " "// 0 - OS does not support SRIOV (at does not involve SRIOV for this PF) " "// 1 - OS provides SRIOV support for this PF, so PF is ready for SRIOV switch functionality" )] uint32 VirtualizationCaps; [Description ( "Available only for NX2 10G devices. " "For BMAPI_DEV_VIRT_CAPS_PF_SRIOV_HW_SUPPORT: Max number of VFs exposed " "by SRIOV extended capability in PCI configuration space. " "For BMAPI_DEV_VIRT_CAPS_VF_DEVICE: type of HOST OS/hyervisor: " "0: Windows8 (SW VF/PF interface) " "1: VMware/Linux (HW/FW VF/PF interface" )] uint32 VirtualizationProps; [Description ( "SupportedTests" ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11"}, Values { "CONTROL_REGISTERS_TEST", "MII_REGISTERS_TEST", "INTERNAL_MEMORY_TEST", "EEPROM_TEST", "INTERRUPT_TEST", "LOOPBACK_MAC_TEST", "LOOPBACK_PHYSICAL_TEST", "CPU_TEST", "LED_TEST", "ISCSI_PING_TEST", "CABLE_TEST", "NIC_NW_TEST" }] uint16 SupportedTests[]; uint16 SupportedTestCount; boolean DriverLoaded; boolean IsResourceReadOnly; string resCfgParams;//QLGC_ResourceConfigParams uint32 nicList[]; string nicFunctions[]; //QLGC_NicFunction REF nicFunctions; uint32 FCoEList[]; string fcoeFunctions[]; //QLGC_FCoEFunction REF fcoeFunctions; uint32 iSCSIList[]; string iscsiFunctions[];//QLGC_IscsiFunction REF iscsiFunctions; string params;//QLGC_FunctionParameter REF params; string stats;//QLGC_FCoEStats REF stats; string bootConfig[];// QLGC_FCoEBootConfigInfo REF bootConfig; uint32 RunFuncDiagnostic( [IN, Description ( "Diagnostic Type." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "10"}, Values { "CONTROL_REGISTERS_TEST", "MII_REGISTERS_TEST", "INTERNAL_MEMORY_TEST", "EEPROM_TEST", "INTERRUPT_TEST", "LOOPBACK_MAC_TEST", "LOOPBACK_PHYSICAL_TEST", "CPU_TEST", "LED_TEST", "CABLE_TEST" }] uint32 DiagTests[], [IN, Description ( "BlinkDuration." )] uint32 BlinkDuration, [IN, Description ( "Number of iterations." )] uint32 Number_of_iterations, [OUT, Description ( "Number of tests passed in the order of CONTROL_REGISTERS_TEST, MII_REGISTERS_TEST, INTERNAL_MEMORY_TEST, " "EEPROM_TEST, INTERRUPT_TEST, LOOPBACK_MAC_TEST, LOOPBACK_PHYSICAL_TEST, CPU_TEST, LED_TEST" )] uint32 DiagStatus[], [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 UpgradeFW( [IN, Description ( "Firmware Type- Currently Supported MBI" ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23"}, Values { "BootCode", "BootCode2", "PXE", "ISCSI", "UMP", "IPMI", "NCSI", "ASF", "DASH", "TSTORM", "CSTORM", "XSTORM", "USTORM", "FCoE", "FCode", "EFI_X86", "EFI_IPF", "EFI_EBC", "EFI_X64", "MFW", "SMASH", "MGMT_NA", "CCM", "MBI"} ] uint32 FirmwareType, [IN, Description ( "Reset" )] boolean Reset, [IN, Description ( "Force Upgrade" )] boolean Force, [IN, Description ( "Firmware Image File Path" )] string ImageFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 GetCustomDiagnosticData( [IN, Description ( "Diagnostic Data File Path" )] string DiagDataFilePath, [OUT, Description ( "ResultMessage" )] string ResultMessage); }; class QLGC_ResourceConfigParams { [key] uint32 FunctionHandle; [key] uint32 AdapterHandle; uint32 ToeLicensedConnections; uint32 ToeReservedConnections; uint32 ToeMaxConnections; uint32 ToeConnectionLimit; uint32 IscsiLicensedConnections; uint32 IscsiReservedConnections; uint32 IscsiMaxConnections; uint32 IscsiPendingTask; uint32 FcoeLicensedConnections; uint32 FcoeMaxConnections; uint32 FcoePendingTask; uint32 FcoePendingTaskSession; uint32 RdmaLicensedConnections; uint32 RdmaReservedConnections; uint32 RdmaMaxConnections; uint32 IserLicensedConnections; uint32 IserReservedConnections; uint32 MemoryConsumption; [Description ( "StorageEnum" ), ValueMap { "0", "1", "2"}, Values { "GAM_RES_CFG_NVM_ENUM_NONE", "GAM_RES_CFG_NVM_ENUM_FCOE", "GAM_RES_CFG_NVM_ENUM_ISCSI" } ] uint32 StorageEnum; [Write] boolean ToeRssPossible; [Write] boolean EnableToeRSS; [Write] boolean EnableNDIS; [Write] boolean EnableTOEChimney; [Write] boolean EnableISCSI; [Write] boolean EnableFCOE; [Write] boolean EnableRDMA; boolean FirstComeFirstServedDisabled; [Write] boolean ConfigToeIpv6; [Write] boolean ConfigIscsiIpv6; [Write] boolean PreventFCoE; [Write] boolean PreventISCSI; }; class QLGC_PortAdavancedParameter { [key] uint32 PortHandle; [key] string Name; string Description; [Write] string StrCurrentValue; string StrDefaultValue; uint64 Base; uint32 Min; uint32 Max; uint32 Step; [Write] uint32 CurrentValue; uint32 DefaultValue; [Write] uint32 EnumCurrentValue; uint32 EnumDefaultValue; [ Description ( "Type" ), ValueMap { "0", "1", "2"}, Values { "IntParam", "EnumParam", "StringParam" } ] uint8 Type; uint32 Value[]; string ValueDescription[]; uint32 SavePortAdvancedParameters( [IN, Description ( "XML file path" )] string PortAdvancedParametersXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 SetPortAdvancedParameters( [IN, Description ( "XML file path" )] string PortAdvancedParametersXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); }; class QLGC_ndisAdvancedParameter { [key] uint32 ndisHandle; [key] string Name; string Description; [Write] string StrCurrentValue; string StrDefaultValue; uint64 Base; uint32 Min; uint32 Max; uint32 Step; [Write] uint32 CurrentValue; uint32 DefaultValue; [Write] uint32 EnumCurrentValue; uint32 EnumDefaultValue; [ Description ( "Type" ), ValueMap { "0", "1", "2"}, Values { "IntParam", "EnumParam", "StringParam" } ] uint8 Type; uint32 Value[]; string ValueDescription[]; uint32 GetEnumParamValuesDesc( [IN, Description ( "Name" )] string Name, [OUT, Description ( "Value" )] uint32 Value[], [OUT, Description ( "ValueDescription" )] string ValueDescription[], [OUT, Description ( "ResultMessage" )] string ResultMessage); }; class QLGC_FunctionParameter { [key] uint32 FunctionHandle; [key] string Name; string Description; [Write] string StrCurrentValue; string StrDefaultValue; uint64 Base; uint32 Min; uint32 Max; uint32 Step; [Write] uint32 CurrentValue; uint32 DefaultValue; [Write] uint32 EnumCurrentValue; uint32 EnumDefaultValue; [ Description ( "Type" ), ValueMap { "0", "1", "2"}, Values { "IntParam", "EnumParam", "StringParam" } ] uint8 Type; string valueDescription; //QLGC_ParameterValueDescription uint32 SaveFunctionAdvancedParameters( [IN, Description ( "XML file path" )] string FunctionAdvancedParametersXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 SetFunctionAdvancedParameters( [IN, Description ( "XML file path" )] string FunctionAdvancedParametersXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); }; class QLGC_ParameterValueDescription { uint32 Value[]; string ValueDescription[]; [key] uint32 FunctionHandle; [key] string Name; }; class QLGC_FCoEFunction { [key] uint32 FCoEHandle; string InstanceId; string Description; string Title; string FriendlyName; string DriverVersion; string DriverDate; string DriverName; string macAddress; string wwnn; string wwpn; Uint32 UniqueId; Uint32 VLANID; Uint32 MTU; [Description ( "FCFSelectionMethod" ), ValueMap { "0", "1"}, Values { "BACS_FCF_SELECT_FIRST", "BACS_FCF_SELECT_PRIORITY" } ] Uint32 FCFSelectionMethod; boolean DriverLoaded; boolean UseFIP; Uint32 VNPortList[]; string vnPorts[]; //QLGC_VNPort REF vnPorts; uint32 CreateVirtualPort( [IN, Description ( "WWPN." )] string WWPN, [IN, Description ( "WWNN." )] string WWNN, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 DeleteVirtualPort( [IN, Description ( "WWPN." )] string WWPN, [IN, Description ( "WWNN." )] string WWNN, [OUT, Description ( "ResultMessage" )] string ResultMessage); }; class QLGC_FCoEStats { [key] uint32 FunctionHandle; [key] uint32 FCoEHandle; [key] uint32 HostHandle; uint64 RxFCoEFrames; uint64 RxFCoEBytes; uint64 RxFCPFrames; uint64 TxFCoEFrames; uint64 TxFCoEBytes; uint64 TxFCPFrames; uint64 FCoEDropedFrames; uint64 SequencesDropped; uint64 FCCRCErrorFrames; uint64 WrongFCoEVersionFrames; uint64 EOFAFrames; uint64 MissingFrames; uint64 SequenceTimeouts; /** driver stats */ uint64 ReadRequests; uint64 WriteRequests; uint64 ControlRequests; uint64 ReadMegabytes; uint64 WriteMegabytes; uint64 FIPVlanNegotiations; uint64 FIPFabricDiscoveries; uint64 FLOGICount; uint64 FDISCCount; uint64 ULPTOVExpirations; uint64 RECExpirations; uint64 ABTSCount; uint64 SRRCount; uint64 ResetLUNCount; uint64 ResetTargetCount; uint64 SessionLevelRecoveryCount; /** Added for Linux */ uint64 LinkFailures; }; class QLGC_VNPort { string FPMAMacAddress; string FCFMacAddress; [key] uint32 VNPortHandle; [key] uint32 FCoEHandle; [key] uint32 HostHandle; string FabricName; string FCFNodeWWN; string FCFPortWWN; string WWPN; string WWNN; string ParentWWPN; uint64 Speed; uint32 PortFCID; uint32 FCMap; uint32 LinkKeepaliveInterval; uint32 FabricVLAN; uint32 FabricPriority; [Description ( "PortType" ), ValueMap { "0", "1"}, Values { "NPORT", "NPIVPORT" } ] uint32 PortType; uint32 TargetList[]; string targets[]; //QLGC_QLTarget REF targets; }; class QLGC_FCoEBootConfigInfo { [key] uint32 FCoEHandle; [key] uint32 FunctionHandle; [key] uint32 HostHandle; [Write] uint16 FIPVLAN; [Write] boolean FIPVLANDiscovery; [Write] boolean TargetAsFirstHDD; [Write] boolean HBAMode; [Write,Description ( "BootToFCoETarget" ), ValueMap { "0", "1", "2", "3", "4"}, Values { "BOOT_PROTOCOL_NONE", "BOOT_PROTOCOL_FCoE", "BOOT_TO_FCoE_TARGET_ENABLED", "BOOT_TO_FCoE_TARGET_DISABLED", "BOOT_TO_FCoE_TARGET_ONE_TIME" } ] uint8 BootToFCoETarget; [Write] uint8 LinkUpDelay; [Write] uint8 LUNBusyRetryCount; [Write] uint8 FabricDiscoveryTimeout; [Write,Description ( "AuthenticationMode" ), ValueMap { "0", "1", "2"}, Values { "None", "Unidirectional Diffie-Hellman CHAP", "Bidirectional Diffie-Hellman CHAP" } ] uint8 AuthenticationMode; [Write] uint8 FIPPriority; [Write] string bootSourceInfo_wwpn[]; [Write] uint16 bootSourceInfo_LUN[]; [Write] boolean bootSourceInfo_Enabled[]; uint32 SaveFCoEBootConfig( [IN, Description ( "XML file path" )] string FCoEBootConfigXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 SetFCoEBootConfig( [IN, Description ( "XML file path" )] string FCoEBootConfigXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); }; class QLGC_QLTarget { [key] uint32 VNPortHandle; [key] uint32 Target; [key] uint32 HostHandle; string Id; string ProductId; string VendorId; string ProductRevision; string NodeName; string PortName; [Description ( "Type" ), ValueMap { "0", "1", "2", "3", "4", "5"}, Values { "StaticTarget", "ISNSDiscovered", "SendTargetDiscovered", "PersistTarget", "OtherTarget", "HBADiscovered"} ] uint32 Type; /**< refers to eQL_TargetType? */ uint32 FCID; /**< 3 byte FCID, ex. 12:AB:55 stored as 0x0012AB55 */ uint32 SCSIBusNumber; uint32 SCSITargetNumber; uint32 NumberLUNs; uint32 UniqueId; boolean PersistencyFlag; uint32 LunList[]; string luns[]; //QLGC_QLUN REF luns; }; class QLGC_QLUN { [key] uint32 Target; [key] uint32 UniqueId; [key] uint32 HostHandle; string DeviceName; string ProductId; string VendorId; string ProductRevision; uint64 Capacity; uint32 SCSIUnitNumber; [Description ( "DeviceType" ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17"}, Values { "DIRECT_ACCESS_BLOCK_DEVICE", "SEQUENTIAL_ACCESS_DEVICE", "PRINTER_DEVICE", "PROCESSOR_DEVICE", "WRITE_ONCE_DEVICE", "CD_DVD_DEVICE", "SCANNER_DEVICE", "OPTICAL_MEMORY_DEVICE", "MEDIUM_CHANGER_DEVICE", "COMMUNICATIONS_DEVICE", "INVALID_DEVICE_1", "INVALID_DEVICE_2", "STORAGE_ARRAY_CONTROLLER_DEVICE", "ENCLOSURE_SERVICES_DEVICE", "SIMPLIFIED_DIRECT_ACCESS_DEVICE", "OPTICAL_CARD_DEVICE", "BRIDGE_CONTROLLER_DEVICE", "OBJECT_BASED_STORAGE_DEVICE"} ] uint32 DeviceType; }; class QLGC_IscsiFunction { string InstanceId; string Description; string Title; string InitiatorName; string DriverVersion; string DriverDate; string DriverName; string MACAddress; [key] uint32 UniqueId; [key] uint32 FunctionHandle; [key] uint32 HostHandle; uint32 MTU; uint32 VLANID; boolean ProcessRouterAdvertisements; boolean IPv4EnableDHCP; boolean IPv6EnableDHCP; boolean DriverLoaded; //QLGC_IscsiStats REF stats; uint32 LoginAcceptRsps; uint32 LoginOtherFailRsps; uint32 LoginRedirectRsps; uint32 LoginAuthFailRsps; uint32 LoginAuthenticateFails; uint32 LoginNegotiateFails; uint32 LogoutNormals; uint32 LogoutOtherCodes; uint32 LoginFailures; uint32 SessionDigestErrorCount; uint32 SessionConnectionTimeoutErrorCount; uint32 SessionFormatErrorCount; uint32 SessionFailureCount; uint32 OffloadTCPConnections; string IPv4Address;//QLGC_IscsiIpv4Addresses string IPv6Address;//QLGC_IscsiIpAddresses string StaticIPv4Address[]; string StaticIPv4SubnetMask[]; string StaticIPv4DefaultGateway[]; string StaticIPv6Address[]; string StaticIPv6DefaultGateway[]; uint32 StaticIPv6PrefixLength[]; uint32 PortalList[]; string portals[]; //QLGC_IscsiPortalInfo REF portals; string sessions[]; //QLGC_IscsiSessionInfo REF sessions; uint32 sessionList[]; uint32 LoginToTarget( [IN, Description ( "iSCSITargetPortalHandle." )] uint32 iSCSITargetPortalHandle, [IN, Description ( "AuthType." ), ValueMap { "0", "1", "2"}, Values { "NONE", "CHAP", "MUT_CHAP"}] uint32 AuthType, [IN, Description ( "ChapUsername." )] string ChapUsername, [IN, Description ( "ChapPassword." )] string ChapPassword, [IN, Description ( "InitiatorUsername." )] string InitiatorUsername, [IN, Description ( "InitiatorSecret." )] string InitiatorSecret, [IN, Description ( "ifaceFileName." )] string ifaceFileName, [IN, Description ( "UseHeaderDigest." )] boolean UseHeaderDigest, [IN, Description ( "UseDataDigest." )] boolean UseDataDigest, [IN, Description ( "Persist." )] boolean Persist, [IN, Description ( "EnableMPIO." )] boolean EnableMPIO, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 Logout( [IN, Description ( "iSCSISessionHandle." )] uint32 iSCSISessionHandle, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 RuniSCSIDiagnostic( [IN, Description ( "IP Address." )] string IPAddress, [OUT, Description ( "DiagStatus " )] uint32 DiagStatus, [IN, Description ( "IPV4/IPV6, 0/1" )] uint32 IPType, [IN, Description ( "ifaceFileName." )] string ifaceFileName, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 Create_Or_Modify_ifaceFile( [IN, Description ( "VLANID." )] uint32 VLANID, [IN, Description ( "MTU." )] uint32 MTU, [IN, Description ( "IfaceNum." )] uint32 IfaceNum, [IN, Description ( "IPCategory" ), ValueMap { "0", "1", "2"}, Values { "GAM_kUNSPECIFIED", "GAM_kDHCP", "GAM_kSTATIC" } ] uint32 IPCategory, [IN,Description ( "ModifiedState" ), ValueMap { "0", "1", "2", "3"}, Values { "GAM_kNotUpdated", "GAM_kUpdated", "GAM_kCreated", "GAM_kDeleted" } ] uint32 ModifiedState, [IN, Description ( "ifaceFileName." )] string ifaceFileName, [IN, Description ( "InitiatorName." )] string InitiatorName, [IN, Description ( "IPv4Address." )] string IPv4Address, [IN, Description ( "IPv4SubnetMask." )] string IPv4SubnetMask, [IN, Description ( "IPv4DefaultGateway." )] string IPv4DefaultGateway, [IN, Description ( "isIPv4." )] boolean isIPv4, [IN, Description ( "IPv6Address." )] string IPv6Address, [IN, Description ( "IPv6PrefixLength ." )] uint32 IPv6PrefixLength , [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 SaveIscsiFunctionConfig ( [IN, Description ( "XML file path" )] string IscsiFunctionConfigXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 SetIscsiFunctionConfig ( [IN, Description ( "XML file path" )] string IscsiFunctionConfigXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); }; class QLGC_IscsiNegotiationInfo { [key] uint32 UniqueId; [key] uint32 FunctionHandle; [key] uint32 HostHandle; uint32 MaxOutstandingR2T; uint32 FirstBurstLength; uint32 MaxBurstLength; uint32 ErrorRecoveryLevel; uint32 DefaultTimeToWait; uint32 DefaultTimeToRetain; uint32 MaxConnections; boolean InitialR2T; boolean ImmediateData; boolean DataSequenceInOrder; boolean DataPDUInOrder; }; class QLGC_IscsiBootCfg { [key] uint32 UniqueId; [key] uint32 FunctionHandle; [key] uint32 HostHandle; [Write] string IscsiBootSourceInfo_Name[]; [Write] string IscsiBootSourceInfo_ChapID[]; [Write] string IscsiBootSourceInfo_ChapSecret[]; [Write] string IscsiBootSourceInfo_Address[]; [Write] uint32 IscsiBootSourceInfo_iTCPPort[]; [Write] uint32 IscsiBootSourceInfo_iLUN[]; [Write] boolean bEnabled[]; [Write] string IPDNS1; [Write] string IPDNS2; [Write] string InitiatorName; [Write] string ChapID; [Write] string ChapSecret; [Write] string DHCPVendorID; [Write] string ipAddress; [Write] string ipSubnetMask; [Write] string ipGateway; [Write] boolean ChapAuthentication; [Write] boolean UseDHCPForInitiator; [Write] boolean UseDHCPForTargetInfo; [Write, Description ( "Boot To IscsiTarget" ), ValueMap { "0", "1", "2"}, Values { "Disabled", "Enabled", "One Time Disabled" }] uint32 BootToIscsiTarget; [Write] boolean UseTCPTimestamp; [Write] boolean TargetAsFirstHDD; [Write] boolean HBAMode; [Write] boolean MPIOUseIndependentTargetPortal; [Write] boolean MPIOUseIndependentTargetName; [Write, Description ( "IPMode" ), ValueMap { "1", "2"}, Values { "IPv4", "IPv6" }] uint32 IPMode; [Write] uint32 LinkUpDelay; [Write] uint32 LUNBusyRetryCount; // E4 specific uint16 DHCPRequestTimeout; uint16 TargetLoginTimeout; uint16 VLANID; [Write, Description ( "Boot Mode" ), ValueMap { "0", "1"}, Values { "Non-Offload", "Offload" }] uint32 BootMode; [Write, Description ( "Address Redirect" ), ValueMap { "0", "1"}, Values { "Disabled", "Enabled" }] uint32 AddressRedirect; [Write, Description ( "IPv4 Fallback" ), ValueMap { "0", "1"}, Values { "Disabled", "Enabled" }] uint32 IPv4Fallback; uint32 SaveIscsiBootConfig( [IN, Description ( "XML file path" )] string IscsiBootConfigXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 SetIscsiBootConfig( [IN, Description ( "XML file path" )] string IscsiBootConfigXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); }; class QLGC_FCoEGeneralConfig { [key] uint32 UniqueId; [key] uint32 FunctionHandle; [key] uint32 HostHandle; [Write] uint32 LinkDownTimeout; [Write] uint32 PortDownTimeout; uint32 SaveFCoEGeneralConfig( [IN, Description ( "XML file path" )] string FCoEGeneralConfigXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 SetFCoEGeneralConfig( [IN, Description ( "XML file path" )] string FCoEGeneralConfigXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); }; class QLGC_IscsiSessionInfo { [key] uint32 SessionHandle; [key] uint32 iSCSIHandle; [key] uint32 HostHandle; string TargetName; uint64 SessionID; uint64 SessionID2; uint32 TSIH; uint32 SCSIBusNumber; uint32 SCSITargetNumber; uint32 Handle; uint32 MaxOutstandingR2T; uint32 MaxUnsolicitedFirstDataBurstLength; uint32 MaxDataBurstLength; uint32 DefaultTimeToWait; uint32 DefaultTimeToRetain; uint32 ErrorRecoveryLevel; boolean Connected; boolean InitialR2T; boolean ImmediateData; boolean DataSequenceInOrder; boolean DataPDUInOrder; // InitiatorPortal; string InitiatorPortal_HBAInstanceName; string InitiatorPortal_IPv4Str; uint32 InitiatorPortal_PortNumber; uint32 InitiatorPortal_InitiatorPort; string InitiatorPortal_ipv6; boolean InitiatorPortal_bIsIPv4; // Target portal; string TargetPortal_HBAInstanceName; string TargetPortal_IPv4Str; uint32 TargetPortal_PortNumber; uint32 TargetPortal_InitiatorPort; string TargetPortal_ipv6; boolean TargetPortal_bIsIPv4; //QLGC_IscsiSessionStats REF sessionStats; string SessionName; uint64 sessionStats_SessionId; uint64 BytesSent; uint64 BytesReceived; uint64 PDUCommandsSent; uint64 PDUResponsesReceived; uint64 DigestErrors; uint64 ConnectionTimeoutErrors; uint64 FormatErrors; string connections[]; //QLGC_IscsiConnection1 REF connections; uint32 connectionList[]; }; class QLGC_IscsiConnection1 { [key] uint32 SessionHandle; uint64 ConnectionID; [key] uint32 Handle; [key] uint32 HostHandle; [Description ( "AuthType" ), ValueMap { "0", "1", "2"}, Values { "none", "CHAP", "MUT_CHAP" } ] uint32 AuthType; uint32 MaxReceiveDataSegmentLength; uint32 MaxTransmitDataSegmentLength; [Description ( "HeaderDigest" ), ValueMap { "0", "1"}, Values { "none", "crc32c" } ] uint8 HeaderDigest; [Description ( "DataDigest" ), ValueMap { "0", "1"}, Values { "none", "crc32c" } ] uint8 DataDigest; boolean ActiveiSCSIVersion; }; class QLGC_IscsiPortalInfo { [key,Description ( "PortalType" ), ValueMap { "0", "1", "2"}, Values { "ISCSIPortal", "ISCSIDiscoveryPortal", "TargetPortal" } ] uint32 PortalType; //Discovery portal or Initiator Portal or Target Portal string HBAInstanceName; string IPv4Str; string IPv6Str; [key] uint32 iSCSIHandle; [key] uint32 UniqueId; [key] uint32 HostHandle; uint32 PortNumber; uint32 InitiatorPort; boolean IsIPv4; uint32 TargetList[]; string devices[];//QLGC_iSCSIQLTarget REF devices; }; class QLGC_iSCSIQLTarget { string TargetIQNName; [key] uint32 PortalHandle; [key] uint32 Target; [key] uint32 HostHandle; string Id; string ProductId; string VendorId; string ProductRevision; [Description ( "Type" ), ValueMap { "0", "1", "2", "3", "4", "5"}, Values { "StaticTarget", "ISNSDiscovered", "SendTargetDiscovered", "PersistTarget", "OtherTarget", "HBADiscovered"} ] uint32 Type; /**< refers to eQL_TargetType? */ uint32 SCSIBusNumber; uint32 SCSITargetNumber; uint32 NumberLUNs; uint32 UniqueId; [Description ( "TargetType" ), ValueMap { "0", "1" }, Values { "iSCSITarget", "HostiscsiTarget"} ] uint32 TargetType; boolean Connected; boolean PersistencyFlag; uint32 LunList[]; string luns[]; //QLGC_iSCSIQLUN REF luns; }; class QLGC_iSCSIQLUN { [key] uint32 Target; [key] uint32 UniqueId; [key] uint32 HostHandle; string DeviceName; string ProductId; string VendorId; string ProductRevision; uint64 Capacity; uint32 SCSIUnitNumber; [Description ( "DeviceType" ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17"}, Values { "DIRECT_ACCESS_BLOCK_DEVICE", "SEQUENTIAL_ACCESS_DEVICE", "PRINTER_DEVICE", "PROCESSOR_DEVICE", "WRITE_ONCE_DEVICE", "CD_DVD_DEVICE", "SCANNER_DEVICE", "OPTICAL_MEMORY_DEVICE", "MEDIUM_CHANGER_DEVICE", "COMMUNICATIONS_DEVICE", "INVALID_DEVICE_1", "INVALID_DEVICE_2", "STORAGE_ARRAY_CONTROLLER_DEVICE", "ENCLOSURE_SERVICES_DEVICE", "SIMPLIFIED_DIRECT_ACCESS_DEVICE", "OPTICAL_CARD_DEVICE", "BRIDGE_CONTROLLER_DEVICE", "OBJECT_BASED_STORAGE_DEVICE"} ] uint32 DeviceType; }; class QLGC_IscsiIpv4Addresses { [key] uint32 iSCSIHandle; string IPv4Str[]; string DefaultGateway[]; string SubnetMask[]; uint32 EnableDHCP[]; [Description ( "GAM_ISCSI_IPV4_ADDR_INIT 0x0001" "GAM_ISCSI_IPV4_ADDR_VALID 0x0002" "GAM_ISCSI_IPV6_HBA_BOOT 0x0010" ) ] uint32 Flags[]; }; class QLGC_IscsiIpAddresses { [key] uint32 iSCSIHandle; uint32 UseLinkLocalAddress[]; [Description ( "GAM_ISCSI_IPV6_ADDR_INIT 0x0001 " "GAM_ISCSI_IPV6_ADDR_VALID 0x0002 " "GAM_ISCSI_IPV6_GTW_VALID 0x0004 " "GAM_ISCSI_IPV6_MASK_VALID 0x0008 " "GAM_ISCSI_IPV6_HBA_BOOT 0x0010" ) ] uint32 Flags[]; uint32 EnableDHCP[]; uint32 FlowInfo[]; uint32 ScopeId[]; string ipAddress[]; string defaultGateway[]; string subnetMask[]; }; class QLGC_IfaceFileInfo { [key] uint32 Handle; // Host or iSCSI handle uint32 VLANID; uint32 MTU; uint32 IfaceNum; [Description ( "IPCategory" ), ValueMap { "0", "1", "2"}, Values { "GAM_kUNSPECIFIED", "GAM_kDHCP", "GAM_kSTATIC" } ] uint32 IPCategory; [Description ( "ModifiedState" ), ValueMap { "0", "1", "2", "3"}, Values { "GAM_kNotUpdated", "GAM_kUpdated", "GAM_kCreated", "GAM_kDeleted" } ] uint32 ModifiedState; [key] string ifaceFileName; string InitiatorName; string IPv4Address; string IPv4SubnetMask; string IPv4DefaultGateway; boolean isIPv4; string Address; string DefaultGateway; uint32 PrefixLength; }; class QLGC_NicFunction { string InstanceId; string Description; string Title; string DriverVersion; string DriverDate; string DriverName; string TeamName; string VlanName; string SubnetMask; string DefaultGateway; string MacAddress; string PermanentMacAddr; string IPv4Addr[]; string IPv6Addr[]; [key] uint32 FunctionHandle; [key] uint32 UniqueId; [key] uint32 HostHandle; uint64 MaxSpeed; [Description ( "// bit flags for NDIS_R_INFO.OffloadCapabilities" "#define OFFLOAD_CAP_TOE 0x0001" "#define OFFLOAD_CAP_LSO 0x0002" "#define OFFLOAD_CAP_CO 0x0004" "#define OFFLOAD_CAP_RSS 0x0008") ] uint32 OffloadCapabilities; uint32 MTU; [Description ( "LinkStatus" ), ValueMap { "0", "1"}, Values { "LinkDown", "LinkUp" } ] uint32 LinkState; [Description ( "TeamMemberType" ), ValueMap { "0", "1"}, Values { "LoadBalancing", "StandBy" } ] uint32 TeamMemberType; [Description ( "TeamMemberState" ), ValueMap { "0", "1", "2"}, Values { "GAM_TEAM_MEMBER_STATE_NOT_APPLICABLE", "GAM_TEAM_MEMBER_STATE_ACTIVE", "GAM_TEAM_MEMBER_STATE_NOT_ACTIVE" } ] uint32 TeamMemberState; uint32 VLANID; uint32 DuplexMode; [Description ( "GAM_RSS_CAPS_MESSAGE_SIGNALED_INTERRUPTS 0x01000000 " "GAM_RSS_CAPS_CLASSIFICATION_AT_ISR 0x02000000 " "GAM_RSS_CAPS_CLASSIFICATION_AT_DPC 0x04000000 " "GAM_RSS_CAPS_HASH_TYPE_TCP_IPV4 0x00000100 " "GAM_RSS_CAPS_HASH_TYPE_TCP_IPV6 0x00000200 " "GAM_RSS_CAPS_HASH_TYPE_TCP_IPV6_EX 0x00000400 " "GAM_RSS_HASHFUNCTIONTOEPLITZ 0x00000001" ) ] uint32 RSSCaps; uint32 LineSpeedKbps; boolean DriverLoaded; boolean IsTOESupported; //QLGC_NICStats uint64 PacketsTransmitted; uint64 PacketsReceived; uint64 TotalTransmitError; uint64 TotalReceiveError; uint64 DirectedFramesTransmitted; uint64 MulticastFramesTransmitted; uint64 BroadcastFramesTransmitted; uint64 DirectedFramesReceived; uint64 MulticastFramesReceived; uint64 BroadcastFramesReceived; uint64 SingleCollisionFrames; uint64 MultipleCollisionFrames; uint64 DeferredTransmissions; uint64 LateCollisions; uint64 ExcessiveCollisions; uint64 CarrierSenseErrors; uint64 OffloadTCPConnections; uint32 RunNdisDiagnostic( [IN, Description ( "IP Address." )] string IPAddress, [OUT, Description ( "DiagStatus " )] uint32 DiagStatus, [IN, Description ( "IPV4/IPV6." )] uint32 IPType, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 SaveNdisAdvancedParameter( [IN, Description ( "XML file path" )] string NdisAdvancedParametersXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 SetNdisAdvancedParameter( [IN, Description ( "XML file path" )] string NdisAdvancedParametersXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); }; class QLGC_NicPartFunctionConfig { [key] uint32 AdapterHandle; [key] uint32 FunctionHandle; [key] uint32 PortNumber; [key] uint32 FunctionNumber; [Write] string netMAC; [Write] string iSCSIMAC; [Write] string fcoeMAC; [Write] string fcoeWWNN; [Write] string fcoeWWPN; [Write,Description ( "PART_FUNC_CFG_ENABLED 0x00000001" "// By default, all functions will have NDIS enumerated." "PART_FUNC_CFG_ETH 0x00000002 // enumerate NDIS" "// By default, function 0 and 1 will iSCSI enumerated." "// No more than 2 iSCSI can be enumerated per physical port." "PART_FUNC_CFG_ISCSI 0x00000004 // enumerate iSCSI" "// No more than 2 FCoE can be enumerated per physical port." "PART_FUNC_CFG_FCOE 0x00000008 // enumerate FCoE" "PART_FUNC_CFG_ROCE 0x00000010 // enumerate RoCE" "PART_FUNC_CFG_IWARP 0x00000020 // enumerate iWARP" "// pause on host ring" "PART_FUNC_CFG_PAUSE_ON_HOST_RING 0x00000080" ) ] uint32 flags; [Description ( "FUNC_ENABLE 0x01" "PROTOCOL_ETHERNET 0x02" "PROTOCOL_ISCSI 0x04" "PROTOCOL_FCOE 0x08" "PROTOCOL_ROCE 0x010" "PROTOCOL_IWARP 0x020" ) ] uint32 func_cap; uint32 MinBW; uint32 MaxBW; [Write] uint32 PFAllocation; }; class QLGC_NicPartPortConfig { [key] uint32 AdapterHandle; [key] uint32 FunctionHandle; [key] uint32 PortNumber; [Description ( "FlowControl" ), ValueMap { "0", "1", "2", "3", "4"}, Values { "GAM_PART_PORT_FC_AUTO", "GAM_PART_PORT_FC_TX", "GAM_PART_PORT_FC_RX", "GAM_PART_PORT_FC_BOTH", "GAM_PART_PORT_FC_NONE" } ] uint32 FlowControl; [Description ( "GAM_DEFAULT_ENABLED_PROTOCOLS_ETHERNET 0x1" "GAM_DEFAULT_ENABLED_PROTOCOLS_FCOE 0x2" "GAM_DEFAULT_ENABLED_PROTOCOLS_ISCSI 0x4" "GAM_DEFAULT_ENABLED_PROTOCOLS_ROCE 0x8" "GAM_DEFAULT_ENABLED_PROTOCOLS_IWARP 0x10") ] uint32 default_mode_protocol; [Write] uint8 MinBW[]; }; class QLGC_NicPartConfig { [key] uint32 AdapterHandle; [key] uint32 FunctionHandle; [Write,Description ( "Flags" ), ValueMap { "0","1", "2", "3", "4"}, Values { "Disable NPAR", "GAM_NIC_PART_ENABLED", "GAM_NIC_PART1_5_ENABLED", "GAM_NIC_PART2_0_ENABLED", "NPAR_EP_ENABLED" } ] uint32 Flags; [Write] uint32 PreventFCoE; [Write] uint32 SRIOV; [Write] uint32 SRIOVSupported; [Write] uint32 preventISCSI; uint32 SetNicPartitionCfg( [IN, Description ( "XML file path" )] string NPARConfigXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); uint32 GetNicPartitionCfg( [IN, Description ( "XML file path" )] string NPARConfigXMLFile, [OUT, Description ( "ResultMessage" )] string ResultMessage); }; class QLGC_SRIOVSwitchInfo { [key] uint32 FunctionHandle; [Description ( "SwitchType" ), ValueMap { "0", "1", "2", "3", "4", "5"}, Values { "GAM_SRIOV_SWITCH_PF_UNBOUND", "GAM_SRIOV_SWITCH_PF_BOUND_WITH_SRIOV_CAPS", "GAM_SRIOV_SWITCH_VF", "GAM_SRIOV_REGULAR_PF", "GAM_SRIOV_VMQ_SWITCH", "GAM_SRIOV_SRIOV_SWITCH" } ] uint32 SwitchType; uint32 HWAvailableVFs; uint32 AvailableVFs; uint32 MaxVFChainsPerVF; uint32 VFChainsPoolSize; uint32 VMQChainsPoolSize; string switchFriendlyName; }; class QLGC_SRIOVSwitchStats { [key] uint32 FunctionHandle; uint32 SwitchType; uint32 ActiveVFs; uint32 RejectedVFs; uint32 MaliciousVFs; uint32 ActiveVMQs; uint32 RejectedVMQs; }; class QLGC_SriovVFInfo { [key] uint32 FunctionHandle; uint32 Bus[]; uint32 Device[]; uint32 Function[]; uint32 QPsRequestedByVM[]; uint32 QPsRequestedByVF[]; uint32 QPsAllocatedToVF[]; uint32 QPsNumbersValidator[]; string vmName[]; string vmFriendlyName[]; string vportName[]; string vfVportNicName[]; uint32 vfHeader_RelativeVFId[]; uint32 vfHeader_VFPortInstance[]; uint32 vfHeader_ActiveVFChains[]; uint32 vfHeader_FeaturesFlag[]; uint64 totalSentBytes[]; uint64 totalSentPkts[]; uint64 totalRecvBytes[]; uint64 totalRecvPkts[]; }; class QLGC_LicenseInfo { [key] uint32 FunctionHandle; uint32 key_type; uint32 dword_length; uint32 oem_id; uint32 capability; uint32 max_toe_conn; uint32 max_um_rdma_conn; uint32 max_iscsi_init_conn; uint32 max_iscsi_trgt_conn; uint32 max_iser_init_conn; uint32 max_iser_trgt_conn; uint32 max_fcoe_init_conn; uint32 max_fcoe_trgt_conn; uint32 sn; uint32 expiration; }; class QLGC_NdisQlgcStatsInfo { [key] uint32 FunctionHandle; [key] uint32 HostHandle; uint64 FecMode; uint64 FecCoreErrCnt; uint64 FecUnCoreErrCnt; uint64 FecRsvd; uint64 Version; uint64 EtherStatsFragments; uint64 XonPauseFramesReceived; uint64 XoffPauseFramesReceived; uint64 MacControlFramesReceived; uint64 OutXonSent; uint64 OutXoffSent; uint64 NicNoMoreRxBDs; uint64 NicRecvThresholdHit; uint64 NicInterrupts; uint64 NicAvoidedInterrupts; uint64 NicSendThresholdHit; uint64 OctetsReceived; uint64 OctetsTransmitted; uint64 TxLargeSendFrames; // Available only for 57710 family devices uint64 ifInNoBrbBuffer; uint64 ifInMBUFDiscards; uint32 OffloadTCPConnections; uint32 AlignmentErrors; uint32 FCSErrors; uint32 FrameTooLongs; uint32 InternalMACTransmitErrors; uint32 InternalMACReceiveErrors; uint32 SingleCollisionFrames; uint32 MultipleCollisionFrames; uint32 DeferredTransmissions; uint32 LateCollisions; uint32 ExcessiveCollisions; uint32 CarrierSenseErrors; uint64 PacketsTransmitted; uint64 PacketsReceived; uint64 ifHCInUcastPkts; uint64 ifHCInMulticastPkts; uint64 ifHCInBroadcastPkts; uint64 xoffStateEntered; uint64 etherStatsJabbers; uint64 etherStatsUndersizePkts; ////////////////////////// // Not available for 5706 // Not available for 57710 uint64 inRangeLengthError; uint64 outRangeLengthError; ////////////////////////// ////////////////////////// // Not available for 57710 uint64 etherStatsPkts64Octets; uint64 etherStatsPkts65Octetsto127Octets; uint64 etherStatsPkts128Octetsto255Octets; uint64 etherStatsPkts256Octetsto511Octets; uint64 etherStatsPkts512Octetsto1023Octets; uint64 etherStatsPkts1024Octetsto1522Octets; ////////////////////////// ////////////////////////// // Not available for 57710 // Not available for 5706 uint64 etherStatsPkts1523Octetsto2047Octets; uint64 etherStatsPkts2048Octetsto4095Octets; uint64 etherStatsPkts4096Octetsto8191Octets; uint64 etherStatsPkts8192Octetsto9022Octets; ////////////////////////// // Statistics maintained by Transmit MAC. uint64 ifHCOutOctets; uint64 etherStatsCollisions; uint64 flowControlDone; ////////////////////////// // Not available for 5706 // Not available for 57710 uint64 dot3Collided2Times; uint64 dot3Collided3Times; uint64 dot3Collided4Times; uint64 dot3Collided5Times; uint64 dot3Collided6Times; uint64 dot3Collided7Times; uint64 dot3Collided8Times; uint64 dot3Collided9Times; uint64 dot3Collided10Times; uint64 dot3Collided11Times; uint64 dot3Collided12Times; uint64 dot3Collided13Times; uint64 dot3Collided14Times; uint64 dot3Collided15Times; ////////////////////////// uint64 ifHCOutUcastPkts; uint64 ifHCOutMulticastPkts; uint64 ifHCOutBroadcastPkts; uint64 ifOutDiscards; uint64 ifOutErrors; uint64 nicDmaWriteQueueFull; uint64 nicDmaWriteHighPriQueueFull; ////////////////////////// // Not available for 5706 VBD // Not available for 57710 uint64 ifInDiscards; ////////////////////////// uint64 ifInErrors; uint64 nicDmaReadQueueFull; uint64 nicDmaReadHighPriQueueFull; uint64 nicSendDataCompQueueFull; ////////////////////////// uint64 nicRingSetSendProdIndex; uint64 nicRingStatusUpdate; }; class QLGC_LinkDumpInfo { [key] uint32 FunctionHandle; [key] uint32 HostHandle; uint64 ChipMode; uint64 MFWLinkState; uint64 PCSLink; uint64 MACFault; uint64 RX_SignalDetect; uint64 LinkSpeed; uint64 Module; uint64 FlowControl; uint64 AutoNeg; uint64 AnLpAdvSpeeds; uint64 AnLpAdvFlowControl; uint64 TxPreFir; uint64 TxMainFir; uint64 TxPostFir; uint64 RxDfe; uint64 LinkChangeCount; uint64 LfaCount; uint64 LfaState; uint64 MfwRawLinkState; uint64 FecMode; uint64 FecCoreErrCnt; uint64 FecUnCoreErrCnt; }; class QLGC_EventData { [key] uint32 HostHandle; [key] uint32 EventNumber; uint32 Handle; uint32 EventType; }; |