openflow1.0消息格式总结

openflow1.0消息格式总结

ID:40489561

大小:818.44 KB

页数:21页

时间:2019-08-03

openflow1.0消息格式总结_第1页
openflow1.0消息格式总结_第2页
openflow1.0消息格式总结_第3页
openflow1.0消息格式总结_第4页
openflow1.0消息格式总结_第5页
资源描述:

《openflow1.0消息格式总结》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、OpenFlow1.0消息格式总结—NEU_张旭OpenFlow1.0消息格式总结:ControllerOpenvswitchOFPT_HELLOOFPT_HELLOOFPT_ERROROFPT_ERROROFPT_ECHO_REQUESTOFPT_ECHO_REPLYOFPT_VENDOROFPT_VENDOROFPT_FEATURES_REQUESTOFPT_FEATURES_REPLYOFPT_GET_CONFIG_REQUESTOFPT_GET_CONFIG_REPLYOFPT_SET_CONFIGOFPT_PACKET_OUTOP

2、PT_FLOW_MODOFPT_PORT_MODOFPT_PACKET_INOFPT_FLOW_REMOVEDOFPT_PORT_STATUSOFPT_STATS_REQUESTOFPT_STATS_REPLYOFPT_QUEUE_GET_CONFIG_REQUESTOFPT_QUEUE_GET_CONFIG_REPLYOFPT_BARRIER_REQUESTOFPT_BARRIER_REPLYofp_header1、OFPT_FEATURES_REQUEST(8B)消息格式versiontypelengthxiduint8_tversio

3、n:OFP_VERSIONuint8_ttype:OneoftheOFPT_constantsuint16_tlength:Lengthincludingthisofp_headeruint32_txid:Transactionidassociatedwiththispacket.Repliesusethesameidaswasintherequesttofacilitatepairing2、OFPT_FEATURES_REPLY(32B)=ofp_switch_featuresversiontypeofp_headerlengthxidd

4、atapath_idn_buffersn_tablespad0pad1pad2capabilitiesactionsport_noofp_phy_porthw_addrnameconfigstatecurradvertisedsupportedpeeruint64_tdatapath_id:DatapathuniqueID.Thelower48-bitsareforaMACaddress,whiletheupper16-bitsareimplementer-defineduint32_tn_buffers:Maxpacketsbuffere

5、datonceuint8_tn_tables:Numberoftablessupportedbydatapathuint32_tcapabilities:Bitmapofsupportofp_capabilitiesuint32_tactions:Bitmapofsupportedofp_action_typeuint16_tport_no:标明绑定到物理接口的datapath值uint8_thw_addr[6]:该物理接口的mac地址charname[16]:该接口的名称字符串Null-terminateduint32_tconfig:B

6、itmapofOFPPC_*flagsuint32_tstate:BitmapofOFPPS_*flagsuint32_tcurr:Currentfeaturesuint32_tadvertised:Featuresbeingadvertisedbytheportuint32_tsupported:Featuressupportedbytheportuint32_tpeer:Featuresadvertisedbypeer3、OFPT_GET_CONFIG_REQUEST(8B)versiontypeofp_headerlengthxid4

7、、OFPT_SET_CONFIG(12B)=ofp_switch_configOFPT_GET_CONFIG_REPLY(12B)versiontypeofp_headerlengthxidflagsmiss_send_lenuint16_tflags:OFPC_*flagsuint16_tmiss_send_len:Maxbytesofnewflowthatdatapathshouldsendtothecontroller5、OFPT_PACKET_OUT(16B)versiontypeofp_headerlengthxidbuffer_

8、idin_portactions_lentypeofp_action_headerlenpad0pad1pad2pad3data[0]uint32_tbuffer_id:IDas

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。