Apache CloudStack 4.0.0-incubating Root Admin API Reference

changeServiceForRouter

Upgrades domain router to a new service offering

Request parameters

Parameter NameDescriptionRequired
idThe ID of the routertrue
serviceofferingidthe service offering ID to apply to the domain routertrue

Response Tags

Response NameDescription
idthe id of the router
accountthe account associated with the router
createdthe date and time the router was created
dns1the first DNS for the router
dns2the second DNS for the router
domainthe domain associated with the router
domainidthe domain ID associated with the router
gatewaythe gateway for the router
guestipaddressthe guest IP address for the router
guestmacaddressthe guest MAC address for the router
guestnetmaskthe guest netmask for the router
guestnetworkidthe ID of the corresponding guest network
hostidthe host ID for the router
hostnamethe hostname for the router
isredundantrouterif this router is an redundant virtual router
linklocalipthe link local IP address for the router
linklocalmacaddressthe link local MAC address for the router
linklocalnetmaskthe link local netmask for the router
linklocalnetworkidthe ID of the corresponding link local network
namethe name of the router
networkdomainthe network domain for the router
podidthe Pod ID for the router
projectthe project name of the address
projectidthe project id of the ipaddress
publicipthe public IP address for the router
publicmacaddressthe public MAC address for the router
publicnetmaskthe public netmask for the router
publicnetworkidthe ID of the corresponding public network
redundantstatethe state of redundant virtual router
scriptsversionthe version of scripts
serviceofferingidthe ID of the service offering of the virtual machine
serviceofferingnamethe name of the service offering of the virtual machine
statethe state of the router
templateidthe template ID for the router
templateversionthe version of template
vpcidVPC the network belongs to
zoneidthe Zone ID for the router
zonenamethe Zone name for the router
nic(*)the list of nics associated with the router
idthe ID of the nic
broadcasturithe broadcast uri of the nic
gatewaythe gateway of the nic
ipaddressthe ip address of the nic
isdefaulttrue if nic is default, false otherwise
isolationurithe isolation uri of the nic
macaddresstrue if nic is default, false otherwise
netmaskthe netmask of the nic
networkidthe ID of the corresponding network
networknamethe name of the corresponding network
traffictypethe traffic type of the nic
typethe type of the nic