[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-discuss
Subject:    [ovs-discuss] flow identifier
From:       naman.g.muley () gmail ! com (Naman Muley)
Date:       2013-06-28 18:41:25
Message-ID: CAHUAMZ+KZsYb6=x5kpg+artxCk6GauYk83Q7R=6-sfv9qs0vww () mail ! gmail ! com
[Download RAW message or body]

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 <blp at 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 at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20130628/01136e2e/attachment.htm>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic