I am creating the ryu app to push and pop mpls labels. Here is the flow entries at ovs (version 2.3.1) switch s1:
root@ubuntu:~# sudo ovs-ofctl -O OpenFlow14 dump-flows s1
OFPST_FLOW reply (OF1.4) (xid=0x2):
cookie=0x0, duration=190.991s, table=0, n_packets=123, n_bytes=21852, priority=0 actions=CONTROLLER:65535
cookie=0x0, duration=190.991s, table=0, n_packets=0, n_bytes=0, priority=10,mpls,in_port=2,mpls_label=80 actions=pop_mpls:0x0800,output:1
cookie=0x0, duration=190.991s, table=0, n_packets=152, n_bytes=14896, priority=10,ip,in_port=1 actions=push_mpls:0x8847,set_field:80->mpls_label,output:2
Anyone knows why Packets are not forwarded even the flow entry is matched. cause if i open the wireshark and see s1-eth2 to check for mpls headers then no packet with mpls header or ethertype = 0x8847 is detected.
Only packets i see at s1-eth2 are ICMPv6(router solicitation message) ,DHCP and MDNS. any of them aren't related to ping i am sending from host 1 to h2. My topology : h1-s1-s2-h2
Do my code has bugs or it is the bug in ovs or openflow_v1.4 ryu?
Thanks.