2 Documentation Deep icmp traffic inspection.
3 ... Nodes are located on different VMs in different subnets and are members of different EPGs.
6 Resource ../../../../../libraries/GBP/OpenFlowUtils.robot
7 Resource ../Variables.robot
8 Resource ../Connections.robot
10 Suite Setup Start Connections
11 Suite Teardown Close Connections
15 Ping from h36_5 to h35_2
16 [Documentation] Test icmp request.
19 ... client_ip=10.0.36.5
21 ... server_ip=10.0.35.2
25 Switch Connection GPSFC6_CONNECTION
26 Ping from Docker ${CLIENT_NAME} ${SERVER_IP}
28 Start Endless Ping from h36_5 to h35_2
29 [Documentation] Starting of endless pinging for traffic inspection.
30 Start Endless Ping from Docker ${CLIENT_NAME} ${SERVER_IP}
32 Find ICMP Req from h36_5 to h35_2 on GBPSFC6
33 [Documentation] Inspecting icmp req on GBPSFC6.
34 Switch Connection GPSFC6_CONNECTION
35 ${flow} Inspect Classifier Outbound
37 ... out_port=${VXLAN_PORT}
38 ... eth_type=${ETHER_TYPE}
39 ... inner_src_ip=${CLIENT_IP}
40 ... inner_dst_ip=${SERVER_IP}
41 ... next_hop_ip=${GBPSFC1}
44 Find ICMP Req from h36_5 to h35_2 on GBPSFC1
45 [Documentation] Inspecting icmp req on GBPSFC1.
46 Switch Connection GPSFC1_CONNECTION
47 Inspect Classifier Inbound
48 ... in_port=${VXLAN_PORT}
50 ... eth_type=${ETHER_TYPE}
51 ... inner_src_ip=${CLIENT_IP}
52 ... inner_dst_ip=${SERVER_IP}
53 ... outer_src_ip=${GBPSFC6}
54 ... outer_dst_ip=${GBPSFC1}
57 Find ICMP Resp from h35_2 to h36_5 on GBPSFC1
58 [Documentation] Inspecting icmp resp on GBPSFC1.
59 Switch Connection GPSFC1_CONNECTION
60 ${flow} Inspect Classifier Outbound
62 ... out_port=${VXLAN_PORT}
63 ... eth_type=${ETHER_TYPE}
64 ... inner_src_ip=${SERVER_IP}
65 ... inner_dst_ip=${CLIENT_IP}
66 ... next_hop_ip=${GBPSFC6}
69 Find ICMP Resp from h35_2 to h36_5 on GBPSFC6
70 [Documentation] Inspecting icmp resp on GBPSFC6.
71 Switch Connection GPSFC6_CONNECTION
72 Inspect Classifier Inbound
73 ... in_port=${VXLAN_PORT}
75 ... eth_type=${ETHER_TYPE}
76 ... inner_src_ip=${SERVER_IP}
77 ... inner_dst_ip=${CLIENT_IP}
78 ... outer_src_ip=${GBPSFC1}
79 ... outer_dst_ip=${GBPSFC6}
82 Stop Endless Ping from h36_5 to h35_2
83 [Documentation] Stoping of endless pinging after traffic inspection finishes.
84 Switch Connection GPSFC6_CONNECTION
85 Stop Endless Ping from Docker to Address ${CLIENT_NAME} ${SERVER_IP}