Keyword and test case to send network packets with flags
Changes:
Added code to flood SYN packets and verify Redfish port stability to SYN flood attack
Added code to flood FIN packets and verify Redfish port stability to FIN flood attack
Added code to flood RST packets and verify Redfish port stability to RST flood attack
Signed-off-by: Prashanth Katti <prkatti1@in.ibm.com>
Change-Id: I34223ace3a68d289831e6a8b147b22251465b791
diff --git a/lib/resource.robot b/lib/resource.robot
index 3113fa9..a758074 100755
--- a/lib/resource.robot
+++ b/lib/resource.robot
@@ -82,6 +82,11 @@
${TCP_PACKETS} tcp
${ICMP_NETMASK_REQUEST} 17
${REDFISH_INTERFACE} 443
+${SYN_PACKETS} SYN
+${RESET_PACKETS} RST
+${FIN_PACKETS} FIN
+${SYN_ACK_RESET} SAR
+${ALL_FLAGS} ALL
# BMC debug tarball parameter
${DEBUG_TARBALL_PATH} ${EMPTY}