diff options
author | Justin chi <chigang@huawei.com> | 2017-08-09 06:43:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-09 06:43:10 +0000 |
commit | 552e88b3768d20035bb2c115ac835da2d0f07ecc (patch) | |
tree | 79ce95458b3e69d59e22d3eb014770962bfb78fd /deploy/adapters/ansible | |
parent | 1d928f1e869cbbd1edf20db4cc7aeded29c98fee (diff) | |
parent | a1cac5e3b8c8bdfef62fb078720c26cd7eccfbfa (diff) |
Merge "Create endpoint in different region"
Diffstat (limited to 'deploy/adapters/ansible')
-rwxr-xr-x | deploy/adapters/ansible/ansible_modules/keystone_endpoint.py | 3 |
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: |