summaryrefslogtreecommitdiffhomepage
path: root/doc/source
diff options
context:
space:
mode:
authorYuichi Ito <ito.yuichi0@gmail.com>2013-12-27 10:56:56 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-12-27 15:24:19 +0900
commit8597df8a00efe120850c02e86d959aee2ce89bd1 (patch)
tree469d5bb9d87ffb3513360e7fb3de3f1e5d05bc4b /doc/source
parent988475f503fb8c65099d1718c6f4e4aebcbb4a57 (diff)
ofctl_v1_2/3: support OXM field names
this patch gets match field names to support OXM field names. NOTE: OpenFlow1.0 does not support OXM field names. the compatibility is as follows: dl_src eth_src dl_dst eth_dst dl_type eth_type dl_vlan vlan_vid nw_src ipv4_src nw_dst ipv4_dst nw_proto ip_proto tp_src tcp_src or udp_src tp_dst tcp_dst or udp_dst for example, the following commands for ofctl_rest install the same flow entry. curl -X POST -d '{"dpid": 1, "match": {"dl_type": 2048, "nw_src": "192.168.1.1"}, "actions": [{"type": "OUTPUT", "port": 2}]}' http://localhost:8080/stats/flowentry/add curl -X POST -d '{"dpid": 1, "match": {"eth_type": 2048, "ipv4_src": 192.168.1.1"}, "actions": [{"type": "OUTPUT", "port": 2}]}' http://localhost:8080/stats/flowentry/add Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com>
Diffstat (limited to 'doc/source')
0 files changed, 0 insertions, 0 deletions