This is probably the most relevant method for your purposes: private static String executeCloudStackCommand(final String strCsIpAddress, final String strCsPort,
final String strCommand, final String strCsApiKey, final String strCsSecretKey) throws Exception On Tue, Mar 5, 2013 at 2:06 PM, Mike Tutkowski <mike.tutkow...@solidfire.com > wrote: > I forgot to mention that I was - at one time - passing in parameters to > that app. You may see that some of those parameters are still used while > others are hard coded. > > > On Tue, Mar 5, 2013 at 1:58 PM, Mike Tutkowski < > mike.tutkow...@solidfire.com> wrote: > >> I know we prefer that conversations be held on the e-mail list (as >> opposed to direct communications), so here's a copy/paste of what I sent >> over directly (I sent it directly because I included an attachment and I >> think the e-mail list woud have blocked it): >> >> Hi! >> >> I've attached that Java code. >> >> A lot of it is currently commented out as I was commenting some of it in >> and out and executing parts of it to test different APIs. >> >> You will notice a little of it is related to the XenServer API. Feel >> free to ignore that. :) >> >> You will also notice a little of it is related to the SolidFire API. >> Feel free to ignore that, too. :) >> >> I work at a company in Boulder, CO called SolidFire (http://solidfire.com). >> We develop software that ties all-SSD storage nodes together into a >> clustered and fault-tolerant SAN. I'm working on CloudStack integrating >> SolidFire features into CloudStack and also helping out on CloudStack where >> I can. >> >> As an FYI, there is also a CloudStack CLI called CloudMonkey that might >> be worth checking out in your situation: >> >> >> https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI >> >> I haven't used it before, but it looks pretty useful. >> >> Here is a link to the API Developer's Guide: >> >> >> http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.1-incubating/html/API_Developers_Guide/index.html >> >> That explains the weird logic I have to create a signature for the API >> call. >> >> Feel free to send me questions directly, but I believe the CloudStack >> community prefers that we e-mail over their e-mail list so that others can >> chime in and possibly learn from the experience. >> >> By the way, the name "CreateVolume.java" is legacy. Originally I created >> this class to create a SolidFire volume only. It has expanded as I've >> looked into the CloudStack and XenServer APIs. >> >> Talk to you later! >> >> >> On Tue, Mar 5, 2013 at 1:42 PM, Seif Eddine Jemli < >> seifeddineje...@gmail.com> wrote: >> >>> Hi, >>> >>> i am working on a project, trying to establish distributed calculus >>> using the virtual machines. >>> What did you use the cloudstack API for? >>> >>> thanks :) >>> >> >> >> On Tue, Mar 5, 2013 at 1:43 PM, Seif Eddine Jemli < >> seifeddineje...@gmail.com> wrote: >> >>> send it directly to me if you don't mind. thanks, i already sent you a >>> direct email >>> >> >> >> >> -- >> *Mike Tutkowski* >> *Senior CloudStack Developer, SolidFire Inc.* >> e: mike.tutkow...@solidfire.com >> o: 303.746.7302 >> Advancing the way the world uses the >> cloud<http://solidfire.com/solution/overview/?video=play> >> *™* >> > > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkow...@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the > cloud<http://solidfire.com/solution/overview/?video=play> > *™* > -- *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkow...@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud<http://solidfire.com/solution/overview/?video=play> *™*