Hello Gents,

By default ofctl_rest.py is using "apply actions" which is optional in
OF1.3 spec. How to define "write_actions" instruction for JSON in
structure? According ryu documentation, json should look like:
....
   "table_id": 0,
    "idle_timeout": 0,
    "hard_timeout": 0,
    "priority": 0,
    "flags": 0,
    "type":"WRITE_ACTIONS",
    "actions":[
        {
            "type":"OUTPUT",
            "port":1
        }
    ]
...
After I launch the structure in postman, the OF packet has "apply_action"
instruction
Type: OFPIT_APPLY_ACTIONS (4)

version: ryu-manager 3.28

Thank you in advance

WBR,
 Stas
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to