CreateL2VlanNetwork

Creates an L2 VLAN network. For example,
CreateL2VlanNetwork name=testvlan zoneUuid=8abab36040884e6fbec05fa70c5ef873 \
physicalInterface=eth0 vlan=2637

Parameters

Name Description Optional Valid Value Starting Version
vlan 0.6
name The L2 VLAN network name. 0.6
description The detailed description of the L2 VLAN network. Yes 0.6
zoneUuid The zone UUID. 0.6
physicalInterface The physical interface. 0.6
type Yes 0.6
resourceUuid The resource UUID. Yes 0.6
userTags The user tags. For more information, see CreateUserTag. The resource type is L2NetworkVO. Yes 0.6
systemTags The system tags. For more information, see CreateSystemTag. The resource type is L2NetworkVO. Yes 0.6
timeout Yes
Note:
  • When you create an L2 VLAN network in ZStack Cloud, you can enable SR-IOV by adding the enableSRIOV option to SystemTags.
    • Format of the enableSRIOV option: enableSRIOV
    • Example: enableSRIOV