SD-WAN

 View Only
  • 1.  REST API to create flow with action "enqueue" for QoS.

    Posted Oct 29, 2013 02:41 AM

    We have seen REST APIs for metering support.
    But to achive this in openflow spec v1.0, we are looking for flow creation with enqueue action.

    We could not find a REST API that can support enqueue action. Is this option supported?

     

    Thanks in advance.



  • 2.  RE: REST API to create flow with action "enqueue" for QoS.

    Posted Oct 31, 2013 04:19 PM

    Check out the "Flow creation via REST API" post

     

    This will show you how to get the JSON schema.

    There you should see that "enqueue" can be used as an action when creating a flow.

     

    Hope this helps. 

     

    -- Dave



  • 3.  RE: REST API to create flow with action "enqueue" for QoS.

    Posted Nov 07, 2013 08:15 AM
      |   view attached

    Thanks Dave.

     

    I had doubt on my controller version, so I have upgraded to 2.0.0. But still, I am seeing the same issue with "enqueue" action.

    Please see the screenshot for the reported issue.

     

     



  • 4.  RE: REST API to create flow with action "enqueue" for QoS.

    Posted Nov 07, 2013 10:06 AM

    I just had a quick look at the OpenFlow spec.... (see links below)

    The "set-queue" action doesn't appear to be a valid action in 1.0 (but it is in 1.3).

    It appears HP's OpenFlow library does some magic mapping between "set_queue" and "enqueue" and this might be where the error comes from...

     

    Could you try using "enqueue" for now to see if this works?

     

    Let me know how you get on!

     

    Resources:

     

    OpenFlow spec 1.0

    OpenFlow spec 1.3



  • 5.  RE: REST API to create flow with action "enqueue" for QoS.

    Posted Nov 07, 2013 10:30 PM
      |   view attached

     

    Yes Dave. "enqueue" action is mentioned in the 1.0 and our application currently support 1.0. We tried using "enqueue" action, but it appears that action enum type as "ENQUEUE" is not defined.(see the attached screenshot)

     

    Whereas, it seems "set_queue" action was accpeted as valid enum. But it throws a different error. (as shown in previous screenshot).

     

     

    Thanks

    Sudeep



  • 6.  RE: REST API to create flow with action "enqueue" for QoS.

    Posted Dec 01, 2013 08:20 PM

    Maybe the vlan priority can help to put the traffic in the right queue.

     

    so:

    {"instructions":[{"apply_actions":[{"set_field":{"vlan_pcp":2}},{"output":4}]}]}



  • 7.  RE: REST API to create flow with action "enqueue" for QoS.

    Posted Dec 01, 2013 08:37 PM
    with OF 1.3 and above you can also use rate limiters. I need to dig into this part how to use it.