Modify hard-code when set a network config
Modify hard-code to global variable when set a network configuration.
Signed-off-by: Tony Lee <tony.lee@quantatw.com>
Change-Id: Ib7957b1156836b0e29585982d06f5b783bee4083
diff --git a/lib/resource.robot b/lib/resource.robot
index 76d1e7c..1018e60 100755
--- a/lib/resource.robot
+++ b/lib/resource.robot
@@ -90,6 +90,10 @@
${FIN_PACKETS} FIN
${SYN_ACK_RESET} SAR
${ALL_FLAGS} ALL
+# Used to set BMC static IPv4 configuration.
+${STATIC_IP} 10.10.10.10
+${NETMASK} 255.255.255.0
+${GATEWAY} 10.10.10.10
# BMC debug tarball parameter
${DEBUG_TARBALL_PATH} ${EMPTY}