diff options
author | Minoru TAKAHASHI <takahashi.minoru7@gmail.com> | 2015-09-11 10:19:43 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-09-15 17:01:54 +0900 |
commit | b874ae839dcd19c13d10d84208cf75908ce70cf8 (patch) | |
tree | 4df362f43717abcd9827f99f8b776bd534fb26d1 /doc/source | |
parent | 992bf7318d06090cc96a21521dbeba62f148d079 (diff) |
doc/app/ofctl_rest: Add command examples for WRITE/CLEAR_ACTIONS
Signed-off-by: Minoru TAKAHASHI <takahashi.minoru7@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/app/ofctl_rest.rst | 2 |
1 files changed, 2 insertions, 0 deletions
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: |