summaryrefslogtreecommitdiffstats
path: root/robotframework-onap/vcpeutils/SoUtils.py
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-07-31 17:42:10 -0400
committerDR695H <dr695h@att.com>2019-07-31 18:10:37 -0400
commit3db5715fbfa519dfabb2dab95630b294e7fd2857 (patch)
tree5305f6c901b511524d39403fd9ae470810a582cb /robotframework-onap/vcpeutils/SoUtils.py
parent70ef70fb637f25a05d2d929121d3e5cdfd7e8035 (diff)
pull global vars from robot trial
Issue-ID: TEST-184 Change-Id: I008c9cfbc1ae65c7735fcab2b474a0cbf7ec2ca9 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robotframework-onap/vcpeutils/SoUtils.py')
-rwxr-xr-xrobotframework-onap/vcpeutils/SoUtils.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/robotframework-onap/vcpeutils/SoUtils.py b/robotframework-onap/vcpeutils/SoUtils.py
index 99376ae..229d5b1 100755
--- a/robotframework-onap/vcpeutils/SoUtils.py
+++ b/robotframework-onap/vcpeutils/SoUtils.py
@@ -25,11 +25,6 @@ class SoUtils:
self.so_userpass = 'InfraPortalClient', 'password1$'
self.so_headers = {'Content-Type': 'application/json', 'Accept': 'application/json'}
- # aai urls
- self.aai_userpass = 'AAI', 'AAI'
- self.aai_query_port = '8443'
- self.aai_host = 'aai.onap'
-
# mr utls
self.mr_ip_addr = 'mr.onap'
self.mr_ip_port = '3904'
@@ -248,8 +243,7 @@ class SoUtils:
return None
# wait for AAI to complete traversal
- endpoint = "https://{0}:{1}".format(self.aai_host, self.aai_query_port)
- self.aai.wait_for_node_to_exist(endpoint, 'service-instance', 'service-instance-id', svc_instance_id)
+ self.aai.wait_for_node_to_exist('service-instance', 'service-instance-id', svc_instance_id)
# create networks
for model in parser.net_models:
@@ -311,8 +305,7 @@ class SoUtils:
if not vnf_instance_id:
logger.error('No VNF instance ID returned!')
sys.exit()
- endpoint = "https://{0}:{1}".format(self.aai_host, self.aai_query_port)
- self.aai.wait_for_node_to_exist(endpoint, 'generic-vnf', 'vnf-id', vnf_instance_id)
+ self.aai.wait_for_node_to_exist('generic-vnf', 'vnf-id', vnf_instance_id)
# SDNC Preload
preloader = PreloadSDNCKeywords()