diff options
author | Brian Freeman <bf1936@att.com> | 2018-07-23 12:47:21 -0500 |
---|---|---|
committer | Brian Freeman <bf1936@att.com> | 2018-07-23 12:47:39 -0500 |
commit | ca5e32e9c0dfab04397aee554b3a61c21b21ca0d (patch) | |
tree | f253e1308831344a303dc2555e451c7b6401a484 /robot/resources/mso_interface.robot | |
parent | 6737be5ce652e050b69f21bdd36db8b38ee4f693 (diff) |
First Pass Automated vFW control setup
Issue-ID: TEST-110
Change-Id: Ib3ea0120a72dc0b6932bb9e12c4ba385e89511c3
Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/resources/mso_interface.robot')
-rw-r--r-- | robot/resources/mso_interface.robot | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/robot/resources/mso_interface.robot b/robot/resources/mso_interface.robot index 49965c89..200b270f 100644 --- a/robot/resources/mso_interface.robot +++ b/robot/resources/mso_interface.robot @@ -20,6 +20,16 @@ Run MSO Health Check ${resp}= Get Request mso ${MSO_HEALTH_CHECK_PATH} headers=${headers} Should Be Equal As Strings ${resp.status_code} 200 +Run MSO Get ModelInvariantId + [Documentation] Runs an MSO Get ModelInvariantID for ClosedLoop Polieis + [Arguments] ${service_model_name} + ${param_dict}= Create Dictionary serviceModelName ${service_model_name} + ${param}= Evaluate urllib.urlencode(${param_dict}) urllib + ${data_path}= Catenate SEPARATOR= /ecomp/mso/catalog/v2/serviceVnfs? ${param} + ${resp}= Run MSO Get Request ${data_path} + Log ${resp.json()} + [Return] ${resp.json()['serviceVnfs'][0]['modelInfo']['modelInvariantUuid']} + Run MSO Get Request [Documentation] Runs an MSO get request [Arguments] ${data_path} ${accept}=application/json |