Update skip list and fix test suite
Changes:
- Update skip list for extended.
- Rename suite name and add power on to boot host.
Change-Id: I61a9286a9d836f365efffd92c45a56c0e29cc7a3
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
new file mode 100644
index 0000000..ac0cb0c
--- /dev/null
+++ b/network/test_host_network_interfaces.robot
@@ -0,0 +1,31 @@
+*** Settings ***
+
+Documentation Verify that the OS network interfaces are configured and
+... stable.
+
+# TEST PARAMETERS:
+# OS_HOST The OS host name or IP address.
+# OS_USERNAME The OS user name.
+# OS_PASSWORD The OS Host password.
+# FAIL_ON_LINK_DOWN If set to 1, the test will exit if
+# a link is down. Default is 1.
+
+Resource ../syslib/utils_install.robot
+
+*** Variables ***
+${FAIL_ON_LINK_DOWN} 1
+
+
+*** Test Cases ***
+Verify Network Interfaces
+ [Documentation] Verify the states of all system interfaces.
+ [Tags] Verify_Network_Interfaces
+
+ Rprintn
+ REST Power On
+ @{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} is down.