我已經儘全力了,最右邊還是很大一格,不會自己換行,大家可以用複製的,就可以看到完整的語法了。
Index | Field | Ryu Rest API 語法 |
20 | OXM_OF_ICMPV4_TYPE |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"32766","match":{"eth_type":2048,"ip_proto":1,"icmpv4_type":1}, "actions":[{"type":"OUTPUT","port":2}]}' http://127.0.0.1:8080/stats/flowentry/add |
21 | OXM_OF_ICMPV4_CODE |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"62766","match":{"eth_type":2048,"ip_proto":1,"icmpv4_code":1}, "actions":[{"type":"OUTPUT","port":30}]}' http://127.0.0.1:8080/stats/flowentry/add |
22 | OXM_OF_ARP_OP |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"22766","match":{"eth_type":0x0806,"arp_op":1}, "actions":[{"type":"OUTPUT","port":30}]}' http://127.0.0.1:8080/stats/flowentry/add |
23 | OXM_OF_ARP_SPA |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"32766","match":{"eth_type":0x0806,"arp_spa":"224.1.1.1"}, "actions":[{"type":"OUTPUT","port":1}]}' http://127.0.0.1:8080/stats/flowentry/add |
24 | OXM_OF_ARP_TPA |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"32766","match":{"eth_type":0x0806,"arp_tpa":"224.1.1.1"}, "actions":[{"type":"OUTPUT","port":1}]}' http://127.0.0.1:8080/stats/flowentry/add |
25 | OXM_OF_ARP_SHA |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"22766","match":{"eth_type":0x0806,"arp_sha":"33:44:55:66:77:88"}, "actions":[{"type":"OUTPUT","port":30}]}' http://127.0.0.1:8080/stats/flowentry/add |
26 | OXM_OF_ARP_THA |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"22766","match":{"eth_type":0x0806,"arp_tha":"AA:44:55:66:77:88"}, "actions":[{"type":"OUTPUT","port":30}]}' http://127.0.0.1:8080/stats/flowentry/add |
27 | OXM_OF_IPV6_SRC |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"32766","match":{"eth_type":0x86dd,"ipv6_src":"ff01::1"}, "actions":[{"type":"OUTPUT","port":1}]}' http://127.0.0.1:8080/stats/flowentry/add |
28 | OXM_OF_IPV6_DST |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"32766","match":{"eth_type":0x86dd,"ipv6_dst":"ff01::1"}, "actions":[{"type":"OUTPUT","port":1}]}' http://127.0.0.1:8080/stats/flowentry/add |
29 | OXM_OF_IPV6_FLABEL |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"22766","match":{"eth_type":0x86dd,"ipv6_flabel":88}, "actions":[{"type":"OUTPUT","port":30}]}' http://127.0.0.1:8080/stats/flowentry/add |
30 | OXM_OF_ICMPV6_TYPE |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"22766","match":{"eth_type":0x86dd,"ip_proto":58,"icmpv6_type":1}, "actions":[{"type":"OUTPUT","port":30}]}' http://127.0.0.1:8080/stats/flowentry/add |
31 | OXM_OF_ICMPV6_CODE |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"22766","match":{"eth_type":0x86dd,"ip_proto":58,"icmpv6_code":78}, "actions":[{"type":"OUTPUT","port":30}]}' http://127.0.0.1:8080/stats/flowentry/add |
32 | OXM_OF_IPV6_ND_TARGET |
N/A |
33 | OXM_OF_IPV6_ND_SLL |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"22766","match":{"eth_type":0x86dd,"ip_proto":58,"icmpv6_type":135,"ipv6_nd_sll":"33:44:66:55:87:87"}, "actions":[{"type":"OUTPUT","port":30}]}' http://127.0.0.1:8080/stats/flowentry/add |
34 | OXM_OF_IPV6_ND_TLL |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"22766","match":{"eth_type":0x86dd,"ip_proto":58,"icmpv6_type":136,"ipv6_nd_tll":"33:44:66:55:87:87"}, "actions":[{"type":"OUTPUT","port":30}]}' http://127.0.0.1:8080/stats/flowentry/add |
35 | OXM_OF_MPLS_LABEL |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"32766","match":{"eth_type":0x8847,"mpls_label":38}, "actions":[{"type":"OUTPUT","port":1}]}' http://127.0.0.1:8080/stats/flowentry/add |
36 | OXM_OF_MPLS_TC |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"22766","match":{"eth_type":0x8847, "mpls_tc":1}, "actions":[{"type":"OUTPUT","port":30}]}' http://127.0.0.1:8080/stats/flowentry/add |
37 | OXM_OF_MPLS_BOS |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"22766","match":{"eth_type":0x8847, "mpls_bos":0}, "actions":[{"type":"OUTPUT","port":30}]}' http://127.0.0.1:8080/stats/flowentry/add |
38 | OXM_OF_PBB_ISID | N/A |
39 | OXM_OF_TUNNEL_ID |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"22766","match":{"tunnel_id":1234567890}, "actions":[{"type":"OUTPUT","port":30}]}' http://127.0.0.1:8080/stats/flowentry/add |
40 | OXM_OF_IPV6_EXTHDR | N/A |
留言列表