Leaked source code of windows server 2003
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.

177 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. HostingModel = "NetworkServiceHost";
  31. };
  32. instance of __InstanceProviderRegistration
  33. {
  34. Provider = $P;
  35. SupportsGet = TRUE;
  36. SupportsPut = TRUE;
  37. SupportsDelete = FALSE;
  38. SupportsEnumeration = TRUE;
  39. QuerySupportLevels = NULL;
  40. };
  41. instance of __MethodProviderRegistration
  42. {
  43. Provider = $P;
  44. };
  45. [Dynamic, Provider ("NlbsNicProv")]
  46. class NlbsNic
  47. {
  48. [
  49. Implemented, static,
  50. Description("Gets the list of GUIDs of adapters compatible with NLB"
  51. "and the number of adapters currently bound to NLB.")
  52. ]
  53. uint32 GetCompatibleAdapterGuids(
  54. [OUT] String AdapterGuids[], // "{......}"
  55. [OUT] uint32 NumBoundToNlb
  56. );
  57. [
  58. Implemented, static,
  59. Description("Gets extended cluster configuration information.")
  60. ]
  61. uint32 GetClusterConfiguration(
  62. [IN] String AdapterGuid,
  63. [OUT] String FriendlyName,
  64. [OUT] uint32 Generation,
  65. [OUT] String NetworkAddresses[], // "10.1.1.1/255.0.0.0"
  66. [OUT] Boolean NLBBound,
  67. [OUT] Boolean DHCPEnabled,
  68. [OUT] String ClusterNetworkAddress, // "10.1.1.1/255.0.0.0"
  69. [OUT] String ClusterName,
  70. [OUT] String TrafficMode, // UNICAST MULTICAST IGMPMULTICAST
  71. [OUT] String PortRules[],
  72. [OUT] uint32 HostPriority,
  73. [OUT] String DedicatedNetworkAddress, // "10.1.1.1/255.0.0.0"
  74. [OUT] uint32 ClusterModeOnStart, // 0 : STOPPED, 1 : STARTED, 2 : SUSPENDED
  75. [OUT] Boolean PersistSuspendOnReboot,
  76. [OUT] Boolean RemoteControlEnabled,
  77. [OUT] uint32 HashedRemoteControlPassword
  78. );
  79. [
  80. Implemented, static,
  81. Description("Asynchronously updates cluster configuration.")
  82. ]
  83. uint32 UpdateClusterConfiguration(
  84. [IN] String ClientDescription,
  85. [IN] String AdapterGuid,
  86. [IN] uint32 Generation,
  87. [IN] Boolean PartialUpdate,
  88. [IN] Boolean AddDedicatedIp,
  89. [IN] Boolean AddClusterIps,
  90. [IN] Boolean CheckForAddressConflicts,
  91. [IN] String NetworkAddresses[], // "10.1.1.1/255.255.255.255"
  92. [IN] Boolean NLBBound,
  93. [IN] String ClusterNetworkAddress, // "10.1.1.1/255.0.0.0"
  94. [IN] String ClusterName,
  95. [IN] String TrafficMode, // UNICAST MULTICAST IGMPMULTICAST
  96. [IN] String PortRules[],
  97. [IN] uint32 HostPriority,
  98. [IN] String DedicatedNetworkAddress, // "10.1.1.1/255.0.0.0"
  99. [IN] uint32 ClusterModeOnStart, // 0 : STOPPED, 1 : STARTED, 2 : SUSPENDED
  100. [IN] Boolean PersistSuspendOnReboot,
  101. [IN] Boolean RemoteControlEnabled,
  102. [IN] String RemoteControlPassword,
  103. [IN] uint32 HashedRemoteControlPassword,
  104. [OUT] uint32 NewGeneration,
  105. [OUT] String Log
  106. );
  107. [
  108. Implemented, static,
  109. Description("Queries status of a pending asynchronous cluster"
  110. " configuration update.")
  111. ]
  112. uint32 QueryConfigurationUpdateStatus(
  113. [IN] String AdapterGuid,
  114. [IN] uint32 Generation,
  115. [OUT] String Log
  116. );
  117. [
  118. Implemented, static,
  119. Description("Changes local operational status of cluster or port")
  120. ]
  121. uint32 ControlCluster(
  122. [IN] String AdapterGuid,
  123. [IN] String VirtualIpAddress,
  124. [IN] uint32 Port,
  125. [IN] uint32 Operation,
  126. [OUT] uint32 CurrentState,
  127. [OUT] uint32 HostMap
  128. );
  129. [
  130. Implemented, static,
  131. Description("Gets the current list of cluster members")
  132. ]
  133. uint32 GetClusterMembers(
  134. [IN] String AdapterGuid,
  135. [OUT] String HostIds[],
  136. [OUT] String DedicatedIpAddresses[],
  137. [OUT] String HostNames[]
  138. );
  139. [
  140. Implemented, static,
  141. Description("Registers a management application with NLB")
  142. ]
  143. uint32 RegisterManagementApplication(
  144. [IN] String ApplicationGuid,
  145. [IN] String ApplicationName,
  146. [IN] String CompanyName,
  147. [OUT] String ExistingApplicationName,
  148. [OUT] String ExistingCompanyName
  149. );
  150. [
  151. Implemented, static,
  152. Description("Registers a management application with NLB")
  153. ]
  154. uint32 UnregisterManagementApplication(
  155. [IN] String ApplicationGuid
  156. );
  157. };