[ovs-discuss] nw_proto not getting added in the flow
Jayanth Silesh
sileshsu at usc.edu
Thu Dec 5 23:13:01 UTC 2013
Hi All,
I have written a small pox as follows but in the OVS 2.0 it does not add the nw_proto in the flow table.
The pox code is as follows:
# Turn on Nicira packet_ins
msg = nx.nx_packet_in_format()
event.connection.send(msg)
# Turn on ability to specify table in flow_mods
msg = nx.nx_flow_mod_table_id()
event.connection.send(msg)
msg1 = nx.nx_flow_mod()
#msg1.match = nx.nx_match()
msg1.match.of_dl_type = pkt.ethernet.IP_TYPE
#msg1.match.nw_proto = pkt.ipv4.TCP_PROTOCOL
msg1.match.of_nw_proto = 6
msg1.actions.append(nx.nx_action_resubmit.resubmit_table(table = 1))
event.connection.send(msg1)
Thanks,
Jayanth
Graduate Student
USC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20131205/d3c92405/attachment.html>
More information about the discuss
mailing list