You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Mehdi AliSoltani <me...@yahoo.com> on 2013/05/18 20:43:28 UTC

Cloud Stack APIs

Hi 
i have downloaded cloudstack code also according to 
http://cloudstack.apache.org/docs/api/apidocs-4.0.0/TOC_Root_Admin.html

I want to know how can I use these APIs in my project.

 
Sincerely
Mehdi Ali Soltani

Re: Cloud Stack APIs

Posted by Mike Tutkowski <mi...@solidfire.com>.
That's a good idea. I've sent it out to several people who have asked on
this e-mail list over the past few months.

I should clean it up first, though, because it has a lot of SolidFire
sample code in it, too, and also hypervisor-related calls.


On Sun, May 19, 2013 at 11:29 PM, Pranav Saxena <pr...@citrix.com>wrote:

> Great !!  You could put it up on the wiki  and share the link  :) .
>
> -----Original Message-----
> From: Mike Tutkowski [mailto:mike.tutkowski@solidfire.com]
> Sent: Monday, May 20, 2013 10:56 AM
> To: dev@cloudstack.apache.org
> Subject: Re: Cloud Stack APIs
>
> CloudMonkey is a cool tool. If you'd like to write Java code to interact
> with the CloudStack API, however, I just wanted to put it out there that I
> have sample code. :)
>
>
> On Sun, May 19, 2013 at 10:48 PM, Pranav Saxena <pranav.saxena@citrix.com
> >wrote:
>
> > Another option would be to use this awesome tool ,  Cloudmonkey - The
> > CloudStack CLI !  (
> > https://cwiki.apache.org/CLOUDSTACK/cloudstack-cloudmonkey-cli.html ) .
> > You can also google some screencasts for this tool .
> >
> > -----Original Message-----
> > From: Mike Tutkowski [mailto:mike.tutkowski@solidfire.com]
> > Sent: Monday, May 20, 2013 10:11 AM
> > To: dev@cloudstack.apache.org
> > Cc: Mehdi AliSoltani
> > Subject: Re: Cloud Stack APIs
> >
> > If you're interested, I have some Java code that does this that I
> > could provide to you as a sample.
> >
> >
> > On Sat, May 18, 2013 at 1:43 PM, Pranav Saxena
> > <pranav.saxena@citrix.com
> > >wrote:
> >
> > > Hi ,
> > >
> > > In case you have a developer's environment up and running , then all
> > > you need to do it make a REST call . Example -
> > >
> > > http://<MS
> > > IP>:8080/client/api?command=listAccounts&listAll=true&sessionkey=<>
> > >
> > > Another way is to bypass authentication by using the port 8096
> > >
> > > http://<MS IP>:8096/client/api?command=listAccounts&listAll=true //
> > > Here you don't need to pass any session key for user authentication
> > >
> > > Thanks,
> > > Pranav
> > >
> > >
> > > -----Original Message-----
> > > From: Mehdi AliSoltani [mailto:mehdi_alisoltani@yahoo.com]
> > > Sent: Sunday, May 19, 2013 12:13 AM
> > > To: dev@cloudstack.apache.org
> > > Subject: Cloud Stack APIs
> > >
> > > Hi
> > > i have downloaded cloudstack code also according to
> > > http://cloudstack.apache.org/docs/api/apidocs-4.0.0/TOC_Root_Admin.h
> > > tm
> > > l
> > >
> > > I want to know how can I use these APIs in my project.
> > >
> > >
> > > Sincerely
> > > Mehdi Ali Soltani
> > >
> >
> >
> >
> > --
> > *Mike Tutkowski*
> > *Senior CloudStack Developer, SolidFire Inc.*
> > e: mike.tutkowski@solidfire.com
> > o: 303.746.7302
> > Advancing the way the world uses the
> > cloud<http://solidfire.com/solution/overview/?video=play>
> > *(tm)*
> >
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud<http://solidfire.com/solution/overview/?video=play>
> *(tm)*
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

RE: Cloud Stack APIs

Posted by Pranav Saxena <pr...@citrix.com>.
Great !!  You could put it up on the wiki  and share the link  :) . 

-----Original Message-----
From: Mike Tutkowski [mailto:mike.tutkowski@solidfire.com] 
Sent: Monday, May 20, 2013 10:56 AM
To: dev@cloudstack.apache.org
Subject: Re: Cloud Stack APIs

CloudMonkey is a cool tool. If you'd like to write Java code to interact with the CloudStack API, however, I just wanted to put it out there that I have sample code. :)


On Sun, May 19, 2013 at 10:48 PM, Pranav Saxena <pr...@citrix.com>wrote:

> Another option would be to use this awesome tool ,  Cloudmonkey - The 
> CloudStack CLI !  ( 
> https://cwiki.apache.org/CLOUDSTACK/cloudstack-cloudmonkey-cli.html ) .
> You can also google some screencasts for this tool .
>
> -----Original Message-----
> From: Mike Tutkowski [mailto:mike.tutkowski@solidfire.com]
> Sent: Monday, May 20, 2013 10:11 AM
> To: dev@cloudstack.apache.org
> Cc: Mehdi AliSoltani
> Subject: Re: Cloud Stack APIs
>
> If you're interested, I have some Java code that does this that I 
> could provide to you as a sample.
>
>
> On Sat, May 18, 2013 at 1:43 PM, Pranav Saxena 
> <pranav.saxena@citrix.com
> >wrote:
>
> > Hi ,
> >
> > In case you have a developer's environment up and running , then all 
> > you need to do it make a REST call . Example -
> >
> > http://<MS
> > IP>:8080/client/api?command=listAccounts&listAll=true&sessionkey=<>
> >
> > Another way is to bypass authentication by using the port 8096
> >
> > http://<MS IP>:8096/client/api?command=listAccounts&listAll=true // 
> > Here you don't need to pass any session key for user authentication
> >
> > Thanks,
> > Pranav
> >
> >
> > -----Original Message-----
> > From: Mehdi AliSoltani [mailto:mehdi_alisoltani@yahoo.com]
> > Sent: Sunday, May 19, 2013 12:13 AM
> > To: dev@cloudstack.apache.org
> > Subject: Cloud Stack APIs
> >
> > Hi
> > i have downloaded cloudstack code also according to 
> > http://cloudstack.apache.org/docs/api/apidocs-4.0.0/TOC_Root_Admin.h
> > tm
> > l
> >
> > I want to know how can I use these APIs in my project.
> >
> >
> > Sincerely
> > Mehdi Ali Soltani
> >
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud<http://solidfire.com/solution/overview/?video=play>
> *(tm)*
>



--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*(tm)*

Re: Cloud Stack APIs

Posted by Mike Tutkowski <mi...@solidfire.com>.
CloudMonkey is a cool tool. If you'd like to write Java code to interact
with the CloudStack API, however, I just wanted to put it out there that I
have sample code. :)


On Sun, May 19, 2013 at 10:48 PM, Pranav Saxena <pr...@citrix.com>wrote:

> Another option would be to use this awesome tool ,  Cloudmonkey - The
> CloudStack CLI !  (
> https://cwiki.apache.org/CLOUDSTACK/cloudstack-cloudmonkey-cli.html ) .
> You can also google some screencasts for this tool .
>
> -----Original Message-----
> From: Mike Tutkowski [mailto:mike.tutkowski@solidfire.com]
> Sent: Monday, May 20, 2013 10:11 AM
> To: dev@cloudstack.apache.org
> Cc: Mehdi AliSoltani
> Subject: Re: Cloud Stack APIs
>
> If you're interested, I have some Java code that does this that I could
> provide to you as a sample.
>
>
> On Sat, May 18, 2013 at 1:43 PM, Pranav Saxena <pranav.saxena@citrix.com
> >wrote:
>
> > Hi ,
> >
> > In case you have a developer's environment up and running , then all
> > you need to do it make a REST call . Example -
> >
> > http://<MS
> > IP>:8080/client/api?command=listAccounts&listAll=true&sessionkey=<>
> >
> > Another way is to bypass authentication by using the port 8096
> >
> > http://<MS IP>:8096/client/api?command=listAccounts&listAll=true //
> > Here you don't need to pass any session key for user authentication
> >
> > Thanks,
> > Pranav
> >
> >
> > -----Original Message-----
> > From: Mehdi AliSoltani [mailto:mehdi_alisoltani@yahoo.com]
> > Sent: Sunday, May 19, 2013 12:13 AM
> > To: dev@cloudstack.apache.org
> > Subject: Cloud Stack APIs
> >
> > Hi
> > i have downloaded cloudstack code also according to
> > http://cloudstack.apache.org/docs/api/apidocs-4.0.0/TOC_Root_Admin.htm
> > l
> >
> > I want to know how can I use these APIs in my project.
> >
> >
> > Sincerely
> > Mehdi Ali Soltani
> >
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud<http://solidfire.com/solution/overview/?video=play>
> *(tm)*
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

RE: Cloud Stack APIs

Posted by Pranav Saxena <pr...@citrix.com>.
Another option would be to use this awesome tool ,  Cloudmonkey - The CloudStack CLI !  (https://cwiki.apache.org/CLOUDSTACK/cloudstack-cloudmonkey-cli.html ) . You can also google some screencasts for this tool . 

-----Original Message-----
From: Mike Tutkowski [mailto:mike.tutkowski@solidfire.com] 
Sent: Monday, May 20, 2013 10:11 AM
To: dev@cloudstack.apache.org
Cc: Mehdi AliSoltani
Subject: Re: Cloud Stack APIs

If you're interested, I have some Java code that does this that I could provide to you as a sample.


On Sat, May 18, 2013 at 1:43 PM, Pranav Saxena <pr...@citrix.com>wrote:

> Hi ,
>
> In case you have a developer's environment up and running , then all 
> you need to do it make a REST call . Example -
>
> http://<MS
> IP>:8080/client/api?command=listAccounts&listAll=true&sessionkey=<>
>
> Another way is to bypass authentication by using the port 8096
>
> http://<MS IP>:8096/client/api?command=listAccounts&listAll=true // 
> Here you don't need to pass any session key for user authentication
>
> Thanks,
> Pranav
>
>
> -----Original Message-----
> From: Mehdi AliSoltani [mailto:mehdi_alisoltani@yahoo.com]
> Sent: Sunday, May 19, 2013 12:13 AM
> To: dev@cloudstack.apache.org
> Subject: Cloud Stack APIs
>
> Hi
> i have downloaded cloudstack code also according to 
> http://cloudstack.apache.org/docs/api/apidocs-4.0.0/TOC_Root_Admin.htm
> l
>
> I want to know how can I use these APIs in my project.
>
>
> Sincerely
> Mehdi Ali Soltani
>



--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*(tm)*

Re: Cloud Stack APIs

Posted by Mike Tutkowski <mi...@solidfire.com>.
If you're interested, I have some Java code that does this that I could
provide to you as a sample.


On Sat, May 18, 2013 at 1:43 PM, Pranav Saxena <pr...@citrix.com>wrote:

> Hi ,
>
> In case you have a developer's environment up and running , then all you
> need to do it make a REST call . Example -
>
> http://<MS
> IP>:8080/client/api?command=listAccounts&listAll=true&sessionkey=<>
>
> Another way is to bypass authentication by using the port 8096
>
> http://<MS IP>:8096/client/api?command=listAccounts&listAll=true // Here
> you don't need to pass any session key for user authentication
>
> Thanks,
> Pranav
>
>
> -----Original Message-----
> From: Mehdi AliSoltani [mailto:mehdi_alisoltani@yahoo.com]
> Sent: Sunday, May 19, 2013 12:13 AM
> To: dev@cloudstack.apache.org
> Subject: Cloud Stack APIs
>
> Hi
> i have downloaded cloudstack code also according to
> http://cloudstack.apache.org/docs/api/apidocs-4.0.0/TOC_Root_Admin.html
>
> I want to know how can I use these APIs in my project.
>
>
> Sincerely
> Mehdi Ali Soltani
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

RE: Cloud Stack APIs

Posted by Pranav Saxena <pr...@citrix.com>.
Hi ,

In case you have a developer's environment up and running , then all you need to do it make a REST call . Example - 

http://<MS IP>:8080/client/api?command=listAccounts&listAll=true&sessionkey=<>

Another way is to bypass authentication by using the port 8096

http://<MS IP>:8096/client/api?command=listAccounts&listAll=true // Here you don't need to pass any session key for user authentication

Thanks,
Pranav


-----Original Message-----
From: Mehdi AliSoltani [mailto:mehdi_alisoltani@yahoo.com] 
Sent: Sunday, May 19, 2013 12:13 AM
To: dev@cloudstack.apache.org
Subject: Cloud Stack APIs

Hi
i have downloaded cloudstack code also according to http://cloudstack.apache.org/docs/api/apidocs-4.0.0/TOC_Root_Admin.html

I want to know how can I use these APIs in my project.

 
Sincerely
Mehdi Ali Soltani