NAME

New-HPOVProfileConnection

SYNOPSIS

Create network connection for a server profile.

SYNTAX

New-HPOVProfileConnection -connectionID <Int32> -connectionType <String> -network <Object> [-portId <String>] [-requestedBW <Int32>] [<CommonParameters>]

New-HPOVProfileConnection -connectionID <Int32> -connectionType <String> -network <Object> [-portId <String>] [-requestedBW <Int32>] -userDefined -mac <String> -wwnn <String> -wwpn <String> -bootable -priority <String> -arrayWwpn <String> -lun <Int32> [<CommonParameters>]

New-HPOVProfileConnection -connectionID <Int32> -connectionType <String> -network <Object> [-portId <String>] [-requestedBW <Int32>] -userDefined -mac <String> -bootable -priority <String> [<CommonParameters>]

New-HPOVProfileConnection -connectionID <Int32> -connectionType <String> -network <Object> [-portId <String>] [-requestedBW <Int32>] -bootable -priority <String> -arrayWwpn <String> -lun <Int32> [<CommonParameters>]

New-HPOVProfileConnection -connectionID <Int32> -connectionType <String> -network <Object> [-portId <String>] [-requestedBW <Int32>] -bootable -priority <String> [<CommonParameters>]

New-HPOVProfileConnection -connectionID <Int32> -connectionType <String> -network <Object> [-portId <String>] [-requestedBW <Int32>] -userDefined -mac <String> -wwnn <String> -wwpn <String> [<CommonParameters>]

New-HPOVProfileConnection -connectionID <Int32> -connectionType <String> -network <Object> [-portId <String>] [-requestedBW <Int32>] -userDefined -mac <String> [<CommonParameters>]

New-HPOVProfileConnection -connectionID <Int32> -connectionType <String> -network <Object> [-portId <String>] [-requestedBW <Int32>] [<CommonParameters>]

DESCRIPTION

A helper function to assist with connections when creating (New-HPOVProfile) or editing (Set-HPOVProfile) a server profile.

PARAMETERS

-connectionID [<Int32>]

Alias [-id]

The numeric identifier for this connection. Connections are normally numbered sequentially from 1 within each profile.

Aliases -id
Required? false
Position? 1
Default value 1
Accept pipeline input? false
Accept wildcard characters?    false
-connectionType [<String>]

Alias [-type]

Optional network type to be used for this connection ("Ethernet" or "FibreChannel").

Aliases -type
Required? false
Position? 2
Default value Ethernet
Accept pipeline input? false
Accept wildcard characters?    false
-network [<Object>]
The network resource object to be used with this connection. Can either be the Name of a specific network, or the Network object itself obtained with Get-HPOVNetwork.
Aliases None
Required? false
Position? 3
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false
-portId [<String>]

Optional. Identifies the port (FlexNIC) used for this connection. The port can be automatically selected by specifying ‘Auto’ when creating the connection. 'None' is a valid portID for an unconfigured, and unmapped Connection. If you wish to specify the specific port, the portId format is "[adapter_type_prefix] [adapter_id]:[subport_id]".

  • G7 only: For LOM ports, the valid portId prefix will be "Lom"
  • Gen8 only: For FlexLOMs, the valid portId prefix will be "Flb"
  • Mezzanine adapter prefix is "Mezz"

An example of a FlexLOM 1, FlexNIC 1a interface would be "Flb 1:1a". An example Mezzanine 2, FlexNIC 2c interface would be "Mezz 2:2c"

Aliases None
Required? false
Position? 4
Default value Auto
Accept pipeline input? false
Accept wildcard characters?    false
-requestedBW [<Int32>]
Optional. Requested bandwidth (in Mbps) to be used for this connection. Default: 2500
Aliases None
Required? false
Position? named
Default value 2500
Accept pipeline input? false
Accept wildcard characters?    false
-userDefined <SwitchParameter>
Use to specify user defined address values
Aliases None
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    false
-mac <String>
Requested MAC address of the connection. Must be specified if setting WWPN and WWNN, and the connection is mapped to a FlexHBA.
Aliases None
Required? true
Position? named
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false
-wwnn <String>
Requested WWNN address of the connection.
Aliases None
Required? true
Position? named
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false
-wwpn <String>
Requested WWPN address of the connection.
Aliases None
Required? true
Position? named
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false
-bootable <SwitchParameter>
Specify to configure bootable settings. Default: False
Aliases None
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    false
-priority <String>
Optional boot option for this connection. Accepted values are NotBootable, Primary or Secondary. When the Connection Type is Ethernet, this affects PXE boot. If the Connection Type is FibreChannel, this enables BfS settings. Default: NotBootable
Aliases None
Required? true
Position? named
Default value NotBootable
Accept pipeline input? false
Accept wildcard characters?    false
-arrayWwpn <String>
Target array WWPN
Aliases None
Required? true
Position? named
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false
-lun <Int32>
Target LUN ID
Aliases None
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters?    false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

None. You cannot pipe objects to this cmdlet.

OUTPUTS

System.ObjectSystem.Management.Automation.PSCustomObject

Returns a connection object which may be used during profile creation

RELATED LINKS

EXAMPLES

-------------------------- EXAMPLE 1 -------------------------- 

PS C:\> $net41 = Get-HPOVNetwork "Net-41"
PS C:\> $con41 = New-HPOVProfileConnection 1 Ethernet $net41
    
Create a Network Connection ID 1, that is assigned to Net41 network, with Auto Port assignment.
-------------------------- EXAMPLE 2 -------------------------- 

PS C:\> $con41 = Get-HPOVNetwork "Net-41" | New-HPOVProfileConnection -connectionId 1 -connectionType Ethernet -network $_
    
Create a Network Connection ID 1, that is assigned to Net41 network, with Auto Port assignment.
-------------------------- EXAMPLE 3 -------------------------- 

PS C:\> $net42 = Get-HPOVNetwork "Net-42"
PS C:\> $con42 = New-HPOVProfileConnection -connectionId 2 -connectionType Ethernet -network $net42 -bootable -priority Primary
    
Create a Server Profile Connection ID 2, assigned to Net42 that is PXE Primary bootable.
-------------------------- EXAMPLE 4 -------------------------- 

PS C:\> $FabricA = Get-HPOVNetwork "Fabric A"
PS C:\> $conFabricA = New-HPOVProfileConnection -connectionId 3 -connectionType FibreChannel -network $FabricA -bootable -priority Primary -arrayWwpn '20:21:00:02:AC:00:15:2C' -lun 1
   
Create a Server Profile Connection ID 3, assigned to Fabric A that is FC BfS Primary bootable.
-------------------------- EXAMPLE 5 -------------------------- 

PS C:\> $net41 = Get-HPOVNetwork "Net-41"
PS C:\> $con41 = New-HPOVProfileConnection -connectionId 1 -connectionType Ethernet -network $net41 -userdefined -mac 11:22:33:44:55:66:77
  
Create a Network Connection ID 1, that is assigned to Net41 network, with Auto Port assignment and custom MAC Address.

Last edited Aug 19, 2014 at 12:34 AM by chrislynchhp, version 6