RESTCONF + OpenFlow packet-out operations

asked 2016-01-19 07:51:28 -0700

bikingviking gravatar image

updated 2016-01-19 07:51:46 -0700

I'm trying to use RESTCONF to send an OpenFlow packet-out operation. The apidoc indicates I can do this with the following POST request:

http://{controller-host}:8181/restconf/operations/openflow-protocol:packet-out

However the docs do not explain how to structure my request data. The operation requires a few parameters such as "data", "buffer-id", "in-port", and I have no idea how to bundle these into a JSON or XML object to send along with my request.

Can anybody point me to a reference that explains how to do this? I've searched far and wide and can't find a decent resource.

edit retag flag offensive close merge delete