Apache CloudStack 4.23.0.0 Root Admin API Reference
migrateVPC
Moves a VPC to another physical network
Request parameters
| Parameter Name | Description | Required |
| vpcid | The ID of the VPC | true |
| vpcofferingid | VPC offering ID | true |
| resume | True if previous network migration cmd failed | false |
| tiernetworkofferings | Network offering IDs for each network in the VPC. Example: tierNetworkOfferings[0].networkId=networkId1&tierNetworkOfferings[0].networkOfferingId=newNetworkofferingId1&tierNetworkOfferings[1].networkId=networkId2&tierNetworkOfferings[1].networkOfferingId=newNetworkofferingId2 | false |
Response Tags
| Response Name | Description |
| id | The ID of the VPC |
| account | The owner of the VPC |
| asnumber | AS NUMBER |
| asnumberid | UUID of AS NUMBER |
| bgppeers | The BGP peers for the VPC |
| cidr | The CIDR the VPC |
| created | The date this VPC was created |
| displaytext | An alternate display text of the VPC. |
| distributedvpcrouter | Does VPC use distributed router for one hop forwarding and host based Network ACL's |
| dns1 | The first IPv4 DNS for the VPC |
| dns2 | The second IPv4 DNS for the VPC |
| domain | The domain name of the owner |
| domainid | The domain ID of the VPC owner |
| domainpath | The domain path of the owner |
| fordisplay | Is VPC for display to the regular user |
| icon | Base64 string representation of the resource icon |
| ip4routes | The routes for the VPC to ease adding route in upstream router |
| ip4routing | The IPv4 routing mode of VPC |
| ip6dns1 | The first IPv6 DNS for the VPC |
| ip6dns2 | The second IPv6 DNS for the VPC |
| ip6routes | The routes for the Network to ease adding route in upstream router |
| keepmacaddressonpublicnic | Indicates whether to use the same MAC address for the public NIC of VRs on the same network. If "true", when creating redundant routers or recreating a VR, CloudStack will use the same MAC address for the public NIC of all VRs. Otherwise, if "false", new public NICs will always have a new MAC address. |
| name | The name of the VPC |
| network | The list of Networks belonging to the VPC |
| networkdomain | The Network domain of the VPC |
| project | The project name of the VPC |
| projectid | The project ID of the VPC |
| publicmtu | MTU configured on the public interfaces of the VPC VR |
| redundantvpcrouter | If this VPC has redundant router |
| regionlevelvpc | True if VPC is region level |
| restartrequired | True VPC requires restart |
| state | State of the VPC. Can be Inactive/Enabled |
| vpcofferingconservemode | true if VPC offering is ip conserve mode enabled |
| vpcofferingid | VPC offering ID the VPC is created from |
| vpcofferingname | VPC offering name the VPC is created from |
| zoneid | Zone ID of the VPC |
| zonename | The name of the zone the VPC belongs to |
| 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 |
| tags(*) | The list of resource tags associated with the project |
| account | The Account associated with the tag |
| customer | Customer associated with the tag |
| domain | The domain associated with the tag |
| domainid | The ID of the domain associated with the tag |
| domainpath | Path of the Domain associated with the tag |
| key | Tag key name |
| project | The project name where tag belongs to |
| projectid | The project ID the tag belongs to |
| resourceid | ID of the resource |
| resourcetype | Resource type |
| value | Tag value |