Hi Francisco,

You could probably use listNics​ to get all the associated networks for the 
virtual machine:

cloudmonkey list nics virtualmachineid=41e5be92-cc95-4a52-aa47-908af828b303 
filter=networkname,networkid​

Regards,
Pearl

________________________________
From: Francisco Arencibia Quesada <arencibia.franci...@gmail.com>
Sent: December 13, 2023 12:27 PM
To: users@cloudstack.apache.org <users@cloudstack.apache.org>
Subject: get networks associated to a vm

Hello guys,
I have been trying to find a way to use cloudmonkey to get all the networks
associated with a VM, something like this:
cloudmonkey list networks
virtualmachineid=a9a97f97-9930-429a-b747-efbf7c5fc125 filter=id,name
listall=true
The thing is, the virtualmachineid parameter does not exist, and it outputs
information that is not useful. If you have any idea how to achieve this,
please let me know.

Regards
--
*Francisco Arencibia Quesada.*
*DevOps Engineer*

 

Reply via email to