msg=of.ofp_flow_mod() msg.cookie=COOKIENUMBER connection.send(msg) you'll have to take care of controller specific wrappings. here's the link for pox: https://openflow.stanford.edu/display/ONL/POX+Wiki#POXWiki-ofpflowmod-Flowtablemodification
Naman On Fri, Jun 28, 2013 at 6:24 PM, Ben Pfaff <b...@nicira.com> wrote: > On Fri, Jun 28, 2013 at 11:22:19AM -0700, vis reddy wrote: > > Can I use the cookie-id to identify a flow? I believe that if the > > controller is assigning this value can I use this to identify a > > flow, instead of using matching conditions and priority if so do the > > openvswitch code support flow look up by cookie-id? Thanks Vishnu > > If the controller uses cookies as identifiers, then you can do it too. > Open vSwitch has full OpenFlow protocol support for cookies. > _______________________________________________ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss