diff options
author | Marco Platania <platania@research.att.com> | 2018-08-01 12:45:28 -0400 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2018-08-01 12:45:28 -0400 |
commit | e007927f762b0d336e42480f86fcdf2cbd014e6d (patch) | |
tree | bf9188b8fd985444c5cbeca93ee2be39b7798623 /robot/resources | |
parent | 27cb14178bb3f62db66b008a01a6e336aa67a671 (diff) |
Make ipv4-oam-address optional
- ipv4-oam-address is an optional parameter. If specified, Heatbridge will write the OAM IP address to AAI.
Change-Id: Ie4f72a4e531859d493696257143964e4e3175db1
Issue-ID: INT-602
Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'robot/resources')
-rw-r--r-- | robot/resources/heatbridge.robot | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/robot/resources/heatbridge.robot b/robot/resources/heatbridge.robot index 69f55e16..8e8d6a0e 100644 --- a/robot/resources/heatbridge.robot +++ b/robot/resources/heatbridge.robot @@ -38,7 +38,8 @@ Execute Heatbridge ${stack_id}= Get From Dictionary ${stack_info} id ${tenant_id}= Get From Dictionary ${stack_info} OS::project_id ${vnf_id}= Get From Dictionary ${stack_info} vnf_id - ${ipv4_vnf_address}= Get From Dictionary ${stack_info} ${ipv4_oam_address} + ${KeyIsPresent}= Run Keyword And Return Status Dictionary Should Contain Key ${stack_info} ${ipv4_oam_address} + ${ipv4_vnf_address}= Run Keyword If ${KeyIsPresent} Get From Dictionary ${stack_info} ${ipv4_oam_address} Run Set VNF Params ${vnf_id} ${ipv4_vnf_address} PROV Active ${url} ${path}= Get Keystone Url And Path ${openstack_identity_url}= Catenate ${url}${path} |