Openvswtich实验教程

所需积分/C币:42 2015-09-22 16:41:19 6.25MB PDF
收藏 收藏 3
举报

干货分享: 长达150页的openvswitch的ppt,不实验无真相
Open Flow Switch Components Open| ow Channe负责同 Controller的交互 Flow table包含许多 entry,每个enty是对 packet Controller 进行处理的规则 Match Fields Priority Counters Instructions I Timeouts Cookie Open Flow Protoco Table 1: Main components of a How entry in a fow table OpenFlow Group Match packets: Flow entries 对 packet处理: Channel Table Ingress port match 转发 Headers packets in ·修改 Flow Flow metadata priority order ·交给 Group Table Table able 交给下个Tabe Pipeline Group table:处理更复杂的转发规则 pen Flow Switch 包含一系列 Group Entry 每个 Entry包含一系列操作集合( action buckets 每个操作集合包含一系列 action,以及参数 Open Flow Packet Processing Open Flow Switch Packet t Packet Ingress ingress port port Packet able metadata Table Table Packet:Execute Out Action 0 Action Action Action Set Set Set=t Set ia) Packets are matched against multiple tables in the pipeline (1 Find highest-priority matching flow entry Match fields. Match fields. Apply instructions Ingress port Ingress nort metadata Modify packet update match fields Flow (apply actions instruction Table Action set Update action set (clear actions and/ or Action set ① 3 write actions instruction s Update metadata (3 Send match data and action set to next table b) Per-table packet processing Open Flow Packet Processing Actions Packet n Start at table o Output:转发 Set-Queue: Qos Drop Update counters Grou Match in、Yes Execute instructions table n? update action set Table n? Push/Pop tags update packet/match set fields update metadata ecute action lable set miss tlow entry exists No Drop packet Figure 3: Flowchart detailing packet flow through an OpenFlow switch Open Flow Packet Processing · Actions: Output:转发 Set-Queue: Qos Action Associated data Description Drop Push Vlan header Ethertype Push a new VLAN header onto the packet The Ethertype is used as the Ethertype for the tag. only Group Ethertype OxS100 and Ox8Sa8 should be used Pop VlAN header Pop the outer-most vlaN header from the packet Push mpls header Ethertype Push a new mPls shim header onto the packet Push/Pop tags The Ethertype is used as the Ethertype for the tag. Only Ethertype Ox8847 and 0x8848 should be used Pop MPLS header Ethertype Pop the outer-most MPlS tag or shim header from the packet The Ethertype is used as the Ethertype for the resulting packet (Ethertype for the MPls payload) Push pbb header Ethertype Push a new PBB service instance header(I-TAG Toronto the packet(see 7.2.4) The Ethertype is used as the Ethertype for the tag. only Ethertype Ox88E7 should be used Pop PBB header Pop the outer-most PBB service instance header (I-TAG TCn from the packet (see 7. 2. 4) Table 6: Push/pop tag actions. Openvswitch简介 Controller Virt host 1 Virt host 2 Openvswitch是一个ruta VM1 VM2 IVM3 IM4 VMs VM6 switch,支持 Open F|ow协议, 当然也有一些硬件 Switch也支 Open vSwitch Open vSwitch 持 Open Flow协议,他们都可 以被统一的 Controller管理 Hardware Switch 从而实现物理机和虚拟机的 AlIce Peter 网络联通。 Virtual host VM1 VM3 M Open vSwitch Flow table 中 OpenFlow etho Openvswitch简介 Match field涵盖TCPP协议各层: Layer 1- tunnel ID, In Port, QoS priority, skb mark Layer 2-MAC address, VLAN ID, Ethernet type Layer 3-lPv4/IPv6 fields, ARP Layer 4-TCP/UDP, ICMP, ND Action也主要包含下面的操作: Output to port (port range, flood, mirror Discard. resubmit to table x Packet Mangling(Push/Pop VLAN header, TOS, Send to controller. learn Openvswitch简介 可以设置 Tunne 可以支持下列的框架来监控流量。 sFlow Netflow · Port mirroring SPAN RSPAN ERSPAN 支持QoS Uses existing traffic Control layer Policer (Ingress rate limiter HTB, HFSC (Egress traffic classes Controller(Open Flow) can select Traffic Class Openvswitch架构 Management OVS-ofctI ovsdb-tool OpenFlow sFlow oVS-dpctl oVS-vsctl (3) User 2 upcall space reinject switchl ovid Netlink 4 Kernel 6 Datapath Packet Processing Flow Table From NetDevice To NetDevice Management Workflow Promiscuous mode

...展开详情
试读 127P Openvswtich实验教程
立即下载 低至0.43元/次 身份认证VIP会员低至7折
    一个资源只可评论一次,评论内容不能少于5个字
    lishuhuakai 不错的教程、
    2019-08-11
    回复
    啊晓 有点贵呢,不过还是学习吧
    2018-07-23
    回复
    wuming11236 学习学习,谢谢分享
    2016-10-18
    回复
    chengtao114 感谢分享如此好的资料
    2016-10-09
    回复
    guo_lsh 非常好,正在看
    2016-09-06
    回复
    关注 私信 TA的资源
    上传资源赚积分,得勋章
    最新推荐
    Openvswtich实验教程 42积分/C币 立即下载
    1/127
    Openvswtich实验教程第1页
    Openvswtich实验教程第2页
    Openvswtich实验教程第3页
    Openvswtich实验教程第4页
    Openvswtich实验教程第5页
    Openvswtich实验教程第6页
    Openvswtich实验教程第7页
    Openvswtich实验教程第8页
    Openvswtich实验教程第9页
    Openvswtich实验教程第10页
    Openvswtich实验教程第11页
    Openvswtich实验教程第12页
    Openvswtich实验教程第13页
    Openvswtich实验教程第14页
    Openvswtich实验教程第15页
    Openvswtich实验教程第16页
    Openvswtich实验教程第17页
    Openvswtich实验教程第18页
    Openvswtich实验教程第19页
    Openvswtich实验教程第20页

    试读已结束,剩余107页未读...

    42积分/C币 立即下载 >