aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/sdnc_interface.robot
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2020-04-15 13:02:07 -0500
committerBrian Freeman <bf1936@att.com>2020-04-15 13:02:17 -0500
commit59186528c2568f4a84d560d52e5bd039f843c953 (patch)
tree13dc5672efb7afaad9df88b0a669d66dc51f3354 /robot/resources/sdnc_interface.robot
parent3d2a0bc9ef25fb74443e253d084a74a5f93f8f80 (diff)
Support smaller than /16 onap_oam network
move csar storage to /share mount (/share/csar) if /tmp fills up robot is evicted from k8 host Issue-ID: INT-1527 Change-Id: I55645f425d44f992dc6ee6df08cf6547e9154ba9 Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/resources/sdnc_interface.robot')
-rw-r--r--robot/resources/sdnc_interface.robot8
1 files changed, 6 insertions, 2 deletions
diff --git a/robot/resources/sdnc_interface.robot b/robot/resources/sdnc_interface.robot
index e69f0576..d8a73cf2 100644
--- a/robot/resources/sdnc_interface.robot
+++ b/robot/resources/sdnc_interface.robot
@@ -188,8 +188,12 @@ Preload One Gra Topology
Get Template Parameters
[Arguments] ${generic_vnf_name} ${template} ${uuid} ${service} ${server_id} ${api_type}=vnf_api
${hostid}= Get Substring ${uuid} -4
- ${ecompnet}= Evaluate (${GLOBAL_BUILD_NUMBER}%128)+128
-
+ # in Azure the ONAP OAM network is a /24 on 10.0.200 so 10.0 CIDR is too short
+ # ecompnet should be 200 if AKS
+ # Check GLOBAL VARIABLE for Openstack OAM Network 3RD_OCTET and if specified use it instead of
+ # dyanmic ecompnet (Decompnet)
+ ${Decompnet}= Evaluate (${GLOBAL_BUILD_NUMBER}%128)+128
+ ${ecompnet}= Set Variable If "${GLOBAL_INJECTED_OPENSTACK_OAM_NETWORK_3RD_OCTET}"=="${EMPTY}" ${Decompnet} ${GLOBAL_INJECTED_OPENSTACK_OAM_NETWORK_3RD_OCTET}
${valuemap}= Get Globally Injected Parameters
# update the value map with unique values.
Set To Dictionary ${valuemap} uuid=${uuid} hostid=${hostid} ecompnet=${ecompnet} generic_vnf_name=${generic_vnf_name} server_id=${server_id}