diff --git a/trove/instance/service.py b/trove/instance/service.py index 99f5e1041e..1dd30b3289 100644 --- a/trove/instance/service.py +++ b/trove/instance/service.py @@ -472,7 +472,9 @@ class InstanceController(wsgi.Controller): self._check_nic(context, nic) if locality: - locality_domain = ['affinity', 'anti-affinity'] + locality_domain = [ + 'affinity', 'soft-affinity', + 'anti-affinity', 'soft-anti-affinity'] locality_domain_msg = ("Invalid locality '%s'. " "Must be one of ['%s']" % (locality,