-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade_vm for PRO VM #27
Comments
for upgrading pro VM, you can do like this : |
Thank You, but how can I MODIFY (extend) disk size without add a new disk? |
the edit_virtual_disk function has not been implemented yet (i've not seen it in the code). |
Is this method tested? Because the VM_Type init.py does not contain set_cpu_qty and set_ram_qty methode... only edit_cpu and edit_ram exists,.. |
i've tested it myself and they seems to be ok |
|
In my own script...i've added these commands only when i have to change cpu and ram quantity on Pro VMs |
Maybe can you send me a working example file for upgrade pro vm? |
it's available here : https://github.com/mikamakusa/Providers4 |
@mikamakusa first of all let me say that i really like your job and the quality of the code. pvm = ProVmCreator(name=servername,
admin_password=servpass,
template_id=Images.getimageid(image),
auth_obj=connect().auth)
pvm.set_cpu_qty(int(cpu))
pvm.set_ram_qty(int(ram)) But I like the idea of adding set_cpu, set_ram_qty and so on to ProVM object, and I think that I will go in that way. |
WOW... this is nice job, but I can't use this because of my python knowledge. |
Hum...how can I say that... |
Thank You... I'm on python less then 5 hours :))) |
Hi,
Please provide an upgrade methode to pro vm too.
Thank You
The text was updated successfully, but these errors were encountered: