[SEBA-279] More ATT workflow test scenarios
Change-Id: I077259f02f271217437977cc7806a342c90e6fc3
diff --git a/src/test/cord-api/Framework/DHCP.robot b/src/test/cord-api/Framework/DHCP.robot
index 67525e6..979048e 100644
--- a/src/test/cord-api/Framework/DHCP.robot
+++ b/src/test/cord-api/Framework/DHCP.robot
@@ -43,8 +43,9 @@
SSHLibrary.Close Connection
[Return] ${result}
-IPv4 Address Assigned to DHCP Client
- [Arguments] ${ip} ${user} ${pass} ${iface}
+Check IPv4 Address on DHCP Client
+ [Arguments] ${ip_should_exist} ${ip} ${user} ${pass} ${iface}
[Documentation] Check if the sepcified interface has an IPv4 address assigned
${output}= Run Command On Remote System ${ip} ifconfig ${iface} ${user} ${pass}
- Should Match Regexp ${output} \\b([0-9]{1,3}\\.){3}[0-9]{1,3}\\b
+ Run Keyword If '${ip_should_exist}' == 'True' Should Match Regexp ${output} \\b([0-9]{1,3}\\.){3}[0-9]{1,3}\\b
+ Run Keyword If '${ip_should_exist}' == 'False' Should Not Match Regexp ${output} \\b([0-9]{1,3}\\.){3}[0-9]{1,3}\\b