Hi all,

we are currently planning an update of CP, which also includes an upgrade of 
the System VMs. We are upgrading from 4.5 to 4.7.

I wrote a python script to check VPN connections and other parameters. Some 
upgrades can be performed right after the CP upgrade, some other routers must 
not be upgraded, as those will be upgraded manually after some more 
coordination.

Now I am struggling how to upgrade the Routers using the API. I found the 
command “upgradeRouterTemplate“ 
(https://cloudstack.apache.org/api/apidocs-4.5/root_admin/upgradeRouterTemplate.html),
 which, when I understand it correctly, should support that. However, when 
upgrading using the GUI I can select both the SystemVM Template and opt to use 
a shadow mode. The command mentioned above however does not allow me to specify 
those arguments.

So my question is: what would be the best way to upgrade the routers using the 
API?

Thanks and regards
Daniel


--
Daniel Herrmann
Network Architect – Fraunhofer Private Cloud
CCIE #55056 (Routing and Switching)
Cisco CCDP, CCIP; Fluke CCTT

Fraunhoferstraße 5, 64283 Darmstadt
Tel.: +49 6151 155346
Mail: daniel.herrm...@zv.fraunhofer.de

Reply via email to