Set HPOVNetworkSet - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Set-HPOVNetworkSet

Modify an existing network set.

SYNTAX

Set-HPOVNetworkSet [-InputObject] <Object> [-Name] <String> [-Networks] <Object>[ [-AddNetwork] <Object[]>][ [-RemoveNetwork] <Object>] [-UntaggedNetwork] <Object> [-TypicalBandwidth] <Int32> [-MaximumBandwidth] <Int32> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

Modify a network set and/or its connection information.

Parameters

-AddNetwork <Object[]>

Specify 1 or more network resources to add to the specified network set.

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

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

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

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

-InputObject <Object>

Aliases [-NetworkSet, -netSet] The Network Set resource object or name to be modified.

Aliases NetSet, NetworkSet
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-MaximumBandwidth <Int32>

The updated MAximum bandwidth, in Mbps.

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

-Name <String>

The updated name value of the Network Set.

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

-Networks <Object>

An array containing the updated list of networks. May contain Network Names or URI"s.

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

-RemoveNetwork <Object>

Specify 1 or more network resources to remove from the specified network set.

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

-TypicalBandwidth <Int32>

The updated Typical or Preferred bandwidth, in Mbps.

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

-UntaggedNetwork <Object>

Aliases [-untagged, -native, -untaggedNetworkUri] The Name or URI of the Untaggged, or Native Network for the Network Set.

Aliases untagged, native, untaggedNetworkUri
Required? true
Position? 5
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

HPOneView.Networking.NetworkSet [System.Management.Automation.PSCustomObject]

Single Network Set resource

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Update Network Set resource task

Examples

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

$netset = Get-HPOVNetworkSet "Set-1" $netset.maximumBandwidth = 5000 $netset.typicalBandwidth = 3000 Set-HPOVNetworkSet $netset

Modify "Set-1" to be maximum bandwidth of 5000.

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

Get-HPOVNetworkSet NetSet-1 | Set-HPOVNetworkSet -name NewNetSet-1 -networks @(bluenet,rednet,greennet) -untagged bluenet

Update "NetSet-1" with a new name, adjust the networks, and set "bluenet" as the Untagged Network.

Related Links


Top

HPE OneView 4.00 Library

Set-HPOVNetworkSet

Modify an existing network set.

SYNTAX

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

Detailed Description

Modify a network set and/or its connection information.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

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

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

-MaximumBandwidth <Int32>

The updated MAximum bandwidth, in Mbps.

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

-Name <String>

The updated name value of the Network Set.

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

-NetworkSet <Object>

Aliases [-netSet] The Network Set resource object or name to be modified.

Aliases NetSet
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-Networks <Object>

An array containing the updated list of networks. May contain Network Names or URI's.

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

-TypicalBandwidth <Int32>

The updated Typical or Preferred bandwidth, in Mbps.

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

-UntaggedNetwork <Object>

Aliases [-untagged, -native, -untaggedNetworkUri] The Name or URI of the Untaggged, or Native Network for the Network Set.

Aliases untagged, native, untaggedNetworkUri
Required? true
Position? 3
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

HPOneView.Networking.NetworkSet [System.Management.Automation.PSCustomObject]

Single Network Set resource

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Update Network Set resource task

Examples

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

$netset = Get-HPOVNetworkSet "Set-1" $netset.maximumBandwidth = 5000 $netset.typicalBandwidth = 3000 Set-HPOVNetworkSet $netset

Modify "Set-1" to be maximum bandwidth of 5000.

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

Get-HPOVNetworkSet NetSet-1 | Set-HPOVNetworkSet -name NewNetSet-1 -networks @(bluenet,rednet,greennet) -untagged bluenet

Update 'NetSet-1' with a new name, adjust the networks, and set 'bluenet' as the Untagged Network.

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️