Skip to content

Instantly share code, notes, and snippets.

View sorrison's full-sized avatar

Sam Morrison sorrison

  • Melbourne, Australia
View GitHub Profile
@misterdorm
misterdorm / 0018-server-groups-cells-support.patch
Last active November 25, 2015 05:05
Support for server groups in nova cells v1: Note this patch will probably not apply cleanly to stock nova, as it's rebased from a few other cells-related patches we also run. But it should be fairly trivial to rebase onto whatever flavor of nova you have.
diff --git a/nova/api/openstack/compute/contrib/server_groups.py b/nova/api/openstack/compute/contrib/server_groups.py
index 553f946..b9854c1 100644
--- a/nova/api/openstack/compute/contrib/server_groups.py
+++ b/nova/api/openstack/compute/contrib/server_groups.py
@@ -27,6 +27,7 @@ from nova.i18n import _
from nova.i18n import _LE
from nova import objects
from nova import utils
+from nova import compute