Click or drag to resize

ISolidFireElementAddVirtualNetworkAsync Method (AddVirtualNetworkRequest, CancellationToken)

You can use the AddVirtualNetwork method to add a new virtual network to a cluster configuration. When you add a virtual network, an interface for each node is created and each interface will require a virtual network IP address. The number of IP addresses you specify as a parameter for this API method must be equal to or greater than the number of nodes in the cluster. The system bulk provisions virtual network addresses and assigns them to individual nodes automatically. You do not need to assign virtual network addresses to nodes manually. Note: You can use AddVirtualNetwork only to create a new virtual network. If you want to make changes to an existing virtual network, use ModifyVirtualNetwork. Note: Virtual network parameters must be unique to each virtual network when setting the namespace parameter to false.

Namespace:  SolidFire.Element.Api
Assembly:  SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax
C#
Task<AddVirtualNetworkResult> AddVirtualNetworkAsync(
	AddVirtualNetworkRequest obj,
	CancellationToken cancellationToken
)

Parameters

obj
Type: SolidFire.Element.ApiAddVirtualNetworkRequest
cancellationToken
Type: System.ThreadingCancellationToken

Return Value

Type: TaskAddVirtualNetworkResult
See Also