Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

190 lines
5.9 KiB

  1. // NlbsNicProv.MOF
  2. // Copyright (c) 1999 Microsoft Corporation
  3. // Generated by Microsoft WBEM Code Generation Engine
  4. //
  5. // TO DO: If this class is intended to be created in a namespace
  6. // other than the default (root\default), you should add
  7. // the #pragma namespace command here. If these classes
  8. // are going into your own namespace, consider creating
  9. // the namespace here as well. See CIMWIN32.MOF for an
  10. // example of how to create a namespace. Also, consider
  11. // combining this mof with the mof the defines the class
  12. // that this provider provides.
  13. //
  14. //===================================================================
  15. // History:
  16. // --------
  17. //
  18. //
  19. // Revised by : mhakim
  20. // Date : 02-12-01
  21. // Reason : Added password support.
  22. #pragma namespace ("\\\\.\\Root\\microsoftnlb")
  23. //*************************************************************
  24. //*** Registers Framework Provider ***
  25. //*************************************************************
  26. instance of __Win32Provider as $P
  27. {
  28. Name = "NlbsNicProv";
  29. ClsId = "{4c97e0a8-c5ea-40fd-960d-7d6c987be0a6}";
  30. };
  31. instance of __InstanceProviderRegistration
  32. {
  33. Provider = $P;
  34. SupportsGet = TRUE;
  35. SupportsPut = TRUE;
  36. SupportsDelete = FALSE;
  37. SupportsEnumeration = TRUE;
  38. QuerySupportLevels = NULL;
  39. };
  40. instance of __MethodProviderRegistration
  41. {
  42. Provider = $P;
  43. };
  44. [Dynamic, Provider ("NlbsNicProv")]
  45. class NlbsNic
  46. {
  47. [
  48. key,
  49. read,
  50. Description(" The complete full name for the adapter.")
  51. ]
  52. String FullName;
  53. [
  54. Description(" The guid for the adapter")
  55. ]
  56. String AdapterGuid;
  57. [
  58. read, write,
  59. Description(" The friendly name for the adapter as seen in network properties.")
  60. ]
  61. String FriendlyName;
  62. [
  63. read,
  64. Description(" The version of the nlbsnic provider.")
  65. ]
  66. String Version;
  67. [
  68. read,
  69. Description(" The win32_networkadapterconfiguration for this class")
  70. ]
  71. MicrosoftNLB_Cluster REF Dependent;
  72. [
  73. Implemented,
  74. Description("Checks to see if nlbs is bound or not to the adapter. "
  75. "It returns 0 - unbound, 1 - bound, else errorcode .")
  76. ]
  77. uint32 IsBound();
  78. [
  79. Implemented,
  80. Description("Binds nlbs to the adapter. "
  81. "It returns 0 - SUCCESS, 30 - no nlbs to bind, else errorcode.")
  82. ]
  83. uint32 Bind();
  84. [
  85. Implemented,
  86. Description("Unbinds nlbs from the adapter. "
  87. "It returns 0 - SUCCESS, 30 - no nlbs to unbind, else errorcode.")
  88. ]
  89. uint32 Unbind();
  90. [
  91. Implemented,
  92. Description(" Binds nlbs to the adapter and also configures nlbs "
  93. "It returns 0 - SUCCESS, 30 - no nlbs to bind, else errorcode.")
  94. ]
  95. uint32 BindAndConfigure( [IN] String ClusterIPAddress,
  96. [IN] String ClusterNetworkMask,
  97. [IN] String ClusterName,
  98. [IN] Boolean MulticastSupportEnabled,
  99. [IN] Boolean IGMPSupport,
  100. [IN] Boolean RemoteControlEnabled,
  101. [IN] String Password,
  102. [IN] uint32 HostPriority,
  103. [IN] String DedicatedIPAddress,
  104. [IN] String DedicatedNetworkMask,
  105. [IN] Boolean ClusterModeOnStart,
  106. [IN] String PortRules[] );
  107. [
  108. Implemented,
  109. Description(" Applies Cluster Property modifications, Adds (might be new) Cluster IP Address to Tcp/Ip "
  110. "It returns 0 - SUCCESS, else errorcode.")
  111. ]
  112. uint32 ModifyClusterProperties( [IN] String ClusterIPAddress,
  113. [IN] String ClusterNetworkMask,
  114. [IN] String ClusterName,
  115. [IN] Boolean MulticastSupportEnabled,
  116. [IN] Boolean IGMPSupport,
  117. [IN] Boolean RemoteControlEnabled,
  118. [IN] String Password);
  119. [
  120. Implemented,
  121. Description("Gets extended cluster configuration information.")
  122. ]
  123. uint32 GetClusterConfiguration(
  124. [IN] String AdapterGuid,
  125. [OUT] uint32 Generation,
  126. [OUT] String NetworkAddresses[], // "10.1.1.1/255.0.0.0"
  127. [OUT] Boolean NLBBound,
  128. [OUT] String ClusterNetworkAddress, // "10.1.1.1/255.0.0.0"
  129. [OUT] String ClusterName,
  130. [OUT] String TrafficMode, // UNICAST MULTICAST IGMPMULTICAST
  131. [OUT] String PortRules[],
  132. [OUT] uint32 HostPriority,
  133. [OUT] String DedicatedNetworkAddress, // "10.1.1.1/255.0.0.0"
  134. [OUT] Boolean ClusterModeOnStart,
  135. [OUT] Boolean RemoteControlEnabled
  136. );
  137. [
  138. Implemented,
  139. Description("Asynchronously updates cluster configuration.")
  140. ]
  141. uint32 UpdateClusterConfiguration(
  142. [IN] String ClientDescription,
  143. [IN] String AdapterGuid,
  144. [IN] uint32 Generation,
  145. [IN] Boolean PartialUpdate,
  146. [IN] String NetworkAddresses[], // "10.1.1.1/255.255.255.255"
  147. [IN] Boolean NLBBound,
  148. [IN] String ClusterNetworkAddress, // "10.1.1.1/255.0.0.0"
  149. [IN] String ClusterName,
  150. [IN] String TrafficMode, // UNICAST MULTICAST IGMPMULTICAST
  151. [IN] String PortRules[],
  152. [IN] uint32 HostPriority,
  153. [IN] String DedicatedNetworkAddress, // "10.1.1.1/255.0.0.0"
  154. [IN] Boolean ClusterModeOnStart,
  155. [IN] Boolean RemoteControlEnabled,
  156. [IN] String Password,
  157. [OUT] uint32 NewGeneration,
  158. [OUT] String Log
  159. );
  160. [
  161. Implemented,
  162. Description("Queries status of a pending asynchronous cluster"
  163. " configuration update.")
  164. ]
  165. uint32 QueryConfigurationUpdateStatus(
  166. [IN] String AdapterGuid,
  167. [IN] uint32 Generation,
  168. [OUT] String Log
  169. );
  170. };