mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-10 14:56:11 +02:00
ofproto_v1_2_parser: update OFPActionSetField docstring
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
bdb2c9639a
commit
826c64a5cd
@ -1447,11 +1447,11 @@ class OFPActionSetField(OFPAction):
|
||||
|
||||
This action modifies a header field in the packet.
|
||||
|
||||
================ ======================================================
|
||||
Attribute Description
|
||||
================ ======================================================
|
||||
field Instance of ``OFPMatchField``
|
||||
================ ======================================================
|
||||
The set of keywords available for this is same as OFPMatch.
|
||||
|
||||
Example::
|
||||
|
||||
set_field = OFPActionSetField(eth_src="00:00:00:00:00")
|
||||
"""
|
||||
def __init__(self, field=None, **kwargs):
|
||||
# old api
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user