fog/fog — pull request #1347 by drbrain (2012-12-06 03:30:46+00:00)
Title: OpenStack servers can now retrieve security groups

This functionality was missing from the Server models. Extracting it by hand from the list_security_groups request is annoying and the missing functionality on the mock version of the request doubly so.

In support of this change:

Added default security group to the OpenStack compute mocks.

OpenStack server creation mock now stores the security groups for the
created server.

OpenStack security group mock deletion now deletes created security
groups.

OpenStack security group mock list now accepts a server id like the real
implementation.