Software Defined Networking
1827692 Members
3251 Online
109967 Solutions
New Discussion

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

 
sakutt20q
Occasional Visitor

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

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

 

1 REPLY 1
dave_tucker
Advisor

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

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

 

 

 

Technical Marketing Engineer @ HP and self-proclaimed SDN ninja. Words are my own...