commit c447d6c043256d84999e096256fa96a04466fc1e
Author: Russell Bryant <email address hidden>
Date: Thu Mar 27 18:45:16 2014 +0000
Add InstanceGroup.get_by_name()
Legacy behavior of the 'group' scheduler hint was that the value was
treated as a name for the group. To preserve the old behavior, the
InstanceGroup object needs to be able to look up a group by name.
Since we're so close to doing an RC, just use the db API methods
available now but leave a note that this should be optimized later
with a db.api query that looks up the group by name.
Reviewed: https:/ /review. openstack. org/83588 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=c447d6c0432 56d84999e096256 fa96a04466fc1e
Committed: https:/
Submitter: Jenkins
Branch: master
commit c447d6c043256d8 4999e096256fa96 a04466fc1e
Author: Russell Bryant <email address hidden>
Date: Thu Mar 27 18:45:16 2014 +0000
Add InstanceGroup. get_by_ name()
Legacy behavior of the 'group' scheduler hint was that the value was
treated as a name for the group. To preserve the old behavior, the
InstanceGroup object needs to be able to look up a group by name.
Since we're so close to doing an RC, just use the db API methods
available now but leave a note that this should be optimized later
with a db.api query that looks up the group by name.
Change-Id: I1b8c72b29a9a44 a171aaa231aeb35 33ccf41f7c2
Partial-bug: #1296913