Deployment Guide

93
Here group_delete.json is a JSON file contains data of group id and dpid
3) In the same way, we can change the HTTP method and URL based on our requirement, please check the list of services
available from RYU controller, but below are some Examples
# To get meters stats of the switch
# GET /stats/meter/<dpid>
# To get group features stats of the switch
# GET /stats/groupfeatures/<dpid>
# To get groups desc stats of the switch
# GET /stats/groupdesc/<dpid>
# To get groups stats of the switch
# GET /stats/group/<dpid>
# To get ports description of the switch
# GET /stats/portdesc/<dpid>
# To modify all matching flow entries
# POST /stats/flowentry/modify
# To modify flow entry strictly matching wildcards and priority
# POST /stats/flowentry/modify_strict
# To delete flow entry strictly matching wildcards and priority
# POST /stats/flowentry/delete_strict
# To delete all flow entries of the switch
# DELETE /stats/flowentry/clear/<dpid>
# To add a meter entry
# POST /stats/meterentry/add
# To modify a meter entry
# POST /stats/meterentry/modify
# To delete a meter entry
# POST /stats/meterentry/delete
# To modify a group entry
# POST /stats/groupentry/modify
# To modify behavior of the physical port
# POST /stats/portdesc/modify
# To send a experimeter message
# POST /stats/experimenter/<dpid>
3. Where within the Ryu directory structure to find the REST API script
Navigate to ryu/app folder and find “ofctl_rest.py” which has the logic to parse the input and translate it to an
openflow packet via the controller and send it to the agent.