aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-08-09 06:43:10 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-09 06:43:10 +0000
commit552e88b3768d20035bb2c115ac835da2d0f07ecc (patch)
tree79ce95458b3e69d59e22d3eb014770962bfb78fd /deploy/adapters/ansible
parent1d928f1e869cbbd1edf20db4cc7aeded29c98fee (diff)
parenta1cac5e3b8c8bdfef62fb078720c26cd7eccfbfa (diff)
Merge "Create endpoint in different region"
Diffstat (limited to 'deploy/adapters/ansible')
-rwxr-xr-xdeploy/adapters/ansible/ansible_modules/keystone_endpoint.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/ansible_modules/keystone_endpoint.py b/deploy/adapters/ansible/ansible_modules/keystone_endpoint.py
index 0201dd26..fae2ec66 100755
--- a/deploy/adapters/ansible/ansible_modules/keystone_endpoint.py
+++ b/deploy/adapters/ansible/ansible_modules/keystone_endpoint.py
@@ -180,7 +180,8 @@ def main():
endpoints = [x for x in cloud.list_endpoints()
if (x.service_id == service.id and
- x.interface == interface)]
+ x.interface == interface and
+ x.region == region)]
count = len(endpoints)
if count > 1: