diff options
author | YAMAMOTO Takashi <yamamoto@valinux.co.jp> | 2013-08-14 14:06:23 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-08-15 11:09:18 +0900 |
commit | af8aca25e97ff27d21b8ae11a04295670deb53a6 (patch) | |
tree | 0772307a71024d67c60122974b5618203f17e88c /doc/source | |
parent | 54caa78e5904b6165546005602800e811c246ed3 (diff) |
of12: 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')
0 files changed, 0 insertions, 0 deletions