summaryrefslogtreecommitdiffstats
path: root/share/newton_base/registration/registration.py
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2019-04-01 09:01:53 +0000
committerBin Yang <bin.yang@windriver.com>2019-04-01 09:01:53 +0000
commit4a7181a20f5eb9ad6bfbcb0945fa79ac0ddd620b (patch)
treea6d81ea3a21fd3b8922ccfaf54c4beb58cf90444 /share/newton_base/registration/registration.py
parenta3a153a1f47666fd834fe813363deec12d22a3e2 (diff)
Add audit to az
Issues 2 rest api to openstack to retrieve all pserver and az info This will need optimization in case of many compute pservers in a cloud region Change-Id: I8cad1f63f62a47ea9367db59544e7318e3db746d Issue-ID: MULTICLOUD-555 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'share/newton_base/registration/registration.py')
-rw-r--r--share/newton_base/registration/registration.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/newton_base/registration/registration.py b/share/newton_base/registration/registration.py
index 0f6d5540..c7636ef2 100644
--- a/share/newton_base/registration/registration.py
+++ b/share/newton_base/registration/registration.py
@@ -957,9 +957,9 @@ class RegistryHelper(object):
azName = az.get('zoneName', None)
# comment it for test the registration process only
# if azName == 'nova':
- # continue;
+ # continue
if azName == 'internal':
- continue;
+ continue
# get list of host names
pservers_info = [k for (k, v) in az['hosts'].items()]