Skip to content

make fog/cloudstack support "servers.create" style server CRUD #765

Closed
wants to merge 12 commits into from

6 participants

@mingjin
mingjin commented Feb 27, 2012

e.g. compute.servers.create(options)
compute.servers.get server_id
server.destroy

@bdorry
fog member
bdorry commented Feb 27, 2012

Feng, these changes limit the information available from the list virtual machines command and will break existing implementations because you are using parsers to alter the response.

I am all for adding models, but I am against adding parsers into the cloudstack space since the responses are already json formatted. I'd suggest making your models work without changing (and in the process limiting) the response format.

@geemus
fog member
geemus commented Feb 28, 2012

@mingjin I'm with @bdorry on this. If there is json available I would much prefer that we just use that over adding parsers. If you have any questions on that feel free to let us know though and we'd be happy to help out in terms of getting this fixed up. Thanks!

@mingjin
mingjin commented Apr 11, 2012

Hi, @bdorry @geemus, we've updated the code according to your suggestion, could you help review them? Thanks

@geemus
fog member
geemus commented Dec 28, 2012

@mingjin - sorry for the delay, not sure how this fell through the cracks.

@bdorry - could you check it out and see how this fits in (I realize due to the duration of time passed that it may make less sense and/or not work now). Thanks!

@geemus
fog member
geemus commented Dec 18, 2013

@bdorry hey, any chance you could take a look at this? I know it has been a little while, but would be good to figure out if this is worth rebasing and trying to get it in. Thanks!

@geemus
fog member
geemus commented Dec 18, 2013

@dm1try - could you review this? Thanks!

@dm1try
dm1try commented Jan 5, 2014

@geemus hey, CRUD for server was already implemented, surprising :).

Maybe a key_pair model worth something, but here we have some deprecated things like a connection and we don't have any tests.

@tokengeek
fog member

Original work is 2 years old, despite the recent reviews.

Closing since it is too stale in my view.

@tokengeek tokengeek closed this Feb 27, 2014
@geemus
fog member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.