Cosmic Admin API Reference

addTrafficType

Adds traffic type to a physical network

Request parameters

Parameter NameDescriptionRequired
physicalnetworkidthe Physical Network IDtrue
traffictypethe trafficType to be added to the physical networktrue
isolationmethodUsed if physical network has multiple isolation types and traffic type is public. Choose which isolation method. Valid options currently 'vlan' or 'vxlan', defaults to 'vlan'.false
kvmnetworklabelThe network name label of the physical device dedicated to this traffic on a KVM hostfalse
vlanThe VLAN id to be used for Management traffic by the hostfalse
xennetworklabelThe network name label of the physical device dedicated to this traffic on a XenServer hostfalse

Response Tags

Response NameDescription
idid of the network provider
kvmnetworklabelThe network name label of the physical device dedicated to this traffic on a KVM host
physicalnetworkidthe physical network this belongs to
traffictypethe trafficType to be added to the physical network
xennetworklabelThe network name label of the physical device dedicated to this traffic on a XenServer host