SD-WAN

 View Only
Expand all | Collapse all

Create a new Flow on the OF-SW(1.3) by using RDdoc "POST, /of/datapaths/{dpid}/flows"

This thread has been viewed 0 times
  • 1.  Create a new Flow on the OF-SW(1.3) by using RDdoc "POST, /of/datapaths/{dpid}/flows"

    Posted Oct 31, 2013 03:23 AM

    Hi, Expert

     

    Please let me know the "JSON string" for both "MAC-IP" and "Extensibility" flow-tables.
    - I'm using the OF-SW which is version 1.3.
    - I already referred to topic:"Flow creation via REST API" in this page.
    - I also could not login to https://genesis.americas.hpqcorp.net/

    - I would like to also create Flow using "Mask".

     

    Please let me know the JSON string which inputs into the "flowJson" field of RSdoc. Thank you.

     

    Shigeru Sakuma

     



  • 2.  RE: Create a new Flow on the OF-SW(1.3) by using RDdoc "POST, /of/datapaths/{dpid}/flows"

    Posted Oct 31, 2013 04:29 PM

    Firstly, the "Flow creation via REST API" post is the right place to start.

    This will give you the JSON schema used to create flows.

    Note: Don't worry about not accessing the genesis.americas.hpqcorp.net website - that's HP internal only.

     

    To post to the MAC-IP and Extensibility tables will require knowledge of the OpenFlow implementation in your switch.

    The "table_id" will specify which table the flow will be installed in.

    You will need to be mindful of the Match/Actions supported in each table to make sure the flow is successfully installed.

     

    Hope this helps

     

    -- Dave