Skip to content

New HPOVNetworkSet

Chris Lynch edited this page Dec 10, 2020 · 42 revisions

HPE OneView 4.10 Library

New-HPOVNetworkSet

Create a new Network Set.

SYNTAX

New-HPOVNetworkSet [-Name] <String> [-Networks] <Object> [-UntaggedNetwork] <Object> [-TypicalBandwidth] <Int32> [-MaximumBandwidth] <Int32> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

Create a new Network Set and connection type resource.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one HPOneView.Appliance.Connection object or Name property value.

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? 5
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-MaximumBandwidth <Int32>

Optional maximum amount of bandwidth to assign, specified in Mbps. Default value is 10000.

Aliases None
Required? true
Position? 4
Default value 10000
Accept pipeline input? false
Accept wildcard characters?    False

-Name <String>

The name of the new Network Set resource to be created.

Aliases None
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Networks <Object>

Aliases [-networkUris] Ethernet Network Name(s), URI(")s or Resource Object(s).

Aliases networkUris
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-TypicalBandwidth <Int32>

Optional preferred amount of bandwidth to assign, specified in Mbps. Default value is 2500.

Aliases None
Required? true
Position? 3
Default value 2500
Accept pipeline input? false
Accept wildcard characters?    False

-UntaggedNetwork <Object>

Aliases [-untagged, -native, -untaggedNetworkUri] Network (from the above list) to be considered the "native" network in this set. Traffic on this network will leave the Virtual Connect downlink port untagged. When untagged traffic is received on this port, it will be mapped to this network.

Aliases untagged, native, untaggedNetworkUri
Required? true
Position? 2
Default value
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)

Input Types

None. You cannot pipe objects to this cmdlet.

Return Values

System.Collections.ArrayList

If bandwidth settings are specified, the newly created Network Set resource is returned

System.Management.Automation.PSCustomObject

If no bandwidth settings specified, an async task object is returned

Examples

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

New-HPOVNetworkSet -name "Production Networks" -untaggedNetwork yellow -networks blue, green, yellow

Create a new Network Set called "Production Networks", adding Ethernet Networks "blue", "green", and "yellow", on all connected appliances.

 -------------------------- EXAMPLE 2 --------------------------

$networks = "blue","green","yellow" | % { Get-HPOVNetwork $_ -type Ethernet } New-HPOVNetworkSet -name "Production Networks" -Networks $networks -UntaggedNetwork $networks[1]

Get Ethernet Networks "blue", "green", and "yellow", then create a new Network Set, with "Green" as the UntaggedNetowrk for the specified appliance connection.

 -------------------------- EXAMPLE 3 --------------------------

New-HPOVNetworkSet -name "Production Networks" -untaggedNetwork yellow -networks blue, green, yellow -TypicalBandwidth 1000 -MaximumBandwidth 5000

Create a new Network Set called "Production Networks", adding Ethernet Networks "blue", "green", and "yellow", setting the Typical and Maximum Bandwidth.

Related Links


HPE OneView 4.00 Library

New-HPOVNetworkSet

Create a new Network Set.

SYNTAX

New-HPOVNetworkSet [-Name] <String> [-Networks] <Object> [-UntaggedNetwork] <Object> [-TypicalBandwidth] <Int32> [-MaximumBandwidth] <Int32> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

Create a new Network Set and connection type resource.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one HPOneView.Appliance.Connection object or Name property value.

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? 5
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-MaximumBandwidth <Int32>

Optional maximum amount of bandwidth to assign, specified in Mbps. Default value is 10000.

Aliases None
Required? true
Position? 4
Default value 10000
Accept pipeline input? false
Accept wildcard characters?    False

-Name <String>

The name of the new Network Set resource to be created.

Aliases None
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Networks <Object>

Aliases [-networkUris] Ethernet Network Name(s), URI(')s or Resource Object(s).

Aliases networkUris
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-TypicalBandwidth <Int32>

Optional preferred amount of bandwidth to assign, specified in Mbps. Default value is 2500.

Aliases None
Required? true
Position? 3
Default value 2500
Accept pipeline input? false
Accept wildcard characters?    False

-UntaggedNetwork <Object>

Aliases [-untagged, -native, -untaggedNetworkUri] Network (from the above list) to be considered the "native" network in this set. Traffic on this network will leave the Virtual Connect downlink port untagged. When untagged traffic is received on this port, it will be mapped to this network.

Aliases untagged, native, untaggedNetworkUri
Required? true
Position? 2
Default value
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)

Input Types

None. You cannot pipe objects to this cmdlet.

Return Values

System.Collections.ArrayList

If bandwidth settings are specified, the newly created Network Set resource is returned

System.Management.Automation.PSCustomObject

If no bandwidth settings specified, an async task object is returned

Examples

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

New-HPOVNetworkSet -name "Production Networks" -untaggedNetwork yellow -networks blue, green, yellow

Create a new Network Set called "Production Networks", adding Ethernet Networks 'blue', 'green', and 'yellow', on all connected appliances.

 -------------------------- EXAMPLE 2 --------------------------

$networks = 'blue','green','yellow' | % { Get-HPOVNetwork $_ -type Ethernet } New-HPOVNetworkSet -name "Production Networks" -Networks $networks -UntaggedNetwork $networks[1]

Get Ethernet Networks 'blue', 'green', and 'yellow', then create a new Network Set, with 'Green' as the UntaggedNetowrk for the specified appliance connection.

 -------------------------- EXAMPLE 3 --------------------------

New-HPOVNetworkSet -name "Production Networks" -untaggedNetwork yellow -networks blue, green, yellow -TypicalBandwidth 1000 -MaximumBandwidth 5000

Create a new Network Set called "Production Networks", adding Ethernet Networks 'blue', 'green', and 'yellow', setting the Typical and Maximum Bandwidth.

Related Links


Wiki Table of Contents

Clone this wiki locally