Click or drag to resize

SolidFireElementAddVirtualNetworkAsync Method (CancellationToken, Int64, String, AddressBlockParams, String, String, String, NullableBoolean, Hashtable)

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#
public Task<AddVirtualNetworkResult> AddVirtualNetworkAsync(
	CancellationToken cancellationToken,
	long VirtualNetworkTag,
	string Name,
	AddressBlockParams[] AddressBlocks,
	string Netmask,
	string Svip,
	string Gateway = null,
	Nullable<bool> Namespace = null,
	Hashtable Attributes = null
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
VirtualNetworkTag
Type: SystemInt64
Name
Type: SystemString
AddressBlocks
Type: SolidFire.Element.ApiAddressBlockParams
Netmask
Type: SystemString
Svip
Type: SystemString
Gateway (Optional)
Type: SystemString
Namespace (Optional)
Type: SystemNullableBoolean
Attributes (Optional)
Type: System.CollectionsHashtable

Return Value

Type: TaskAddVirtualNetworkResult

Implements

ISolidFireElementAddVirtualNetworkAsync(CancellationToken, Int64, String, AddressBlockParams, String, String, String, NullableBoolean, Hashtable)
See Also