SDN network in CORD

Note for CORD network

Concept of SDN : disaggregate control plane and data plane.

  • control plane : to show how the packet route

Pre-knowledge for SDN network

Underlay & Overlay in Data center network

In recent years, deploying a big amounts of VMs becomes necessary since the universality of technologys (e.g. cloud-comuting, big data etc).
The migration/mobility/scale of the VMs will be strongly restricted by the traditional network infrastructure.
To deal with this problem, it better to add an Overlay (logical network) on the Underlay(traditional network) basic.

Under Underlay network, all the packet flow will be determined by controller, controller will use OpenFlow or BPG protocal to controll overlay (透過轉發器)
Under Overlay network, it usually traddional equiptment which didn’t support OpenFlow. So it will use tunnelling technology to go through that kind of equipment

Underlay:

  • Original internet equiptment.
  • 底層網路,負責互聯互通

Overlay:

  • 網路架構疊加虛擬化
  • 在不進行大規模修改的條件下,實現應用在網路上的乘載,並能與其他業務分離。
  • 建立在已有網路上的虛擬往,用邏輯節點跟邏輯線路構成了Overlay網路。
  • 獨立的control plane和轉發平面
  • TRILL, NVGRE, STT, VXLAN
  • 佈署不受限制並且自動,對傳統網路修改小,重要的是VM與時體積都可以接入Overlay網路

Overlay網路和Underlay網路是獨立的

SDN Architecture

  • API = REST API

SDN Switch

  • box = 白牌盒子
  • openstack 建置可能考慮Cumulus Linux, big switch

SDN controller

  • open daylight 是設備商主導推出的軟體,為了讓他們的設備賣得更好
  • ONOS 組成主要是電信商,比較偏應用導向。
  • Liu 日本NTT主導的controller,最好上手,架構也很簡單。

ONOS controller

提供Carrier-Grade等級能力

  • High Availability (Cluster)
  • High Performance (Can deal with tens milloins of End point)
  • Low Latency
  • Easy to Scale out

Architecture

  • 每個Instance都是一個VM,我們把這些VM綁在一起形成一個cluster
  • Cluster會碰到的問題:資料怎麼保持一致性,並且保證狀態都一致
  • 在Distributed Core可以解決這個問題
  • 南向API會支持一些protocol(Openflow, SAMP etc),設備跟controller溝通的介面
  • 北向API則是邏輯判斷封包該怎麼流動
  • 建議建立奇數個Instance

Network infrastrcuture for CORD

Trellis

Trellis in CORD architecture

In the current implementation, there are actually two sets of ONOS controllers with different responsibilities.

The first ONOS cluster (onos-cord) is responsible for the overlay infrastructure (virtual networking and service composition) and the access infrastructure. This cluster hosts the VTN and vOLT applications, respectively.

The second ONOS cluster (onos-fabric) is responsible for controlling the fabric and interfacing with conventional upstream routers. This cluster hosts the Fabric Control and vRouter applications, respectively.

Multicast control is via two additional applications, IGMP snooping and PIM-SSM, where the former runs on onos-cord and the latter runs on onos-fabric.

Trellis Underlay Fabric

  • The underlay hardware fabric is controlled by an application (called ‘segmentrouting’) in ONOS. It interacts with a number of other applications like vRouter, vOLT and multicast applications to provide CORD services
  • CORD network architecture:
    • SDN based Leaf-Spine fabric built with bare-metal (OCP certified) hardware and open-source switch software.
    • The fabric has the following characteristics:
      • L2 switching within a rack handled at leaf-switches (ToRs).
      • L3 forwarding across racks using ECMP hashing and MPLS segment routing.
      • vRouter integration for interfacing with upstream metro-router, providing reachability to publicly routable IP addresses.
      • VLAN cross-connect feature to switch QinQ packets between OLT I/O blades and vSG containers (R-CORD feature).
      • IPv4 multicast forwarding and pruning for IPTV streams (with vRouter integration) from upstream router to residential subscribers (R-CORD feature).
      • XOS integration via REST API calls to dynamically configure end-hosts and VLAN cross-connects at runtime.
      • Ability to use the fabric in single-rack or multi-rack configurations.
    • the fabric forms the underlay network in an overlay/underlay architecture. The overlay (sometimes referred to as the outer fabric) is also SDN based.
      • Use of software-switches (eg. OvS with DPDK) with a custom-designed pipeline for service-chaining.
      • Distributed load-balancing per service in each OvS.
      • VxLAN tunneling in OvS for overlay-based virtual networks.

The biggest advantage of common SDN control over both the overlay infrastructure as well as the underlay fabric is that they can be orchestrated together and optimized to deliver the features and services that Central Offices require, with the agility and economies of datacenter operations.

Fabric Operation as an Underlay

Virtual Tenant Networks & Service Composition

CORD service Composition

Connect to ONOS CLI in CORD

1
2
3
4
5
6
7

ssh head1

# connect to the onos service CLI
ssh -p 8102 onos@onos-cord

# default password: rocks

ONOS SDN-IP (Appendix)

  • 基於SDN環境建立BGP Speaker跟外界交換BGP information (BGP: AS 跟 AS 間做的messeage exchange)
  • 採用Quagga來當BGP Speaker
    • Quagga並非直接跟switch連接
    • 連接過程透過SDN-IP,會去偵測BGP的一些特徵,例如固定使用的Port,並forward到Quagga
    • 有兩個BGP speaker,分別做內部的BGP交換(iBGP)
  • 採用 Openflow-enable Switch 來建立連線溝通