Apache CloudStack 4.23.0.0 Root Admin API Reference
cloneNetworkOffering
Clones a network offering. All parameters are copied from the source offering unless explicitly overridden. Use 'addServices' and 'dropServices' to modify the service list without respecifying everything.
Request parameters
| Parameter Name | Description | Required |
| name | The name of the network offering | true |
| sourceofferingid | The ID of the source network offering to clone from | true |
| addservices | Services to add to the cloned offering (in addition to source offering services). If specified along with 'supportedservices', this parameter is ignored. | false |
| availability | The availability of network offering. The default value is Optional. Another value is Required, which will make it as the default network offering for new networks | 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 |
| displaytext | The display text of the network offering, defaults to the value of 'name'. | false |
| domainid | The ID of the containing domain(s), null for public offerings | false |
| dropservices | Services to remove from the cloned offering (that exist in source offering). If specified along with 'supportedservices', this parameter is ignored. | 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 |
| fornsx | true if network offering is meant to be used for NSX, false otherwise. | false |
| fortungsten | True if network offering is meant to be used for Tungsten-Fabric, false otherwise. | false |
| forvpc | True if network offering is meant to be used for VPC, false otherwise. | false |
| guestiptype | Guest type of the network offering: Shared or Isolated | 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 |
| networkmode | Indicates the mode with which the network will operate. Valid option: NATTED or ROUTED | false |
| networkrate | Data transfer rate in megabits per second allowed | false |
| nsxsupportlb | True if network offering for NSX network offering supports Load balancer service. | false |
| nsxsupportsinternallb | True if network offering for NSX network offering supports Internal Load balancer service. | false |
| provider | Name of the provider providing the service | false |
| routingmode | the routing mode for the network offering. Supported types are: Static or Dynamic. | 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 |
| specifyasnumber | true if network offering supports choosing AS number | 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 |
| traffictype | The traffic type for the network offering. Supported type in current release is GUEST only | 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 |
| fornsx | true if network offering can be used by NSX networks only |
| fortungsten | True if Network offering can be used by Tungsten-Fabric Networks only |
| 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 concurrent connections to be handled by LB |
| name | The name of the Network offering |
| networkmode | Mode in which the network will operate. The valid values are NATTED and ROUTED |
| networkrate | Data transfer rate in megabits per second allowed. |
| routingmode | the routing mode for the network offering, supported types are Static or Dynamic. |
| serviceofferingid | The ID of the service offering used by virtual router provider |
| specifyasnumber | true if network offering supports choosing AS numbers |
| 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 |
| supportsinternallb | true if network offering supports public access for guest networks |
| 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 |