Documentation Index
Fetch the complete documentation index at: https://mintlify.com/HewlettPackard/POSH-HPEOneView/llms.txt
Use this file to discover all available pages before exploring further.
Synopsis
Creates one or more Ethernet, Fibre Channel, or FCoE network resources on the connected HPE OneView appliance.Syntax
Ethernet network
VLAN range (bulk Ethernet)
Fibre Channel network
FCoE network
Import from file
Description
New-OVNetwork creates network resources on the HPE OneView appliance. The type of network created is determined by the -Type parameter (default is Ethernet).
For Ethernet networks, you can supply a single VLAN ID with -VlanId or create multiple networks at once using a VLAN range expression with -VlanRange (e.g., "100-120,123,135"). A VLAN range creates one network per VLAN ID, appending the VLAN ID as a suffix to the base name.
Fibre Channel networks support both fabric-attached (FabricAttach) and direct-attach (DirectAttach) fabric types. Direct-attach networks are used with directly cabled SAN arrays.
Bandwidth values are in Mb/s. The default typical bandwidth is 2500 Mb/s and the default maximum bandwidth is 20000 Mb/s.
Parameters
The name of the network to create. For VLAN range bulk creation, this value is used as the network name prefix.
The network type to create. Accepted values:
Ethernet(default)FC/FibreChannel/Fibre ChannelFCoERoCE
The 802.1Q VLAN ID for an Ethernet or FCoE network. Valid range: 1–4095. Required for FCoE networks.
A VLAN range expression for bulk Ethernet network creation, such as
"100-120,123,135". Creates one network per resolved VLAN ID. Cannot be combined with -VlanId.The VLAN tagging type for Ethernet networks. Accepted values:
Tagged (default), Untagged, Tunnel.The intended use of an Ethernet network. Accepted values:
General (default), Management, VMMigration, FaultTolerance, ISCSI.When
$true (default), the network propagates link state to server adapters when the uplink loses connectivity.When
$true, prevents inter-server communication on this network (server-to-switch traffic only). Default is $false.The preferred bandwidth allocation for this network, in Mb/s. Valid range: 2–50000. Default: 2500.
The maximum bandwidth allocation for this network, in Mb/s. Valid range: 100–50000. Default: 20000.
An IPv4 subnet object (from
Get-OVAddressPoolSubnet) to associate with the Ethernet network for iSCSI or management use.One or more network set objects to add this Ethernet network to upon creation.
The Fibre Channel fabric topology. Accepted values:
FabricAttach/FA(default) — fabric-attached SAN switch topologyDirectAttach/DA— direct-attach (no SAN switch)
A managed SAN object to associate with a Fibre Channel or FCoE network.
The number of seconds to wait after a link is restored before redistributing logins. Valid range: 1–1800. Default: 30.
When
$true, HPE OneView automatically redistributes FC logins across available paths after a link is restored. Default: $false.Return the async task object immediately without waiting for completion.
One or more scope objects to assign to the new network.
Path to a JSON file that defines one or more networks to import.
The appliance connection object or name. Defaults to the default connected session.
Examples
Create a single tagged Ethernet network
Create multiple Ethernet networks
Bulk-create Ethernet networks from a VLAN range
Create fabric-attached Fibre Channel networks
Create direct-attach Fibre Channel networks
Pipe integers to create VLAN networks in bulk
Output
HPEOneView.Appliance.TaskResource when the -Async switch is used, or the created network object after the task completes.