BMC IPv6 Utils Library robot code with latest directives
Changes:
- Run KeyWord If is deprecated since Robot
Framework version 5.*, use 'IF' instead
Tested:
- Checked using robot dry-run to make sure the
syntax is not broken
Change-Id: I0bba84f07b77472f43b6dab5dada2b43362a3429
Signed-off-by: Murali Devarapu <devarapu.murali@ibm.com>
diff --git a/lib/bmc_ipv6_utils.robot b/lib/bmc_ipv6_utils.robot
index be26b4b..8e27824 100644
--- a/lib/bmc_ipv6_utils.robot
+++ b/lib/bmc_ipv6_utils.robot
@@ -64,11 +64,11 @@
# If gateway IP is empty it will not have route entry.
- Run Keyword If '${gateway_ip}' == '0:0:0:0:0:0:0:0'
- ... Pass Execution Gateway IP is not configured.
- ... ELSE
- ... Should Contain ${route_info} ${gateway_ip}
- ... msg=Gateway IP address not matching
+ IF '${gateway_ip}' == '0:0:0:0:0:0:0:0'
+ Pass Execution Gateway IP is not configured.
+ ELSE
+ Should Contain ${route_info} ${gateway_ip} msg=Gateway IP address not matching.
+ END
Get BMC IPv6 Route Info