diff options
author | YAMAMOTO Takashi <yamamoto@valinux.co.jp> | 2013-08-14 14:06:27 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-08-15 11:09:19 +0900 |
commit | de438db0807c4e2be71baaac62d1ede8ff917218 (patch) | |
tree | 52bfce3947c0b44b0d35bbf52a72084dbe10d50f /doc/source/getting_started.rst | |
parent | ed4f74653dcd807bca452ab6732d483a100a4f46 (diff) |
of13: change OFPActionSetField api, following the recent OFPMatch api
old api:
OFPActionSetField(MTInPort(OXM_OF_IN_PORT, 1))
new api:
OFPActionSetField(in_port=1)
and make the json representation similar to OFPMatch as well.
an example:
"OFPActionSetField": {
"field": {
"OXMTlv": {
"field": "vlan_vid",
"mask": null,
"value": 258
}
}
}
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'doc/source/getting_started.rst')
0 files changed, 0 insertions, 0 deletions