2 Documentation Deep icmp traffic inspection.
3 ... Nodes are located on the same VM in different subnets and are members of the same EPG.
5 Resource ../../../../../libraries/GBP/OpenFlowUtils.robot
6 Resource ../Variables.robot
7 Resource ../Connections.robot
8 Suite Setup Start Connections
9 Suite Teardown Close Connections
15 Ping Once from h35_2 to h36_2
16 [Documentation] Test icmp request.
17 Set Test Variables client_name=h35_2 client_ip=10.0.35.2 server_name=h36_2 server_ip=10.0.36.2
18 ... ether_type=0x0800 proto=1
19 Switch Connection GPSFC1_CONNECTION
20 Ping from Docker ${CLIENT_NAME} ${SERVER_IP}
22 Start Endless Ping from h35_2 to h36_2
23 [Documentation] Starting of endless pinging for traffic inspection.
24 Start Endless Ping from Docker ${CLIENT_NAME} ${SERVER_IP}
26 Find ICMP Req from h35_2 to h36_2 on GBPSFC6
27 [Documentation] Inspecting icmp req on GBPSFC1.
28 Switch Connection GPSFC1_CONNECTION
29 ${flow} Inspect Classifier Outbound in_port=4 out_port=6 eth_type=${ETHER_TYPE} inner_src_ip=${CLIENT_IP}
30 ... inner_dst_ip=${SERVER_IP} proto=${PROTO}
32 Find ICMP Resp from h36_2 to h35_2 on GBPSFC6
33 [Documentation] Inspecting icmp resp on GBPSFC1.
34 Switch Connection GPSFC1_CONNECTION
35 ${flow} Inspect Classifier Outbound in_port=6 out_port=4 eth_type=${ETHER_TYPE} inner_src_ip=${SERVER_IP}
36 ... inner_dst_ip=${CLIENT_IP} proto=${PROTO}
38 Stop Endless Ping from h35_2 to h36_2
39 [Documentation] Stoping of endless pinging after traffic inspection finishes.
40 Switch Connection GPSFC1_CONNECTION
41 Stop Endless Ping from Docker to Address ${CLIENT_NAME} ${SERVER_IP}