֓೦ਤ Virtual Switch VM VM VM Virtual Switch VM VM VM Virtual Switch VM VM VM Virtual Switch VM VM VM Virtual Switch VM VM VM Virtual Switch VM VM VM Physical Network Ø NVGRE, VXLAN ɺIP based tunneling Λར༻ Ø Underlay Network IP Reachability ͑͋͞Εྑ͍ Ø Ͳ͏ΤοδʹใΛಉظ͢Δ͔͕݁ߏϛι
ISP vPort vPort vPort vPort VM VM vPort vPort VM VM vPort Tenant A Router Tenant A Bridge 1 Tenant A Bridge 2 Tenant B Bridge 1 Tenant B Router The Internet Α͋͘ΔIaaS ͷཧτϙϩδ BGP uplink Provider Router Upstream ISP The Internet VM MidoNet Compute Node VM MidoNet Compute Node VM MidoNet Compute Node MidoNet Gateway Node MidoNet Gateway Node Back-end Network Network State Node NW State DB NW State DB NW State DB MidoNet ͷཧτϙϩδ BGP uplink API Node Cloud Mgmt System Only requirement is an IP reachability! ݸʑͷNWػثͰ ͳ͘ɺཧτϙ ϩδશମΛΤϛϡ Ϩʔτ
Upstream ISP The Internet VM MidoNet Compute Node VM MidoNet Compute Node VM MidoNet Compute Node MidoNet Gateway Node MidoNet Gateway Node Back-end Network Network State Node NW State DB NW State DB NW State DB MidoNet ͷίϯϙʔωϯτ BGP uplink API Node Cloud Mgmt System ϗετOS্ͷOVS kernel module Data path ϗετOSͰಈ࡞͢Δϓϩηεɻ NSDB͔ΒΦϯσϚϯυͰඞཁͳใ Λμϯϩʔυ͠τϙϩδΤϛϡϨʔ γϣϯΛ࣮ࢪɻ ݁ՌΛ Data path ʹϓϩάϥϛϯάɻ Agent Zookeeper, Cassandra. τϙϩδใͷอ࣋ɺIP-MAC tableɺ ଓϗετใͷશମใΛ࣋ͭ ʮίϯτϩʔϥʯͰͳ͘ʮσʔλϕ ʔεʯɻϓογϡ৴ΛۃྗߦΘͳ͍ NSDB
? / For 1st packet Upstream ISP The Internet VM MidoNet Compute Node VM MidoNet Compute Node VM MidoNet Compute Node MidoNet Gateway Node MidoNet Gateway Node Back-end Network Network State Node NW State DB NW State DB NW State DB BGP uplink API Node Cloud Mgmt System VM sends packet and OVS receives it. 11 If OVS doesn’t has an entry matches with the packet, then 22 11 MidoNet Agent checks local topology data. If it doesn’t have enough data for it, then 33 33 33 44 MidoNet Agent downloads information that is necessary for topology emulation of the packet. 44 44
? / For 1st packet Upstream ISP The Internet VM MidoNet Compute Node VM MidoNet Compute Node VM MidoNet Compute Node MidoNet Gateway Node MidoNet Gateway Node Back-end Network Network State Node NW State DB NW State DB NW State DB BGP uplink API Node Cloud Mgmt System MidoNet Agent simulates the topology and programs local OVS data-path according to the result. 55 Local OVS modifies header, encapsulates GRE and forwards it. 66 55 Remote OVS decaps GRE and forwards it to destination VM. 77 66 77
Upstream ISP VM MidoNet Compute Node VM MidoNet Compute Node VM MidoNet Compute Node MidoNet Gateway Node MidoNet Gateway Node Back-end Network Network State Node NW State DB NW State DB NW State DB BGP uplink Cloud Mgmt System API Node VLANΛར༻͠ͳ͍τϙϩδΤϛϡϨ ʔγϣϯͷҝɺ4,096 ͷนʹ੍ݶ͞Ε ͣεέʔϧΞτ͕Մೳ શମͷMAC table ࢄDB্ʹ֨ೲ͞ ΕΔҝɺεέʔϧΞτՄೳ ֤αʔόͷσʔλύεʹϓϩάϥϛϯά͞ ΕΔͷऩ༰͢ΔVMͷ௨৴ͷΈ
Upstream ISP VM MidoNet Compute Node VM MidoNet Compute Node VM MidoNet Compute Node MidoNet Gateway Node MidoNet Gateway Node Back-end Network Network State Node NW State DB NW State DB NW State DB BGP uplink Cloud Mgmt System API Node ֤ MidoNet Agent ؒ௨৴ GRE Ͱ ΧϓηϧԽ ˠ IP Reachability ͑͋͞ΕΑ͍ ˠ IGP Λ༻͍ͨ L3 εέʔϧΞτ ͕ར༻Մೳ