Apache CloudStack 4.17.0.0 Root Admin API Reference
createNetworkOffering
Creates a network offering.
Request parameters
| Parameter Name | Description | Required |
| displaytext | the display text of the network offering | true |
| guestiptype | guest type of the network offering: Shared or Isolated | true |
| name | the name of the network offering | true |
| traffictype | the traffic type for the network offering. Supported type in current release is GUEST only | true |
| availability | the availability of network offering. Default value is Optional | false |
| conservemode | true if the network offering is IP conserve mode enabled | false |
| details | Network offering details in key/value pairs. Supported keys are internallbprovider/publiclbprovider with service provider as a value, and promiscuousmode/macaddresschanges/forgedtransmits with true/false as value to accept/reject the security settings if available for a nic/portgroup | false |
| domainid | the ID of the containing domain(s), null for public offerings | false |
| egressdefaultpolicy | true if guest network default egress policy is allow; false if default egress policy is deny | false |
| enable | set to true if the offering is to be enabled during creation. Default is false | false |
| forvpc | true if network offering is meant to be used for VPC, false otherwise. | false |
| internetprotocol | The internet protocol of network offering. Options are ipv4 and dualstack. Default is ipv4. dualstack will create a network offering that supports both IPv4 and IPv6 | false |
| ispersistent | true if network offering supports persistent networks; defaulted to false if not specified | false |
| keepaliveenabled | if true keepalive will be turned on in the loadbalancer. At the time of writing this has only an effect on haproxy; the mode http and httpclose options are unset in the haproxy conf file. | false |
| maxconnections | maximum number of concurrent connections supported by the network offering | false |
| networkrate | data transfer rate in megabits per second allowed | false |
| servicecapabilitylist | desired service capabilities as part of network offering | false |
| serviceofferingid | the service offering ID used by virtual router provider | false |
| serviceproviderlist | provider to service mapping. If not specified, the provider for the service will be mapped to the default provider on the physical network | false |
| specifyipranges | true if network offering supports specifying ip ranges; defaulted to false if not specified | false |
| specifyvlan | true if network offering supports vlans | false |
| supportedservices | services supported by the network offering | false |
| tags | the tags for the network offering. | false |
| zoneid | the ID of the containing zone(s), null for public offerings | false |
Response Tags
| Response Name | Description |
| id | the id of the network offering |
| availability | availability of the network offering |
| conservemode | true if network offering is ip conserve mode enabled |
| created | the date this network offering was created |
| details | additional key/value details tied with network offering |
| displaytext | an alternate display text of the network offering. |
| domain | the domain name(s) this disk offering belongs to. Ignore this information as it is not currently applicable. |
| domainid | the domain ID(s) this disk offering belongs to. Ignore this information as it is not currently applicable. |
| egressdefaultpolicy | true if guest network default egress policy is allow; false if default egress policy is deny |
| forvpc | true if network offering can be used by VPC networks only |
| guestiptype | guest type of the network offering, can be Shared or Isolated |
| internetprotocol | the internet protocol of the network offering |
| isdefault | true if network offering is default, false otherwise |
| ispersistent | true if network offering supports persistent networks, false otherwise |
| maxconnections | maximum number of concurrents connections to be handled by lb |
| name | the name of the network offering |
| networkrate | data transfer rate in megabits per second allowed. |
| serviceofferingid | the ID of the service offering used by virtual router provider |
| specifyipranges | true if network offering supports specifying ip ranges, false otherwise |
| specifyvlan | true if network offering supports vlans, false otherwise |
| state | state of the network offering. Can be Disabled/Enabled/Inactive |
| supportspublicaccess | true if network offering supports public access for guest networks |
| supportsstrechedl2subnet | true if network offering supports network that span multiple zones |
| tags | the tags for the network offering |
| traffictype | the traffic type for the network offering, supported types are Public, Management, Control, Guest, Vlan or Storage. |
| zone | the zone name(s) this disk offering belongs to. Ignore this information as it is not currently applicable. |
| zoneid | the zone ID(s) this disk offering belongs to. Ignore this information as it is not currently applicable. |
| service(*) | the list of supported services |
| name | the service name |
| capability(*) | the list of capabilities |
| canchooseservicecapability | can this service capability value can be choosable while creatine network offerings |
| name | the capability name |
| value | the capability value |
| provider(*) | the service provider name |
| id | uuid of the network provider |
| canenableindividualservice | true if individual services can be enabled/disabled |
| destinationphysicalnetworkid | the destination physical network |
| name | the provider name |
| physicalnetworkid | the physical network this belongs to |
| servicelist | services for this provider |
| state | state of the network provider |