Merge "Make more flexible with locality options"
This commit is contained in:
commit
1da2376f5a
@ -472,7 +472,9 @@ class InstanceController(wsgi.Controller):
|
|||||||
self._check_nic(context, nic)
|
self._check_nic(context, nic)
|
||||||
|
|
||||||
if locality:
|
if locality:
|
||||||
locality_domain = ['affinity', 'anti-affinity']
|
locality_domain = [
|
||||||
|
'affinity', 'soft-affinity',
|
||||||
|
'anti-affinity', 'soft-anti-affinity']
|
||||||
locality_domain_msg = ("Invalid locality '%s'. "
|
locality_domain_msg = ("Invalid locality '%s'. "
|
||||||
"Must be one of ['%s']" %
|
"Must be one of ['%s']" %
|
||||||
(locality,
|
(locality,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user