summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2014-02-27 01:44:28 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-02-27 08:39:32 +0900
commitbdb2c9639a3f3912ed6569735dccb2b775594391 (patch)
tree1344fc5b4be1bf8293d17563c7dd0c98b8a5ae1a
parent5800214d162b6df13d94978ebf6dacb93347cc66 (diff)
ofproto_v1_4_parser: update OFPActionSetField docstring
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/ofproto/ofproto_v1_4_parser.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/ryu/ofproto/ofproto_v1_4_parser.py b/ryu/ofproto/ofproto_v1_4_parser.py
index 1a606784..88433555 100644
--- a/ryu/ofproto/ofproto_v1_4_parser.py
+++ b/ryu/ofproto/ofproto_v1_4_parser.py
@@ -4814,11 +4814,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):
super(OFPActionSetField, self).__init__()