-
Notifications
You must be signed in to change notification settings - Fork 52
New HPOVNetworkSet
Create a new Network Set.
New-HPOVNetworkSet [-Name] <String> [-Networks] <Object> [-UntaggedNetwork] <Object> [-TypicalBandwidth] <Int32> [-MaximumBandwidth] <Int32> [-ApplianceConnection] <Object> [<CommonParameters>]
Create a new Network Set and connection type resource.
-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)
None. You cannot pipe objects to this cmdlet.
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
-------------------------- 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.
Create a new Network Set.
New-HPOVNetworkSet [-Name] <String> [-Networks] <Object> [-UntaggedNetwork] <Object> [-TypicalBandwidth] <Int32> [-MaximumBandwidth] <Int32> [-ApplianceConnection] <Object> [<CommonParameters>]
Create a new Network Set and connection type resource.
-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)
None. You cannot pipe objects to this cmdlet.
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
-------------------------- 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.