一直以來都很想擁有一隻工程筆,可是它實在是太貴了。BUT 最近在書局找到一隻20元以內的類●工程筆 Tempo MP-250,覺得還不錯。
筆身可以轉轉轉,紀錄現在用的筆心是哪種型號的
一直以來都很想擁有一隻工程筆,可是它實在是太貴了。BUT 最近在書局找到一隻20元以內的類●工程筆 Tempo MP-250,覺得還不錯。
筆身可以轉轉轉,紀錄現在用的筆心是哪種型號的
影片中的LCD螢幕和WII的左手搖桿都是利用I2C介面控制的,
這裡一樣是參考Cooper Maa大大的文章,
WII nunchuck: http://coopermaa2nd.blogspot.tw/2012/08/wii-nunchuk-arduino.html
我已經儘全力了,最右邊還是很大一格,不會自己換行,大家可以用複製的,就可以看到完整的語法了。
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 |
Index | Field | Ryu Rest API 語法 |
1 | OXM_OF_IN_PORT | ~# curl -X POST -d '{"dpid":"0000000000000001", "priority":"32766","match":{"in_port":2}, "actions":[{"type":"OUTPUT","port":1}]}' http://127.0.0.1:8080/stats/flowentry/add |
2 | OXM_OF_IN_PHY_PORT | N/A |
3 | OXM_OF_METADATA |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"32766","match":{"metadata":"1234567890"}, "actions":[{"type":"OUTPUT","port":1}]}' http://127.0.0.1:8080/stats/flowentry/add |
4 | OXM_OF_ETH_DST |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"32766","match":{"eth_dst":"00:11:22:33:44:55"}, "actions":[{"type":"OUTPUT","port":1}]}' http://127.0.0.1:8080/stats/flowentry/add |
5 | OXM_OF_ETH_SRC |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"32766","match":{"eth_src":"00:11:22:33:44:55"}, "actions":[{"type":"OUTPUT","port":1}]}' http://127.0.0.1:8080/stats/flowentry/add |
6 | OXM_OF_ETH_TYPE |
curl -X POST -d '{"dpid":"0000000000000001", "priority":"32766","match":{"eth_type":0x86dd}, "actions":[{"type":"OUTPUT","port":1}]}' http://127.0.0.1:8080/stats/flowentry/add |
在OpenFlow的Spec.裡,常會提到一些縮寫字,但是並沒有一個名詞解釋的總表,所以我自己作了一點,提供給大家作參考
Name | Type |
OFPFC_* | OpenFlow Protocol Flow Control |
OFPPC_* | OpenFlow Protocol Port (role) Control |
OFPET_* | OpenFlow Protocol Error Type |
OFPBMC_* | OpenFlow Protocol Bad Match Code |
OFPBAC_* | OpenFlow Protocol Bad Action Code |
OFPFMC_* | OpenFlow Protocol Flow Modification Code |
OFPGC_* | OpenFlow Protocol Group Command |
OFPPS_* | OpenFlow Protocol Port Status |
OFPPC_* | OpenFlow Protocol Port Config |
OFPMC_* | OpenFlow Protocol Meter Command |
OFPGMFC_* | OpenFlow Protocol Group Modification Failed Code |
OFPMMFC_* | OpenFlow Protocol Meter Modification Failed Code |
OFPT_* | OpenFlow Protocol Type |
OFPP_* | OpenFlow Protocol Port |
OFPPF_ | OpenFlow Protocol Port Feature |
OFPQT_* | OpenFlow Protocol Queue Property(??) |
OFPQ_* | OpenFlow Protocol Queue (??) |
OFPXMC_* | OpenFlow Protocol Extensible Match ClassID |
OFPXMT_OFB_* | OpenFlow Protocol Extensible Match Type_ OpenFlow Basic |
OFPIEH_* | OpenFlow Protocol IPv6 Extension Header |
OFPIT_* | OpenFlow Protocol Insturction Type |
OFPAT_* | OpenFlow Protocol Action Type |
OFPCML_* | OpenFlow Protocol Controller Maximum Length |
OFPC_* | OpenFlow Protocol Capacity |
OFPTT_* | OpenFlow Protocol Table Type |
OFPFF_* | OpenFlow Protocol Flow Flag |
OFPMF_* | OpenFlow Protocol Meter Flag |
OFPMBT_* | OpenFlow Protocol Meter Band Type |
OFPBRC_* | OpenFlow Protocol Bad Request Code |
OFPMP_* | OpenFlow Protocol MultiPart |
OFPTFPT_* | OpenFlow Protocol Table Feature Property Type |
OFPR_* | OpenFlow Protocol Reason (ofp_packet_in_reason) |
OFPPR_* | OpenFlow Protocol Port Reason (ofp_port_reason) |
OFPRR_* | OpenFlow Protocol Flow Remove Reason |