Verification

As we have applied the action type "drop" , ping should fail.

mininet> h1 ping h3
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
From 10.0.0.1 icmp_seq=1 Destination Host Unreachable
From 10.0.0.1 icmp_seq=2 Destination Host Unreachable

In controller you can see the DROP action type information as below, here action as DROP. osgi> readflows 0000000000000003

[FlowOnNode[flow =Flow[match = Match [fields={DL_VLAN=DL_VLAN(0), IN_PORT=IN_PORT(OF|1@OF|00:00:00:00:00:00:00:03), DL_DST=DL_DST(4e:08:1d:a6:05:08), DL_SRC=DL_SRC(be:15:00:a4:96:13)}, matches=15], actions = [DROP], priority = 10, id = 0, idleTimeout = 0, hardTimeout = 300], tableId = 0, sec = 18, nsec = 475000000, pkt = 20, byte = 1232], FlowOnNode[flow =Flow[match = Match [fields={DL_VLAN=DL_VLAN(0), IN_PORT=IN_PORT(OF|3@OF|00:00:00:00:00:00:00:03), DL_DST=DL_DST(be:15:00:a4:96:13), DL_SRC=DL_SRC(4e:08:1d:a6:05:08)}, matches=15], actions = [OUTPUT[OF|1@OF|00:00:00:00:00:00:00:03]], priority = 10, id = 0, idleTimeout = 0, hardTimeout = 0], tableId = 0, sec = 18, nsec = 489000000, pkt = 10, byte = 812]]

loading table of contents...