You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Marcos Ortiz <ma...@anadat.es> on 2012/09/14 05:06:22 UTC
VMware API calls
Hi,
Can I see the VMware API calls called from cloudstack? I want to see all the calls issued to VMware API when CS provisioned a new instance.
Regards!
Marcos Ortiz Fernández
IT Technical Engineer
Anadat Consulting
RE: VMware API calls
Posted by Marcos Ortiz <ma...@anadat.es>.
OK, i need to see the source code in my release... to get de API call from CS to vCenter
Thanks
Un saludo,
Marcos Ortiz Fernández
IT Technical Engineer
Parque Empresarial Rivas Futura Teléfono: +34 902 196 047
Calle Marie Curie 7 Edificio Beta Fax : +34 915 275 904
28521 - Madrid
-----Mensaje original-----
De: Murali Reddy [mailto:Murali.Reddy@citrix.com]
Enviado el: viernes, 14 de septiembre de 2012 9:01
Para: cloudstack-users@incubator.apache.org
Asunto: Re: VMware API calls
On 14/09/12 12:20 PM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>Hi again,
>
>Where are this files located?
>
>I can´t find any file in cloudstack management.... I have 3.0.4 version
3.0.4 is not a apache release. Please look at the master or 4.0 branch on CloudStack ASF repo at [1]
[1] https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
>
>Regards
>-----Mensaje original-----
>De: Murali Reddy [mailto:Murali.Reddy@citrix.com] Enviado el: viernes,
>14 de septiembre de 2012 8:31
>Para: cloudstack-users@incubator.apache.org
>Asunto: Re: VMware API calls
>
>On 14/09/12 10:13 AM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>
>>Thanks for your reply, but I need to know where are defined in CS this
>>API calls, for example when you create a new instance, which CS
>>function call VMware API, to see the source code.
>
>Please look at "vmware-base/src/com/cloud/hypervisor/vmware/mo" and
>search for calls of patterns _context.getService().* you will get all
>the venter API calls.
>
>You can also look at the
>plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/Vmw
>are
>R
>esource.java for the specific CloudStack operations and how they map to
>venter calls.
>
>>
>>Thanks
>>
>>Marcos Ortiz Fernández
>>IT Technical Engineer
>>Anadat Consulting
>>
>>
>>El 14/09/2012, a las 06:37, "Matty Courtney"
>><ma...@citrix.com>
>>escribió:
>>
>>> VMware's Project Onyx may be able to help here.
>>>
>>> It's designed to sit between your vCenter Server and VI Client and
>>> can output commands in a number of formats, including raw SOAP, for
>>> events that happen.
>>>
>>> I'm not sure if it only worsk with the VI Client, or if it will be
>>> possible to use between CloudStack and vCenter Server.
>>>
>>> You can fetch Project Onyx from
>>>
>>>http://communities.vmware.com/community/vmtn/server/vsphere/automatio
>>>n
>>>too
>>>ls
>>> /onyx. Please let me know if it works for you.
>>>
>>> Regards,
>>>
>>> Matty Courtney
>>> CloudPlatform Implementation Engineer Citrix Worldwide Cloud
>>> Services
>>>
>>> On 14/09/12 1:06 PM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>>>
>>>> Hi,
>>>>
>>>> Can I see the VMware API calls called from cloudstack? I want to
>>>>see all the calls issued to VMware API when CS provisioned a new
>>>>instance.
>>>>
>>>> Regards!
>>>>
>>>> Marcos Ortiz Fernández
>>>> IT Technical Engineer
>>>> Anadat Consulting
>>>>
>>>>
>>>>
>>>
>>
>>
>>
>
>
>
>
>
Re: VMware API calls
Posted by Murali Reddy <Mu...@citrix.com>.
On 14/09/12 12:20 PM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>Hi again,
>
>Where are this files located?
>
>I can´t find any file in cloudstack management.... I have 3.0.4 version
3.0.4 is not a apache release. Please look at the master or 4.0 branch on
CloudStack ASF repo at [1]
[1] https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
>
>Regards
>-----Mensaje original-----
>De: Murali Reddy [mailto:Murali.Reddy@citrix.com]
>Enviado el: viernes, 14 de septiembre de 2012 8:31
>Para: cloudstack-users@incubator.apache.org
>Asunto: Re: VMware API calls
>
>On 14/09/12 10:13 AM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>
>>Thanks for your reply, but I need to know where are defined in CS this
>>API calls, for example when you create a new instance, which CS
>>function call VMware API, to see the source code.
>
>Please look at "vmware-base/src/com/cloud/hypervisor/vmware/mo" and
>search for calls of patterns _context.getService().* you will get all the
>venter API calls.
>
>You can also look at the
>plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/Vmware
>R
>esource.java for the specific CloudStack operations and how they map to
>venter calls.
>
>>
>>Thanks
>>
>>Marcos Ortiz Fernández
>>IT Technical Engineer
>>Anadat Consulting
>>
>>
>>El 14/09/2012, a las 06:37, "Matty Courtney"
>><ma...@citrix.com>
>>escribió:
>>
>>> VMware's Project Onyx may be able to help here.
>>>
>>> It's designed to sit between your vCenter Server and VI Client and
>>> can output commands in a number of formats, including raw SOAP, for
>>> events that happen.
>>>
>>> I'm not sure if it only worsk with the VI Client, or if it will be
>>> possible to use between CloudStack and vCenter Server.
>>>
>>> You can fetch Project Onyx from
>>>
>>>http://communities.vmware.com/community/vmtn/server/vsphere/automation
>>>too
>>>ls
>>> /onyx. Please let me know if it works for you.
>>>
>>> Regards,
>>>
>>> Matty Courtney
>>> CloudPlatform Implementation Engineer Citrix Worldwide Cloud Services
>>>
>>> On 14/09/12 1:06 PM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>>>
>>>> Hi,
>>>>
>>>> Can I see the VMware API calls called from cloudstack? I want to see
>>>>all the calls issued to VMware API when CS provisioned a new
>>>>instance.
>>>>
>>>> Regards!
>>>>
>>>> Marcos Ortiz Fernández
>>>> IT Technical Engineer
>>>> Anadat Consulting
>>>>
>>>>
>>>>
>>>
>>
>>
>>
>
>
>
>
>
RE: VMware API calls
Posted by Marcos Ortiz <ma...@anadat.es>.
Hi again,
Where are this files located?
I can´t find any file in cloudstack management.... I have 3.0.4 version
Regards
-----Mensaje original-----
De: Murali Reddy [mailto:Murali.Reddy@citrix.com]
Enviado el: viernes, 14 de septiembre de 2012 8:31
Para: cloudstack-users@incubator.apache.org
Asunto: Re: VMware API calls
On 14/09/12 10:13 AM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>Thanks for your reply, but I need to know where are defined in CS this
>API calls, for example when you create a new instance, which CS
>function call VMware API, to see the source code.
Please look at "vmware-base/src/com/cloud/hypervisor/vmware/mo" and search for calls of patterns _context.getService().* you will get all the venter API calls.
You can also look at the
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareR
esource.java for the specific CloudStack operations and how they map to venter calls.
>
>Thanks
>
>Marcos Ortiz Fernández
>IT Technical Engineer
>Anadat Consulting
>
>
>El 14/09/2012, a las 06:37, "Matty Courtney"
><ma...@citrix.com>
>escribió:
>
>> VMware's Project Onyx may be able to help here.
>>
>> It's designed to sit between your vCenter Server and VI Client and
>> can output commands in a number of formats, including raw SOAP, for
>> events that happen.
>>
>> I'm not sure if it only worsk with the VI Client, or if it will be
>> possible to use between CloudStack and vCenter Server.
>>
>> You can fetch Project Onyx from
>>
>>http://communities.vmware.com/community/vmtn/server/vsphere/automation
>>too
>>ls
>> /onyx. Please let me know if it works for you.
>>
>> Regards,
>>
>> Matty Courtney
>> CloudPlatform Implementation Engineer Citrix Worldwide Cloud Services
>>
>> On 14/09/12 1:06 PM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>>
>>> Hi,
>>>
>>> Can I see the VMware API calls called from cloudstack? I want to see
>>>all the calls issued to VMware API when CS provisioned a new
>>>instance.
>>>
>>> Regards!
>>>
>>> Marcos Ortiz Fernández
>>> IT Technical Engineer
>>> Anadat Consulting
>>>
>>>
>>>
>>
>
>
>
Re: VMware API calls
Posted by Marcos Ortiz <ma...@anadat.es>.
Hi
Actually I use firebug and I can see the cloudstack API command, but really I want to see the Deplyvirtualmachine command issued by CS.
Are thee any directory or file with the source of this API command?
Regards
Marcos Ortiz Fernández
IT Technical Engineer
Anadat Consulting
El 14/09/2012, a las 14:06, "Mathias Mullins" <ma...@citrix.com> escribió:
> Marcos,
>
> Another suggestion with firefox would be FireBug. Gives a good view into the calls that are being generated.
>
> Also the 4.0 branch that Murali was suggesting I believe is the root for CloudPlatform 3.0.4.
>
> Thanks
> Matt
>
> On Sep 14, 2012, at 2:46 AM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>
>> Hi All,
>>
>> Thanks for replys, i take a look the firefox plugin and the files you mentioned.
>>
>> Thanks folks!
>>
>> -----Mensaje original-----
>> De: Murali Reddy [mailto:Murali.Reddy@citrix.com]
>> Enviado el: viernes, 14 de septiembre de 2012 8:31
>> Para: cloudstack-users@incubator.apache.org
>> Asunto: Re: VMware API calls
>>
>> On 14/09/12 10:13 AM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>>
>>> Thanks for your reply, but I need to know where are defined in CS this
>>> API calls, for example when you create a new instance, which CS
>>> function call VMware API, to see the source code.
>>
>> Please look at "vmware-base/src/com/cloud/hypervisor/vmware/mo" and search for calls of patterns _context.getService().* you will get all the venter API calls.
>>
>> You can also look at the
>> plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareR
>> esource.java for the specific CloudStack operations and how they map to venter calls.
>>
>>>
>>> Thanks
>>>
>>> Marcos Ortiz Fernández
>>> IT Technical Engineer
>>> Anadat Consulting
>>>
>>>
>>> El 14/09/2012, a las 06:37, "Matty Courtney"
>>> <ma...@citrix.com>
>>> escribió:
>>>
>>>> VMware's Project Onyx may be able to help here.
>>>>
>>>> It's designed to sit between your vCenter Server and VI Client and
>>>> can output commands in a number of formats, including raw SOAP, for
>>>> events that happen.
>>>>
>>>> I'm not sure if it only worsk with the VI Client, or if it will be
>>>> possible to use between CloudStack and vCenter Server.
>>>>
>>>> You can fetch Project Onyx from
>>>>
>>>> http://communities.vmware.com/community/vmtn/server/vsphere/automation
>>>> too
>>>> ls
>>>> /onyx. Please let me know if it works for you.
>>>>
>>>> Regards,
>>>>
>>>> Matty Courtney
>>>> CloudPlatform Implementation Engineer Citrix Worldwide Cloud Services
>>>>
>>>> On 14/09/12 1:06 PM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Can I see the VMware API calls called from cloudstack? I want to see
>>>>> all the calls issued to VMware API when CS provisioned a new
>>>>> instance.
>>>>>
>>>>> Regards!
>>>>>
>>>>> Marcos Ortiz Fernández
>>>>> IT Technical Engineer
>>>>> Anadat Consulting
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>>
Re: VMware API calls
Posted by Mathias Mullins <ma...@citrix.com>.
Marcos,
Another suggestion with firefox would be FireBug. Gives a good view into the calls that are being generated.
Also the 4.0 branch that Murali was suggesting I believe is the root for CloudPlatform 3.0.4.
Thanks
Matt
On Sep 14, 2012, at 2:46 AM, "Marcos Ortiz" <ma...@anadat.es> wrote:
> Hi All,
>
> Thanks for replys, i take a look the firefox plugin and the files you mentioned.
>
> Thanks folks!
>
> -----Mensaje original-----
> De: Murali Reddy [mailto:Murali.Reddy@citrix.com]
> Enviado el: viernes, 14 de septiembre de 2012 8:31
> Para: cloudstack-users@incubator.apache.org
> Asunto: Re: VMware API calls
>
> On 14/09/12 10:13 AM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>
>> Thanks for your reply, but I need to know where are defined in CS this
>> API calls, for example when you create a new instance, which CS
>> function call VMware API, to see the source code.
>
> Please look at "vmware-base/src/com/cloud/hypervisor/vmware/mo" and search for calls of patterns _context.getService().* you will get all the venter API calls.
>
> You can also look at the
> plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareR
> esource.java for the specific CloudStack operations and how they map to venter calls.
>
>>
>> Thanks
>>
>> Marcos Ortiz Fernández
>> IT Technical Engineer
>> Anadat Consulting
>>
>>
>> El 14/09/2012, a las 06:37, "Matty Courtney"
>> <ma...@citrix.com>
>> escribió:
>>
>>> VMware's Project Onyx may be able to help here.
>>>
>>> It's designed to sit between your vCenter Server and VI Client and
>>> can output commands in a number of formats, including raw SOAP, for
>>> events that happen.
>>>
>>> I'm not sure if it only worsk with the VI Client, or if it will be
>>> possible to use between CloudStack and vCenter Server.
>>>
>>> You can fetch Project Onyx from
>>>
>>> http://communities.vmware.com/community/vmtn/server/vsphere/automation
>>> too
>>> ls
>>> /onyx. Please let me know if it works for you.
>>>
>>> Regards,
>>>
>>> Matty Courtney
>>> CloudPlatform Implementation Engineer Citrix Worldwide Cloud Services
>>>
>>> On 14/09/12 1:06 PM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>>>
>>>> Hi,
>>>>
>>>> Can I see the VMware API calls called from cloudstack? I want to see
>>>> all the calls issued to VMware API when CS provisioned a new
>>>> instance.
>>>>
>>>> Regards!
>>>>
>>>> Marcos Ortiz Fernández
>>>> IT Technical Engineer
>>>> Anadat Consulting
>>>>
>>>>
>>>>
>>>
>>
>>
>>
>
>
>
>
RE: VMware API calls
Posted by Marcos Ortiz <ma...@anadat.es>.
Hi All,
Thanks for replys, i take a look the firefox plugin and the files you mentioned.
Thanks folks!
-----Mensaje original-----
De: Murali Reddy [mailto:Murali.Reddy@citrix.com]
Enviado el: viernes, 14 de septiembre de 2012 8:31
Para: cloudstack-users@incubator.apache.org
Asunto: Re: VMware API calls
On 14/09/12 10:13 AM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>Thanks for your reply, but I need to know where are defined in CS this
>API calls, for example when you create a new instance, which CS
>function call VMware API, to see the source code.
Please look at "vmware-base/src/com/cloud/hypervisor/vmware/mo" and search for calls of patterns _context.getService().* you will get all the venter API calls.
You can also look at the
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareR
esource.java for the specific CloudStack operations and how they map to venter calls.
>
>Thanks
>
>Marcos Ortiz Fernández
>IT Technical Engineer
>Anadat Consulting
>
>
>El 14/09/2012, a las 06:37, "Matty Courtney"
><ma...@citrix.com>
>escribió:
>
>> VMware's Project Onyx may be able to help here.
>>
>> It's designed to sit between your vCenter Server and VI Client and
>> can output commands in a number of formats, including raw SOAP, for
>> events that happen.
>>
>> I'm not sure if it only worsk with the VI Client, or if it will be
>> possible to use between CloudStack and vCenter Server.
>>
>> You can fetch Project Onyx from
>>
>>http://communities.vmware.com/community/vmtn/server/vsphere/automation
>>too
>>ls
>> /onyx. Please let me know if it works for you.
>>
>> Regards,
>>
>> Matty Courtney
>> CloudPlatform Implementation Engineer Citrix Worldwide Cloud Services
>>
>> On 14/09/12 1:06 PM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>>
>>> Hi,
>>>
>>> Can I see the VMware API calls called from cloudstack? I want to see
>>>all the calls issued to VMware API when CS provisioned a new
>>>instance.
>>>
>>> Regards!
>>>
>>> Marcos Ortiz Fernández
>>> IT Technical Engineer
>>> Anadat Consulting
>>>
>>>
>>>
>>
>
>
>
Re: VMware API calls
Posted by Caleb Call <ca...@me.com>.
Something you may want to try ( this may be too simple) is a Firefox plugin call LiveHeaders. Run that while creating an instance and you'll get the exact API call made to create that new instance.
On Sep 13, 2012, at 10:43 PM, Marcos Ortiz <ma...@anadat.es> wrote:
> Thanks for your reply, but I need to know where are defined in CS this API calls, for example when you create a new instance, which CS function call VMware API, to see the source code.
>
> Thanks
>
> Marcos Ortiz Fernández
> IT Technical Engineer
> Anadat Consulting
>
>
> El 14/09/2012, a las 06:37, "Matty Courtney" <ma...@citrix.com> escribió:
>
>> VMware's Project Onyx may be able to help here.
>>
>> It's designed to sit between your vCenter Server and VI Client and can
>> output commands in a number of formats, including raw SOAP, for events
>> that happen.
>>
>> I'm not sure if it only worsk with the VI Client, or if it will be
>> possible to use between CloudStack and vCenter Server.
>>
>> You can fetch Project Onyx from
>> http://communities.vmware.com/community/vmtn/server/vsphere/automationtools
>> /onyx. Please let me know if it works for you.
>>
>> Regards,
>>
>> Matty Courtney
>> CloudPlatform Implementation Engineer
>> Citrix Worldwide Cloud Services
>>
>> On 14/09/12 1:06 PM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>>
>>> Hi,
>>>
>>> Can I see the VMware API calls called from cloudstack? I want to see all
>>> the calls issued to VMware API when CS provisioned a new instance.
>>>
>>> Regards!
>>>
>>> Marcos Ortiz Fernández
>>> IT Technical Engineer
>>> Anadat Consulting
>>>
>>>
>>>
>>
>
>
Re: VMware API calls
Posted by Murali Reddy <Mu...@citrix.com>.
On 14/09/12 10:13 AM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>Thanks for your reply, but I need to know where are defined in CS this
>API calls, for example when you create a new instance, which CS function
>call VMware API, to see the source code.
Please look at "vmware-base/src/com/cloud/hypervisor/vmware/mo" and search
for calls of patterns _context.getService().* you will get all the venter
API calls.
You can also look at the
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareR
esource.java for the specific CloudStack operations and how they map to
venter calls.
>
>Thanks
>
>Marcos Ortiz Fernández
>IT Technical Engineer
>Anadat Consulting
>
>
>El 14/09/2012, a las 06:37, "Matty Courtney" <ma...@citrix.com>
>escribió:
>
>> VMware's Project Onyx may be able to help here.
>>
>> It's designed to sit between your vCenter Server and VI Client and can
>> output commands in a number of formats, including raw SOAP, for events
>> that happen.
>>
>> I'm not sure if it only worsk with the VI Client, or if it will be
>> possible to use between CloudStack and vCenter Server.
>>
>> You can fetch Project Onyx from
>>
>>http://communities.vmware.com/community/vmtn/server/vsphere/automationtoo
>>ls
>> /onyx. Please let me know if it works for you.
>>
>> Regards,
>>
>> Matty Courtney
>> CloudPlatform Implementation Engineer
>> Citrix Worldwide Cloud Services
>>
>> On 14/09/12 1:06 PM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>>
>>> Hi,
>>>
>>> Can I see the VMware API calls called from cloudstack? I want to see
>>>all
>>> the calls issued to VMware API when CS provisioned a new instance.
>>>
>>> Regards!
>>>
>>> Marcos Ortiz Fernández
>>> IT Technical Engineer
>>> Anadat Consulting
>>>
>>>
>>>
>>
>
>
>
Re: VMware API calls
Posted by Marcos Ortiz <ma...@anadat.es>.
Thanks for your reply, but I need to know where are defined in CS this API calls, for example when you create a new instance, which CS function call VMware API, to see the source code.
Thanks
Marcos Ortiz Fernández
IT Technical Engineer
Anadat Consulting
El 14/09/2012, a las 06:37, "Matty Courtney" <ma...@citrix.com> escribió:
> VMware's Project Onyx may be able to help here.
>
> It's designed to sit between your vCenter Server and VI Client and can
> output commands in a number of formats, including raw SOAP, for events
> that happen.
>
> I'm not sure if it only worsk with the VI Client, or if it will be
> possible to use between CloudStack and vCenter Server.
>
> You can fetch Project Onyx from
> http://communities.vmware.com/community/vmtn/server/vsphere/automationtools
> /onyx. Please let me know if it works for you.
>
> Regards,
>
> Matty Courtney
> CloudPlatform Implementation Engineer
> Citrix Worldwide Cloud Services
>
> On 14/09/12 1:06 PM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>
>> Hi,
>>
>> Can I see the VMware API calls called from cloudstack? I want to see all
>> the calls issued to VMware API when CS provisioned a new instance.
>>
>> Regards!
>>
>> Marcos Ortiz Fernández
>> IT Technical Engineer
>> Anadat Consulting
>>
>>
>>
>
Re: VMware API calls
Posted by Matty Courtney <ma...@citrix.com>.
VMware's Project Onyx may be able to help here.
It's designed to sit between your vCenter Server and VI Client and can
output commands in a number of formats, including raw SOAP, for events
that happen.
I'm not sure if it only worsk with the VI Client, or if it will be
possible to use between CloudStack and vCenter Server.
You can fetch Project Onyx from
http://communities.vmware.com/community/vmtn/server/vsphere/automationtools
/onyx. Please let me know if it works for you.
Regards,
Matty Courtney
CloudPlatform Implementation Engineer
Citrix Worldwide Cloud Services
On 14/09/12 1:06 PM, "Marcos Ortiz" <ma...@anadat.es> wrote:
>Hi,
>
>Can I see the VMware API calls called from cloudstack? I want to see all
>the calls issued to VMware API when CS provisioned a new instance.
>
>Regards!
>
>Marcos Ortiz Fernández
>IT Technical Engineer
>Anadat Consulting
>
>
>