Update robot codes with latest directives

Changes:
   - Non local variable is not uppercase
   - The assignment sign is not consistent within the file.
     Expected = but instead of blank spaces
   - 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: I08a142a18a9066abdd6494bcddc167122564fd17
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/network/test_host_network_interfaces.robot b/network/test_host_network_interfaces.robot
index 7321301..6d9e6c7 100644
--- a/network/test_host_network_interfaces.robot
+++ b/network/test_host_network_interfaces.robot
@@ -29,7 +29,8 @@
     @{interface_names}=  Get OS Network Interface Names
     FOR  ${interface_name}  IN  @{interface_names}
        ${ethtool_dict}=  Get OS Ethtool  ${interface_name}
-       Run Keyword If  ${FAIL_ON__LINK_DOWN} == 1
-       ...  Should Be Equal  ${ethtool_dict['link_detected']}  yes
-       ...  msg=Link ${interface_name} is down.
+       IF  ${FAIL_ON__LINK_DOWN} == 1
+           Should Be Equal  ${ethtool_dict['link_detected']}  yes
+           ...  msg=Link ${interface_name} is down.
+       END
     END