On Jun 24, 2014, at 9:05 PM, Darren Brogan <brogan...@darrenbrogan.ie> wrote:
> Apologies, send that prematurely. > > Anyway getting back to it, an example of profile usage: > > $ gstack-configure -p exampleprofile > > $ gstack -p exampleprofile > > Along with that the user now has the ability to debug the app with the '-d' > / '--debug' flags when running the application. > > $ gstack -d True > > Version 1.0.0 of gstack was released today. You can download / upgrade > using pip. https://pypi.python.org/pypi/gstack > > The first term was a lot of fun and I made a good bit of progress with > gstack. Ec2stack is next. > > If you have any feedback or advice I'd be glad to hear it. > > Thanks, > Darren Thanks Darren, Good work, For those that did not follow. gstack is a python flask application that provides a GCE compliant interface. It forwards requests to cloudstack api server. It's all on github: https://github.com/NOPping/gstack It's not clear to me yet, if we need this under cloudstack ASF repos. @anyone thoughts ? The app is automatically build tested on Travis, with unit test coverage published on coveralls. the app is available through pypi. @Darren, github still shows pypi package at 0.1.0. Two small things: -Would be nice to have a little read me on how to add an API -Would be nice to have a little read me on how to use something like gunicorn to run the app as a linux service. Otherwise, I tested for basic zones and it works just fine. Good work, > > > On Tue, Jun 24, 2014 at 7:56 PM, Darren Brogan <brogan...@darrenbrogan.ie> > wrote: > >> Hi guys, >> >> Since my last email I've done quite a bit of work on gstack. I added >> uniitests to make future changes easier. The coverage is at 95% currently. >> I added gstack to coveralls to keep track of test results, you can view the >> statistics at https://coveralls.io/r/NOPping/gstack >> >> I refactored quite a bit of code in controllers. My original plan to >> achieve this was to use templates but they proved to be troublesome with >> json. Instead, I opted to just clean the current implementation and extract >> repeated code to a common script. >> >> I added support for configuration profiles. This means you can use gstack >> against multiple clouds without having to rerun gstack-configure each time. >> profiles are utilized with the '-p' / '--profile' flags when configuring >> and running the application. >> >> Example: >> >>