From b874ae839dcd19c13d10d84208cf75908ce70cf8 Mon Sep 17 00:00:00 2001 From: Minoru TAKAHASHI Date: Fri, 11 Sep 2015 10:19:43 +0900 Subject: doc/app/ofctl_rest: Add command examples for WRITE/CLEAR_ACTIONS Signed-off-by: Minoru TAKAHASHI Signed-off-by: FUJITA Tomonori --- doc/source/app/ofctl_rest.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/source/app/ofctl_rest.rst') diff --git a/doc/source/app/ofctl_rest.rst b/doc/source/app/ofctl_rest.rst index 6e90e619..93aa1184 100644 --- a/doc/source/app/ofctl_rest.rst +++ b/doc/source/app/ofctl_rest.rst @@ -1794,6 +1794,8 @@ Description of Actions on request messages GOTO_TABLE (Instruction) Setup the next table identified by "table_id" {"type": "GOTO_TABLE", "table_id": 8} WRITE_METADATA (Instruction) Setup the metadata field using "metadata" and "metadata_mask" {"type": "WRITE_METADATA", "metadata": 0x3, "metadata_mask": 0x3} METER (Instruction) Apply meter identified by "meter_id" {"type": "METER", "meter_id": 3} + WRITE_ACTIONS (Instruction) Write the action(s) onto the datapath action set {"type": "WRITE_ACTIONS", actions":[{"type":"POP_VLAN",},{ "type":"OUTPUT", "port": 2}]} + CLEAR_ACTIONS (Instruction) Clears all actions from the datapath action set {"type": "CLEAR_ACTIONS"} =============== ============================================================================ ================================================================== .. _example-of-set-field-action: -- cgit v1.2.3