《1300-OpenFlow Representation of Encapsulation Metadata (Scott Mann and Madhu Challa》.pptx

《1300-OpenFlow Representation of Encapsulation Metadata (Scott Mann and Madhu Challa》.pptx

  1. 1、本文档共13页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
OpenFlow Representation of Encapsulation Metadata001515161624273131oxm_classoption classtypeoxm_fieldVariable length data (max 124 bytes) vendor id / experimenter idMapping Geneve Option to an OXM2223HMoxm_lengthvariable length payload (max 127 bytes) 23Rlengthoxm_class = 0xffff (experimenter oxm) oxm_field = ONFOXM_ET_TUN_METADATA.oxm_length includes experimenter id, so max length when HM = 1 is (255 – 4) / 2 = 125 However if MSB of experimenter id is non-zero, max length when HM = 1 is (255 - 1) / 2=127Encode Geneve Length into oxm_length and handle one Geneve option per oxm.This makes a Geneve option (128 – 1) = 127 bytes and would fit the OXM.Other alternatives Can we get oxm_classes for Geneve option class registry ?Reduce Geneve type space from 8 to 7 bits ?OVS infrastructure changesWe start with a short demo and code flow to highlight the changes.Our tunnel configurationroot@noiro-ucs06:~/demo-scripts# ovs-vsctl showcf02d4b4-d5d7-4c63-a823-880e135328df Bridge br0 Port br0 Interface br0 type: internal Port vmtap100 Interface vmtap100 Port geneve Interface geneve type: geneve options: {remote_ip=flow}Demo ovs-ofctl -OOpenFlow13 add-flow br0 in_port=1, tun_id=0x32, tun_src=12.1.1.1 tun_metadata=ab1234cddeadbeefab1234cddeadbeef/ffff00ff, actions=output:2”We need to be able to support multiple of tun_metadata= matches and set actions in a single flow mod.Each tun_metadata= option maps to a single OXM of variable length.The value itself is transparent to the infra code except for some validations.root@noiro-ucs06:~/ovs-geneve# ovs-appctl ofproto/trace br0 recirc_id(0),tun_id=0x32,tun_src=12.1.1.1,tun_dst=12.1.1.6,tun_metadata=ab1234cddeadbeefab12,in_port(1)Bridge: br0Flow: tun_src=12.1.1.1,tun_dst=12.1.1.6,tun_tos=0,tun_ttl=0,,in_port=1,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=00:00:00:00:00:00,dl_type=0x0000Rule: table=0 cookie=0 tun_id=0x32,tun_src=12.1.1.1,tun_metadata=ab12xxcd/ffff00ff,in_port=1OpenFlow actions=output:2Final flow: tun_src=12.1.1.1,tun_

文档评论(0)

ghfa + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档