aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2019-10-24 13:26:21 +0200
committerBrian Freeman <bf1936@att.com>2019-10-24 17:54:39 +0000
commit8b409a1f8ba66476246eb32162c50260aec4b2ce (patch)
treec4e63d87fae15549b849e0567825c9e16d22785c
parent8c57337f5de94ab6a8bdf60d9f53817a83c44ce5 (diff)
Use VcpeCommon.host_names in get_oom_onap_vm_ip routine
List of host names to iterate over in search for a vm ip in get_oom_onap_vm_ip() should be identical to the globally defined host names. Change-Id: I60e1a2d77d683b81ae480499ce357dd812e8694f Issue-ID: TEST-225 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
-rwxr-xr-xtest/vcpe/vcpecommon.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/vcpe/vcpecommon.py b/test/vcpe/vcpecommon.py
index bfdd58b88..acad39454 100755
--- a/test/vcpe/vcpecommon.py
+++ b/test/vcpe/vcpecommon.py
@@ -550,9 +550,8 @@ class VcpeCommon:
def get_oom_onap_vm_ip(self, keywords):
vm_ip = {}
- onap_vm_list = set(['sdc', 'so', 'sdnc', 'aai-inst1', 'robot', self.dcae_ves_collector_name])
for vm in keywords:
- if vm in onap_vm_list:
+ if vm in self.host_names:
vm_ip[vm] = self.oom_so_sdnc_aai_ip
return vm_ip