[ovs-discuss] Resending request for a new API between controller and switch

Ben Pfaff blp at nicira.com
Tue Jan 6 16:52:36 UTC 2015


On Mon, Jan 05, 2015 at 11:24:26PM -0800, Ashok Chippa wrote:
> Could someone please let me know if my request can be accomodated...
> 
> I have asked a few times for this before, but I'll ask again:
> 
> Basically, I need a new ofp_type support... something like
> OFPT_GET_FLOWID_REQUEST and OFPT_GET_FLOWID_RESPONSE.
> 
> Looking for an API, that given certain match parameters in an ofp_type
> OFPT_GET_FLOWID_REQUEST message, returns a FLOWID (or cookie)... in the
> OFPT_GET_FLOWID_RESPONSE message.
> 
> Basically take that part of the "ovs-ofctl add-flow <bridge-name>
> <flow>"... code that determines the flow_id and use it to implement the
> above API. In this API the flow comes from the OFPT_GET_FLOWID_REQUEST
> instead of the "ovs-ofctl add-flow..." CLI...
> 
> Please someone let me know if this can be added.. or if I should add it...
> If later, could someone kindly guide me to where supoprt for "ovs-ofctl
> add-flow..." resides...

I've seen your request each time, and still don't understand what you
need or why you need it.  It doesn't make any sense.  OVS doesn't have
anything called a "flow_id", and so your description that the new request
would generate a flow_id from a flow cannot be implemented.



More information about the discuss mailing list