iclusternetwork2

package
v1.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IClusterNetwork2 interface identifier 2931c32c-f731-4c56-9feb-3d5f1c5e72bf
	ClusterNetwork2IID = &dcom.IID{Data1: 0x2931c32c, Data2: 0xf731, Data3: 0x4c56, Data4: []byte{0x9f, 0xeb, 0x3d, 0x5f, 0x1c, 0x5e, 0x72, 0xbf}}
	// Syntax UUID
	ClusterNetwork2SyntaxUUID = &uuid.UUID{TimeLow: 0x2931c32c, TimeMid: 0xf731, TimeHiAndVersion: 0x4c56, ClockSeqHiAndReserved: 0x9f, ClockSeqLow: 0xeb, Node: [6]uint8{0x3d, 0x5f, 0x1c, 0x5e, 0x72, 0xbf}}
	// Syntax ID
	ClusterNetwork2SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ClusterNetwork2SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/csvp"
)

Functions

func ClusterNetwork2ServerHandle

func ClusterNetwork2ServerHandle(ctx context.Context, o ClusterNetwork2Server, opNum int, r ndr.Reader) (dcerpc.Operation, error)

func NewClusterNetwork2ServerHandle

func NewClusterNetwork2ServerHandle(o ClusterNetwork2Server) dcerpc.ServerHandle

func RegisterClusterNetwork2Server

func RegisterClusterNetwork2Server(conn dcerpc.Conn, o ClusterNetwork2Server, opts ...dcerpc.Option)

Types

type CancelAddRoutesRequestRequest

type CancelAddRoutesRequestRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

CancelAddRoutesRequestRequest structure represents the CancelAddRoutesRequest operation request

func (*CancelAddRoutesRequestRequest) MarshalNDR

func (*CancelAddRoutesRequestRequest) UnmarshalNDR

func (o *CancelAddRoutesRequestRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CancelAddRoutesRequestResponse

type CancelAddRoutesRequestResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The CancelAddRoutesRequest return value.
	Return int32 `idl:"name:Return" json:"return"`
}

CancelAddRoutesRequestResponse structure represents the CancelAddRoutesRequest operation response

func (*CancelAddRoutesRequestResponse) MarshalNDR

func (*CancelAddRoutesRequestResponse) UnmarshalNDR

type CleanupNodeRequest

type CleanupNodeRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

CleanupNodeRequest structure represents the CleanupNode operation request

func (*CleanupNodeRequest) MarshalNDR

func (o *CleanupNodeRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CleanupNodeRequest) UnmarshalNDR

func (o *CleanupNodeRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CleanupNodeResponse

type CleanupNodeResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The CleanupNode return value.
	Return int32 `idl:"name:Return" json:"return"`
}

CleanupNodeResponse structure represents the CleanupNode operation response

func (*CleanupNodeResponse) MarshalNDR

func (o *CleanupNodeResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CleanupNodeResponse) UnmarshalNDR

func (o *CleanupNodeResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ClusterNetwork2Client

type ClusterNetwork2Client interface {

	// IUnknown retrieval method.
	Unknown() iunknown.UnknownClient

	// The SendRTMessage method determines whether roundtrip communication works between
	// two network addresses.
	//
	// The server SHOULD fail this method if the server Initialization State is FALSE.
	//
	// Return Values: A signed 32-bit value that indicates return status. If the method
	// returns a negative value, it has failed. Zero or positive values indicate success,
	// with the lower 16 bits in positive nonzero values containing warnings or flags defined
	// in the method implementation. For more information about Win32 error codes and HRESULT
	// values, see [MS-ERREF] sections 2.2 and 2.1.
	//
	//	+-------------------+--------------------------+
	//	|      RETURN       |                          |
	//	|    VALUE/CODE     |       DESCRIPTION        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	//
	// The opnum field value for this method is 3.
	SendRTMessage(context.Context, *SendRTMessageRequest, ...dcerpc.CallOption) (*SendRTMessageResponse, error)

	// The InitializeNode method prepares the server in an implementation-specific way to
	// execute the other methods in the interface. It also informs the client about what
	// port will be used and version information.
	//
	// Return Values: A signed 32-bit value that indicates return status. If the method
	// returns a negative value, it has failed. Zero or positive values indicate success,
	// with the lower 16 bits in positive nonzero values containing warnings or flags defined
	// in the method implementation. For more information about Win32 error codes and HRESULT
	// values, see [MS-ERREF] sections 2.2 and 2.1.
	//
	//	+-------------------+--------------------------+
	//	|      RETURN       |                          |
	//	|    VALUE/CODE     |       DESCRIPTION        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	//
	// The opnum field value for this method is 4.
	InitializeNode(context.Context, *InitializeNodeRequest, ...dcerpc.CallOption) (*InitializeNodeResponse, error)

	// The GetIpConfigSerialized method queries the network adapter configuration and returns
	// select information about the adapters.
	//
	// The server SHOULD support this method even if the server Initialization State is
	// FALSE.
	//
	// Return Values: A signed 32-bit value that indicates return status. If the method
	// returns a negative value, it has failed. Zero or positive values indicate success,
	// with the lower 16 bits in positive nonzero values containing warnings or flags defined
	// in the method implementation. For more information about Win32 error codes and HRESULT
	// values, see [MS-ERREF] sections 2.2 and 2.1.
	//
	//	+-------------------+--------------------------+
	//	|      RETURN       |                          |
	//	|    VALUE/CODE     |       DESCRIPTION        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	//
	// The opnum field value for this method is 5.
	GetIPConfigSerialized(context.Context, *GetIPConfigSerializedRequest, ...dcerpc.CallOption) (*GetIPConfigSerializedResponse, error)

	// The CleanupNode method cleans up any state initialized by InitializeNode.
	//
	// The server SHOULD fail this method if the server Initialization State is FALSE.
	//
	// This method has no parameters.
	//
	// Return Values: A signed 32-bit value that indicates return status. If the method
	// returns a negative value, it has failed. Zero or positive values indicate success,
	// with the lower 16 bits in positive nonzero values containing warnings or flags defined
	// in the method implementation. For more information about Win32 error codes and HRESULT
	// values, see [MS-ERREF] sections 2.2 and 2.1.
	//
	//	+-------------------+--------------------------+
	//	|      RETURN       |                          |
	//	|    VALUE/CODE     |       DESCRIPTION        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	//
	// The opnum field value for this method is 6.
	CleanupNode(context.Context, *CleanupNodeRequest, ...dcerpc.CallOption) (*CleanupNodeResponse, error)

	// The QueryFirewallConfiguration method determines whether the firewall state of the
	// server is compatible with use in a failover cluster. The firewall settings that constitute
	// failover cluster compatibility are implementation-specific. When the server firewall
	// enforces policies specified in [MS-FASP], the server SHOULD determine the firewall
	// state according to how the group of rules is enabled, as specified later in this
	// section.
	//
	// The server SHOULD support this method even if the server Initialization State is
	// FALSE.
	//
	// Return Values: A signed 32-bit value that indicates return status. If the method
	// returns a negative value, it has failed. Zero or positive values indicate success,
	// with the lower 16 bits in positive nonzero values containing warnings or flags defined
	// in the method implementation. For more information about Win32 error codes and HRESULT
	// values, see [MS-ERREF] sections 2.2 and 2.1.
	//
	//	+-------------------+--------------------------+
	//	|      RETURN       |                          |
	//	|    VALUE/CODE     |       DESCRIPTION        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	//
	// The opnum field value for this method is 7.
	QueryFirewallConfiguration(context.Context, *QueryFirewallConfigurationRequest, ...dcerpc.CallOption) (*QueryFirewallConfigurationResponse, error)

	// The ProcessAddRoutes method<30> adds Route elements to a Route Collection and initiates
	// monitoring of these routes for packet loss and status data.
	//
	// Return Values: A signed 32-bit value that indicates return status. If the method
	// returns a negative value, it has failed. Zero or positive values indicate success,
	// with the lower 16 bits in positive nonzero values containing warnings or flags defined
	// in the method implementation. For more information about Win32 error codes and HRESULT
	// values, see [MS-ERREF] sections 2.1 and 2.2.
	//
	//	+-------------------+---------------------------------+
	//	|      RETURN       |                                 |
	//	|    VALUE/CODE     |           DESCRIPTION           |
	//	|                   |                                 |
	//	+-------------------+---------------------------------+
	//	+-------------------+---------------------------------+
	//	| 0x00000000 S_OK   | The call was successful.        |
	//	+-------------------+---------------------------------+
	//	| 0x80004005 E_FAIL | Route Monitoring State is TRUE. |
	//	+-------------------+---------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	//
	// The opnum field value for this method is 8.
	ProcessAddRoutes(context.Context, *ProcessAddRoutesRequest, ...dcerpc.CallOption) (*ProcessAddRoutesResponse, error)

	// The GetAddRoutesStatus method<31> retrieves packet loss information and status for
	// the Route elements in the Route Collection previously added with the ProcessAddRoutes
	// method.
	//
	// Return Values: A signed 32-bit value that indicates return status. If the method
	// returns a negative value, it has failed. Zero or positive values indicate success,
	// with the lower 16 bits in positive nonzero values containing warnings or flags defined
	// in the method implementation. For more information about Win32 error codes and HRESULT
	// values, see [MS-ERREF] sections 2.1 and 2.2.
	//
	//	+-------------------+--------------------------+
	//	|      RETURN       |                          |
	//	|    VALUE/CODE     |       DESCRIPTION        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	//
	// The opnum field value for this method is 9.
	GetAddRoutesStatus(context.Context, *GetAddRoutesStatusRequest, ...dcerpc.CallOption) (*GetAddRoutesStatusResponse, error)

	// The CancelAddRoutesRequest method<32> stops packet loss and status monitoring for
	// Route elements previously added in a ProcessAddRoutes (section 3.6.4.6) invocation
	// and removes these routes from Route Collection.
	//
	// This method has no parameters.
	//
	// Return Values: A signed 32-bit value that indicates return status. If the method
	// returns a negative value, it has failed. Zero or positive values indicate success,
	// with the lower 16 bits in positive nonzero values containing warnings or flags defined
	// in the method implementation. For more information about Win32 error codes and HRESULT
	// values, see [MS-ERREF] sections 2.1 and 2.2.
	//
	//	+-------------------+----------------------------------+
	//	|      RETURN       |                                  |
	//	|    VALUE/CODE     |           DESCRIPTION            |
	//	|                   |                                  |
	//	+-------------------+----------------------------------+
	//	+-------------------+----------------------------------+
	//	| 0x00000000 S_OK   | The call was successful.         |
	//	+-------------------+----------------------------------+
	//	| 0x80004005 E_FAIL | Route Monitoring State is FALSE. |
	//	+-------------------+----------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	//
	// The opnum field value for this method is 11.
	CancelAddRoutesRequest(context.Context, *CancelAddRoutesRequestRequest, ...dcerpc.CallOption) (*CancelAddRoutesRequestResponse, error)

	// AlterContext alters the client context.
	AlterContext(context.Context, ...dcerpc.Option) error

	// Conn returns the client connection (unsafe)
	Conn() dcerpc.Conn

	// IPID sets the object interface identifier.
	IPID(context.Context, *dcom.IPID) ClusterNetwork2Client
}

IClusterNetwork2 interface.

func NewClusterNetwork2Client

func NewClusterNetwork2Client(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (ClusterNetwork2Client, error)

type ClusterNetwork2Server

type ClusterNetwork2Server interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// The SendRTMessage method determines whether roundtrip communication works between
	// two network addresses.
	//
	// The server SHOULD fail this method if the server Initialization State is FALSE.
	//
	// Return Values: A signed 32-bit value that indicates return status. If the method
	// returns a negative value, it has failed. Zero or positive values indicate success,
	// with the lower 16 bits in positive nonzero values containing warnings or flags defined
	// in the method implementation. For more information about Win32 error codes and HRESULT
	// values, see [MS-ERREF] sections 2.2 and 2.1.
	//
	//	+-------------------+--------------------------+
	//	|      RETURN       |                          |
	//	|    VALUE/CODE     |       DESCRIPTION        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	//
	// The opnum field value for this method is 3.
	SendRTMessage(context.Context, *SendRTMessageRequest) (*SendRTMessageResponse, error)

	// The InitializeNode method prepares the server in an implementation-specific way to
	// execute the other methods in the interface. It also informs the client about what
	// port will be used and version information.
	//
	// Return Values: A signed 32-bit value that indicates return status. If the method
	// returns a negative value, it has failed. Zero or positive values indicate success,
	// with the lower 16 bits in positive nonzero values containing warnings or flags defined
	// in the method implementation. For more information about Win32 error codes and HRESULT
	// values, see [MS-ERREF] sections 2.2 and 2.1.
	//
	//	+-------------------+--------------------------+
	//	|      RETURN       |                          |
	//	|    VALUE/CODE     |       DESCRIPTION        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	//
	// The opnum field value for this method is 4.
	InitializeNode(context.Context, *InitializeNodeRequest) (*InitializeNodeResponse, error)

	// The GetIpConfigSerialized method queries the network adapter configuration and returns
	// select information about the adapters.
	//
	// The server SHOULD support this method even if the server Initialization State is
	// FALSE.
	//
	// Return Values: A signed 32-bit value that indicates return status. If the method
	// returns a negative value, it has failed. Zero or positive values indicate success,
	// with the lower 16 bits in positive nonzero values containing warnings or flags defined
	// in the method implementation. For more information about Win32 error codes and HRESULT
	// values, see [MS-ERREF] sections 2.2 and 2.1.
	//
	//	+-------------------+--------------------------+
	//	|      RETURN       |                          |
	//	|    VALUE/CODE     |       DESCRIPTION        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	//
	// The opnum field value for this method is 5.
	GetIPConfigSerialized(context.Context, *GetIPConfigSerializedRequest) (*GetIPConfigSerializedResponse, error)

	// The CleanupNode method cleans up any state initialized by InitializeNode.
	//
	// The server SHOULD fail this method if the server Initialization State is FALSE.
	//
	// This method has no parameters.
	//
	// Return Values: A signed 32-bit value that indicates return status. If the method
	// returns a negative value, it has failed. Zero or positive values indicate success,
	// with the lower 16 bits in positive nonzero values containing warnings or flags defined
	// in the method implementation. For more information about Win32 error codes and HRESULT
	// values, see [MS-ERREF] sections 2.2 and 2.1.
	//
	//	+-------------------+--------------------------+
	//	|      RETURN       |                          |
	//	|    VALUE/CODE     |       DESCRIPTION        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	//
	// The opnum field value for this method is 6.
	CleanupNode(context.Context, *CleanupNodeRequest) (*CleanupNodeResponse, error)

	// The QueryFirewallConfiguration method determines whether the firewall state of the
	// server is compatible with use in a failover cluster. The firewall settings that constitute
	// failover cluster compatibility are implementation-specific. When the server firewall
	// enforces policies specified in [MS-FASP], the server SHOULD determine the firewall
	// state according to how the group of rules is enabled, as specified later in this
	// section.
	//
	// The server SHOULD support this method even if the server Initialization State is
	// FALSE.
	//
	// Return Values: A signed 32-bit value that indicates return status. If the method
	// returns a negative value, it has failed. Zero or positive values indicate success,
	// with the lower 16 bits in positive nonzero values containing warnings or flags defined
	// in the method implementation. For more information about Win32 error codes and HRESULT
	// values, see [MS-ERREF] sections 2.2 and 2.1.
	//
	//	+-------------------+--------------------------+
	//	|      RETURN       |                          |
	//	|    VALUE/CODE     |       DESCRIPTION        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	//
	// The opnum field value for this method is 7.
	QueryFirewallConfiguration(context.Context, *QueryFirewallConfigurationRequest) (*QueryFirewallConfigurationResponse, error)

	// The ProcessAddRoutes method<30> adds Route elements to a Route Collection and initiates
	// monitoring of these routes for packet loss and status data.
	//
	// Return Values: A signed 32-bit value that indicates return status. If the method
	// returns a negative value, it has failed. Zero or positive values indicate success,
	// with the lower 16 bits in positive nonzero values containing warnings or flags defined
	// in the method implementation. For more information about Win32 error codes and HRESULT
	// values, see [MS-ERREF] sections 2.1 and 2.2.
	//
	//	+-------------------+---------------------------------+
	//	|      RETURN       |                                 |
	//	|    VALUE/CODE     |           DESCRIPTION           |
	//	|                   |                                 |
	//	+-------------------+---------------------------------+
	//	+-------------------+---------------------------------+
	//	| 0x00000000 S_OK   | The call was successful.        |
	//	+-------------------+---------------------------------+
	//	| 0x80004005 E_FAIL | Route Monitoring State is TRUE. |
	//	+-------------------+---------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	//
	// The opnum field value for this method is 8.
	ProcessAddRoutes(context.Context, *ProcessAddRoutesRequest) (*ProcessAddRoutesResponse, error)

	// The GetAddRoutesStatus method<31> retrieves packet loss information and status for
	// the Route elements in the Route Collection previously added with the ProcessAddRoutes
	// method.
	//
	// Return Values: A signed 32-bit value that indicates return status. If the method
	// returns a negative value, it has failed. Zero or positive values indicate success,
	// with the lower 16 bits in positive nonzero values containing warnings or flags defined
	// in the method implementation. For more information about Win32 error codes and HRESULT
	// values, see [MS-ERREF] sections 2.1 and 2.2.
	//
	//	+-------------------+--------------------------+
	//	|      RETURN       |                          |
	//	|    VALUE/CODE     |       DESCRIPTION        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	//
	// The opnum field value for this method is 9.
	GetAddRoutesStatus(context.Context, *GetAddRoutesStatusRequest) (*GetAddRoutesStatusResponse, error)

	// The CancelAddRoutesRequest method<32> stops packet loss and status monitoring for
	// Route elements previously added in a ProcessAddRoutes (section 3.6.4.6) invocation
	// and removes these routes from Route Collection.
	//
	// This method has no parameters.
	//
	// Return Values: A signed 32-bit value that indicates return status. If the method
	// returns a negative value, it has failed. Zero or positive values indicate success,
	// with the lower 16 bits in positive nonzero values containing warnings or flags defined
	// in the method implementation. For more information about Win32 error codes and HRESULT
	// values, see [MS-ERREF] sections 2.1 and 2.2.
	//
	//	+-------------------+----------------------------------+
	//	|      RETURN       |                                  |
	//	|    VALUE/CODE     |           DESCRIPTION            |
	//	|                   |                                  |
	//	+-------------------+----------------------------------+
	//	+-------------------+----------------------------------+
	//	| 0x00000000 S_OK   | The call was successful.         |
	//	+-------------------+----------------------------------+
	//	| 0x80004005 E_FAIL | Route Monitoring State is FALSE. |
	//	+-------------------+----------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	//
	// The opnum field value for this method is 11.
	CancelAddRoutesRequest(context.Context, *CancelAddRoutesRequestRequest) (*CancelAddRoutesRequestResponse, error)
}

IClusterNetwork2 server interface.

type GetAddRoutesStatusRequest

type GetAddRoutesStatusRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

GetAddRoutesStatusRequest structure represents the GetAddRoutesStatus operation request

func (*GetAddRoutesStatusRequest) MarshalNDR

func (o *GetAddRoutesStatusRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetAddRoutesStatusRequest) UnmarshalNDR

func (o *GetAddRoutesStatusRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetAddRoutesStatusResponse

type GetAddRoutesStatusResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// reply: Contains packet loss information and status for Route elements.
	Reply *csvp.AddRoutesReply `idl:"name:reply" json:"reply"`
	// Return: The GetAddRoutesStatus return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetAddRoutesStatusResponse structure represents the GetAddRoutesStatus operation response

func (*GetAddRoutesStatusResponse) MarshalNDR

func (o *GetAddRoutesStatusResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetAddRoutesStatusResponse) UnmarshalNDR

func (o *GetAddRoutesStatusResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetIPConfigSerializedRequest

type GetIPConfigSerializedRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// ApplyClusterFilter: A flag that indicates which adapters to return. If FALSE, then
	// all adapters MUST be returned. If TRUE, then all nonfiltered adapters MUST be returned.
	// Adapters that MUST be filtered are cluster adapters (as specified in the ClusterAdapter
	// field of the ADAPTER2 <27> structure), loopback adapters, and tunnel adapters.
	//
	//	+----------------+----------------------------------+
	//	|                |                                  |
	//	|     VALUE      |             MEANING              |
	//	|                |                                  |
	//	+----------------+----------------------------------+
	//	+----------------+----------------------------------+
	//	| TRUE -128 — -1 | Return all nonfiltered adapters. |
	//	+----------------+----------------------------------+
	//	| FALSE 0        | Return all adapters.             |
	//	+----------------+----------------------------------+
	//	| TRUE 1 — 128   | Return all nonfiltered adapters. |
	//	+----------------+----------------------------------+
	ApplyClusterFilter bool `idl:"name:ApplyClusterFilter" json:"apply_cluster_filter"`
}

GetIPConfigSerializedRequest structure represents the GetIpConfigSerialized operation request

func (*GetIPConfigSerializedRequest) MarshalNDR

func (*GetIPConfigSerializedRequest) UnmarshalNDR

func (o *GetIPConfigSerializedRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetIPConfigSerializedResponse

type GetIPConfigSerializedResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Data: A buffer that, on success, SHOULD<28> contain a valid ADAPTERLIST2 structure.
	// The client MUST ignore all Guid items in the ADAPTERLIST2 structure except for those
	// Guid items ranging from the first item through the count of 2 multiplied by the value
	// of NumberOfAdapters.
	Data *oaut.SafeArray `idl:"name:Data" json:"data"`
	// pcbOut: MUST be the size of the Data buffer, in bytes.
	OutLength int32 `idl:"name:pcbOut" json:"out_length"`
	// Return: The GetIpConfigSerialized return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetIPConfigSerializedResponse structure represents the GetIpConfigSerialized operation response

func (*GetIPConfigSerializedResponse) MarshalNDR

func (*GetIPConfigSerializedResponse) UnmarshalNDR

func (o *GetIPConfigSerializedResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type InitializeNodeRequest

type InitializeNodeRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// RequestUDPPort: A value that the client provides that affects the value of BoundUDPPort.
	RequestUDPPort uint16 `idl:"name:RequestUDPPort" json:"request_udp_port"`
}

InitializeNodeRequest structure represents the InitializeNode operation request

func (*InitializeNodeRequest) MarshalNDR

func (o *InitializeNodeRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*InitializeNodeRequest) UnmarshalNDR

func (o *InitializeNodeRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type InitializeNodeResponse

type InitializeNodeResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// BoundUDPPort:  This parameter is currently not used by the protocol.
	BoundUDPPort uint16 `idl:"name:BoundUDPPort" json:"bound_udp_port"`
	// NodeMajorVersion: The server’s operating system major version value.
	NodeMajorVersion uint32 `idl:"name:NodeMajorVersion" json:"node_major_version"`
	// NodeMinorVersion: The server’s operating system minor version value.
	NodeMinorVersion uint32 `idl:"name:NodeMinorVersion" json:"node_minor_version"`
	// ClusprepVersion: The cluster prepare version.
	ClusterPrepareVersion uint32 `idl:"name:ClusprepVersion" json:"cluster_prepare_version"`
	// Return: The InitializeNode return value.
	Return int32 `idl:"name:Return" json:"return"`
}

InitializeNodeResponse structure represents the InitializeNode operation response

func (*InitializeNodeResponse) MarshalNDR

func (o *InitializeNodeResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*InitializeNodeResponse) UnmarshalNDR

func (o *InitializeNodeResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ProcessAddRoutesRequest

type ProcessAddRoutesRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// request: Designates Route elements to be added to Route Collection.
	Request *csvp.AddRoutesRequest `idl:"name:request" json:"request"`
}

ProcessAddRoutesRequest structure represents the ProcessAddRoutes operation request

func (*ProcessAddRoutesRequest) MarshalNDR

func (o *ProcessAddRoutesRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ProcessAddRoutesRequest) UnmarshalNDR

func (o *ProcessAddRoutesRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ProcessAddRoutesResponse

type ProcessAddRoutesResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The ProcessAddRoutes return value.
	Return int32 `idl:"name:Return" json:"return"`
}

ProcessAddRoutesResponse structure represents the ProcessAddRoutes operation response

func (*ProcessAddRoutesResponse) MarshalNDR

func (o *ProcessAddRoutesResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ProcessAddRoutesResponse) UnmarshalNDR

func (o *ProcessAddRoutesResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type QueryFirewallConfigurationRequest

type QueryFirewallConfigurationRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

QueryFirewallConfigurationRequest structure represents the QueryFirewallConfiguration operation request

func (*QueryFirewallConfigurationRequest) MarshalNDR

func (*QueryFirewallConfigurationRequest) UnmarshalNDR

type QueryFirewallConfigurationResponse

type QueryFirewallConfigurationResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// serverRulesEnabled: An output parameter that MUST be set on a successful return.
	// The value MUST be TRUE if firewall settings are compatible with server-to-server
	// communication in a failover cluster. When the server firewall enforces policies specified
	// in [MS-FASP], the server SHOULD set this value to TRUE if the group of rules with
	// the localized name "Failover Clusters" is enabled.
	//
	//	+----------------+------------------------------------------------------------------+
	//	|                |                                                                  |
	//	|     VALUE      |                             MEANING                              |
	//	|                |                                                                  |
	//	+----------------+------------------------------------------------------------------+
	//	+----------------+------------------------------------------------------------------+
	//	| TRUE -128 — -1 | Firewall settings allow the traffic specified previously.        |
	//	+----------------+------------------------------------------------------------------+
	//	| FALSE 0        | Firewall settings do not allow the traffic specified previously. |
	//	+----------------+------------------------------------------------------------------+
	//	| TRUE 1 — 128   | Firewall settings allow the traffic specified previously.        |
	//	+----------------+------------------------------------------------------------------+
	ServerRulesEnabled bool `idl:"name:serverRulesEnabled" json:"server_rules_enabled"`
	// mgmtRulesEnabled: An output parameter that MUST be set on a successful return. The
	// value MUST be TRUE if firewall settings are compatible with failover cluster management
	// components. When the server firewall enforces policies specified in [MS-FASP], the
	// server SHOULD set this value to TRUE if the group of rules with the localized name
	// "Failover Cluster Manager"<29> is enabled.
	//
	//	+----------------+------------------------------------------------------------------+
	//	|                |                                                                  |
	//	|     VALUE      |                             MEANING                              |
	//	|                |                                                                  |
	//	+----------------+------------------------------------------------------------------+
	//	+----------------+------------------------------------------------------------------+
	//	| TRUE -128 — -1 | Firewall settings allow the traffic specified previously.        |
	//	+----------------+------------------------------------------------------------------+
	//	| FALSE 0        | Firewall settings do not allow the traffic specified previously. |
	//	+----------------+------------------------------------------------------------------+
	//	| TRUE 1 — 128   | Firewall settings allow the traffic specified previously.        |
	//	+----------------+------------------------------------------------------------------+
	ManagementRulesEnabled bool `idl:"name:mgmtRulesEnabled" json:"management_rules_enabled"`
	// Return: The QueryFirewallConfiguration return value.
	Return int32 `idl:"name:Return" json:"return"`
}

QueryFirewallConfigurationResponse structure represents the QueryFirewallConfiguration operation response

func (*QueryFirewallConfigurationResponse) MarshalNDR

func (*QueryFirewallConfigurationResponse) UnmarshalNDR

type SendRTMessageRequest

type SendRTMessageRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// SourceIPAddress: The address from which to send the network request. IPv4 addresses
	// MUST be represented in dotted decimal notation. IPv6 addresses MUST be represented
	// in the form specified by [RFC1924].<25>
	SourceIPAddress *oaut.String `idl:"name:SourceIPAddress" json:"source_ip_address"`
	// DestIPAddress: The address to which to send the network request. The address is in
	// the same representation as SourceIPAddress.
	DestinationIPAddress *oaut.String `idl:"name:DestIPAddress" json:"destination_ip_address"`
	// DestPort: This server MUST ignore this value.
	DestinationPort uint16 `idl:"name:DestPort" json:"destination_port"`
	// AddressFamily: The address type of the SourceIPAddress and DestIPAddress parameters.
	//
	//	+-----------------+-----------------------------------+
	//	|                 |                                   |
	//	|      VALUE      |              MEANING              |
	//	|                 |                                   |
	//	+-----------------+-----------------------------------+
	//	+-----------------+-----------------------------------+
	//	| AF_INET 0x0002  | The addresses are in IPv4 format. |
	//	+-----------------+-----------------------------------+
	//	| AF_INET6 0x0017 | The addresses are in IPv6 format. |
	//	+-----------------+-----------------------------------+
	AddressFamily uint16 `idl:"name:AddressFamily" json:"address_family"`
	// MessageSize: The server MUST ignore this value.
	MessageSize uint32 `idl:"name:MessageSize" json:"message_size"`
	// Timeout: An implementation-specific value<26> indicating the maximum amount of time
	// to wait for a response from the destination address.
	Timeout uint32 `idl:"name:Timeout" json:"timeout"`
}

SendRTMessageRequest structure represents the SendRTMessage operation request

func (*SendRTMessageRequest) MarshalNDR

func (o *SendRTMessageRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SendRTMessageRequest) UnmarshalNDR

func (o *SendRTMessageRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SendRTMessageResponse

type SendRTMessageResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// RTElapsedTime: The elapsed time (in milliseconds) between when the server sends the
	// message from the SourceIPAddress to DestIPAddress and when it receives a reply from
	// the destination address.
	RTElapsedTime uint32 `idl:"name:RTElapsedTime" json:"rt_elapsed_time"`
	// Return: The SendRTMessage return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SendRTMessageResponse structure represents the SendRTMessage operation response

func (*SendRTMessageResponse) MarshalNDR

func (o *SendRTMessageResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SendRTMessageResponse) UnmarshalNDR

func (o *SendRTMessageResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type UnimplementedClusterNetwork2Server added in v1.1.5

type UnimplementedClusterNetwork2Server struct {
	iunknown.UnimplementedUnknownServer
}

Unimplemented IClusterNetwork2

func (UnimplementedClusterNetwork2Server) CancelAddRoutesRequest added in v1.1.5

func (UnimplementedClusterNetwork2Server) CleanupNode added in v1.1.5

func (UnimplementedClusterNetwork2Server) GetAddRoutesStatus added in v1.1.5

func (UnimplementedClusterNetwork2Server) GetIPConfigSerialized added in v1.1.5

func (UnimplementedClusterNetwork2Server) InitializeNode added in v1.1.5

func (UnimplementedClusterNetwork2Server) ProcessAddRoutes added in v1.1.5

func (UnimplementedClusterNetwork2Server) QueryFirewallConfiguration added in v1.1.5

func (UnimplementedClusterNetwork2Server) SendRTMessage added in v1.1.5

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL