summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2014-02-27 01:44:26 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-02-27 08:39:34 +0900
commit826c64a5cd49762d682157409aabc6a6343a788b (patch)
tree38b0a21f961c76c772ea6b1d94edac7f205deabb
parentbdb2c9639a3f3912ed6569735dccb2b775594391 (diff)
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>
-rw-r--r--ryu/ofproto/ofproto_v1_2_parser.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/ryu/ofproto/ofproto_v1_2_parser.py b/ryu/ofproto/ofproto_v1_2_parser.py
index 7e446176..08b3ae86 100644
--- a/ryu/ofproto/ofproto_v1_2_parser.py
+++ b/ryu/ofproto/ofproto_v1_2_parser.py
@@ -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