ofdpa_blog_header
ryu_controller_logoPostman_post_examplePostman_get_example

Ryu REST API Collection for Postman

Free!

Simplify adding routes to your OF-DPA 2.0 device by installing the OF-DPA Collection for Postman.  This collection will streamline highly used, repetitive actions and save you time.

Note: This is a digital download and a link will be provided after completing the checkout.  An email will be sent to your registered email address for future downloads.

OF-DPA Collections for Postman

Login for download
SKU: Collections 1.0 Tag:

Product Description

Simplify adding routes to your OF-DPA 2.0 device by installing the OF-DPA Collection for Postman.  This collection will streamline highly used, repetitive actions and save you time.

Note: This is a digital download, a link will be provided after completing the checkout and emailed to you for future downloads.

 

Reviews

There are no reviews yet.

Be the first to review “Ryu REST API Collection for Postman”


*

1. Download the Collection

01-download

2. Extract the Collection

Extract the ZIP file to get the .postman_collection file

02-extract

3. Import the Collection

Select the Collections tab and click the Import Collection button to the right of the tab.

03-import-collection

4. Choose Collection File

Click the “Choose Files” button and select the .postman_collection file extracted from the ZIP file.

04-select-collection

5. Close Import Window

After importing, Postman will report that the collection was added. Close this window.

05-after-import-close

6. Manage Environments

Select Manage Environments by clicking on the “No Environments” button on the top right of the window with the eye icon.

06-manage-env

7. Add New Environment

Click the “Add” button to create a new environment.

07-add-env

8. Add Environment Fields

Add two fields: host, and dpid. Fill out the value of the “host” key with the IP address and port of the REST interface provided by Ryu. If you are running Ryu locally, this will be ‘127.0.0.1:8080’. In this screenshot, Ryu is running on a different server. Leave the value for the “dpid” key blank for now. Click submit

08-add-fields-save

9. Select the Environment

Enable the environment by clicking the environments selection box (eye icon) in the top right and selecting the environment you just created.

09-select-env

10. Use Collection To Get Switch IDs (DPID)

Now that the collection is installed and an environment with host information was created, you can now ask Ryu what switches are connected. Open the “OF-DPA Ryu REST” collection if you haven’t already and select “Get switches”. Now click “Send”. The result should be a list of switch DPIDs connected to Ryu. You will need the DPID of the connected switch to use the rest of the collection.

10-get-switches

11. Enter DPID in the Environment

Click the environments selection again (eye icon) and select “Manage environments”. Select the new environment you created and enter the value for the “dpid” key that you retrieved in the last step. Click “Submit” and close the environments window.

11-add-dpid

12. Confirm By Getting Flows

Now that the environment is complete, the other API calls are now available. Confirm it is working by selecting “Get all flow stats” and clicking “Send”.

12-get-flows