16
SONiC in Microsoft Azure: Enabling Mission Critical Applications Weixi Chen Alberto Gonzalez Microsoft

SONiC in Microsoft Azure: Enabling Mission Critical Applications…Orchestrator Agent ASIC_DB sairedis swsssyncd SAI API ASIC SDK ASIC Routes Vxlan, VRF and Vlan Demo Scenario 1/3

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: SONiC in Microsoft Azure: Enabling Mission Critical Applications…Orchestrator Agent ASIC_DB sairedis swsssyncd SAI API ASIC SDK ASIC Routes Vxlan, VRF and Vlan Demo Scenario 1/3

SONiC in Microsoft Azure: Enabling Mission Critical Applications

Weixi Chen Alberto Gonzalez

Microsoft

Page 2: SONiC in Microsoft Azure: Enabling Mission Critical Applications…Orchestrator Agent ASIC_DB sairedis swsssyncd SAI API ASIC SDK ASIC Routes Vxlan, VRF and Vlan Demo Scenario 1/3

SONiC in Microsoft AzureEnabling Mission Critical Applications

Page 3: SONiC in Microsoft Azure: Enabling Mission Critical Applications…Orchestrator Agent ASIC_DB sairedis swsssyncd SAI API ASIC SDK ASIC Routes Vxlan, VRF and Vlan Demo Scenario 1/3

Mission Critical Applications in Azure

Goal: unlock the market for mission critical workloads

that cannot yet run on Azure natively

Page 4: SONiC in Microsoft Azure: Enabling Mission Critical Applications…Orchestrator Agent ASIC_DB sairedis swsssyncd SAI API ASIC SDK ASIC Routes Vxlan, VRF and Vlan Demo Scenario 1/3

A Mission Critical Application: Azure HSM

- Azure service providing cryptographic key storage

- Dedicated server: customer has full administrative and cryptographic control

- Provisioned into a customer’s private IP address space (VNET)

- Typical customer deployment: 2 HSMs per regions for high availability

2 in an alternate region for disaster recovery

Page 5: SONiC in Microsoft Azure: Enabling Mission Critical Applications…Orchestrator Agent ASIC_DB sairedis swsssyncd SAI API ASIC SDK ASIC Routes Vxlan, VRF and Vlan Demo Scenario 1/3

in Mission Critical Applications

The application must be provisioned into a customer’s private IP address space (VNET)

▪ Challenges:▪ Workloads are not virtualized

▪ Hardware form factor

Page 6: SONiC in Microsoft Azure: Enabling Mission Critical Applications…Orchestrator Agent ASIC_DB sairedis swsssyncd SAI API ASIC SDK ASIC Routes Vxlan, VRF and Vlan Demo Scenario 1/3

Solution: Functional Architecture

Demo Controller

Azure

Control

Plane

SONiC Virtualized

Network and

Compute Isolated VNET Data Plane

HSMHSMWorkload

Server

Control

Plane

Data Plane

Page 7: SONiC in Microsoft Azure: Enabling Mission Critical Applications…Orchestrator Agent ASIC_DB sairedis swsssyncd SAI API ASIC SDK ASIC Routes Vxlan, VRF and Vlan Demo Scenario 1/3

SONiC in Azure Networking

▪ Ease of Operations: ▪ Homogeneity with respect to management and control plane

▪ Hardware independence

▪ Customizable and Extensible:▪ Custom features for Azure integration

▪ Cherry pick feature set

▪ Agility: ▪ Fast turnaround time for fixes

▪ Leverage open-source contributions

Page 8: SONiC in Microsoft Azure: Enabling Mission Critical Applications…Orchestrator Agent ASIC_DB sairedis swsssyncd SAI API ASIC SDK ASIC Routes Vxlan, VRF and Vlan Demo Scenario 1/3

SONiC Features: Data Plane

VNI VNI VNI

VNET/VRF VNET/VRF VNET/VRF

VLAN VLAN VLAN

SONiC L3 VxLAN Tunnel Endpoint(VTEP)

WL

Server

Customer

Isolation via VNI,

VRF, VLAN and

TOR Port VLAN

membership

SONiC TOR

WL

ServerWL

ServerWL

Server

WL

ServerWL

Server

Page 9: SONiC in Microsoft Azure: Enabling Mission Critical Applications…Orchestrator Agent ASIC_DB sairedis swsssyncd SAI API ASIC SDK ASIC Routes Vxlan, VRF and Vlan Demo Scenario 1/3

SONiC Features: Control Plane

REST API

APP_DB

CONFIG_DB

Orchestrator Agent

ASIC_DB

sairedis

swsssyncd

SAI API

ASIC SDK

ASIC

Routes

Vxlan, VRF

and Vlan

Page 10: SONiC in Microsoft Azure: Enabling Mission Critical Applications…Orchestrator Agent ASIC_DB sairedis swsssyncd SAI API ASIC SDK ASIC Routes Vxlan, VRF and Vlan Demo Scenario 1/3

Demo Scenario1/3

VNET 1: CIDR: 10.1.0.0/16

HSM subnet: 10.1.1.0/24

VM 1:

IP: 10.1.2.4

VM 2: IP: 10.1.2.5

SONiC ToR

Vlan 1001:addr: 10.1.1.1/24

Server 1:IP: 10.1.1.4

Gateway: 10.1.1.1

VRF 1

Vxlan

Eth 1

Page 11: SONiC in Microsoft Azure: Enabling Mission Critical Applications…Orchestrator Agent ASIC_DB sairedis swsssyncd SAI API ASIC SDK ASIC Routes Vxlan, VRF and Vlan Demo Scenario 1/3

Demo Scenario2/3

VNET 1: CIDR: 10.1.0.0/16

HSM subnet: 10.1.1.0/24

VM 1:

IP: 10.1.2.4

VM 2: IP: 10.1.2.5

VNET 2CIDR: 10.2.0.0/16

HSM subnet: 10.2.1.0/24

VM 1: IP: 10.2.2.4

VM 2: IP: 10.2.2.5

SONiC ToR

Vlan 1001:addr: 10.1.1.1/24

Vlan 1002:addr: 10.2.1.1/24

Server 1:IP: 10.1.1.4

Gateway: 10.1.1.1

Server 3:IP: 10.2.1.4

Gateway: 10.2.1.1

VRF 1 VRF 2

Vxlan Vxlan

Eth 1 Eth 2

Page 12: SONiC in Microsoft Azure: Enabling Mission Critical Applications…Orchestrator Agent ASIC_DB sairedis swsssyncd SAI API ASIC SDK ASIC Routes Vxlan, VRF and Vlan Demo Scenario 1/3

Demo Scenario3/3

VNET 1: CIDR: 10.1.0.0/16

HSM subnet: 10.1.1.0/24

VM 1:

IP: 10.1.2.4

VM 2: IP: 10.1.2.5

VNET 2CIDR: 10.2.0.0/16

HSM subnet: 10.2.1.0/24

VM 1: IP: 10.2.2.4

VM 2: IP: 10.2.2.5

SONiC ToR

Vlan 1001:addr: 10.1.1.1/24

Vlan 1002:addr: 10.2.1.1/24

Server 1:IP: 10.1.1.4

Gateway: 10.1.1.1

Server 3:IP: 10.2.1.4

Gateway: 10.2.1.1

VRF 1 VRF 2

Vxlan Vxlan

Eth 1 Eth 2

Vnet Peering

Page 13: SONiC in Microsoft Azure: Enabling Mission Critical Applications…Orchestrator Agent ASIC_DB sairedis swsssyncd SAI API ASIC SDK ASIC Routes Vxlan, VRF and Vlan Demo Scenario 1/3
Page 14: SONiC in Microsoft Azure: Enabling Mission Critical Applications…Orchestrator Agent ASIC_DB sairedis swsssyncd SAI API ASIC SDK ASIC Routes Vxlan, VRF and Vlan Demo Scenario 1/3

Lessons learned / Next steps▪Configuration error handling:

▪ No syntactic or semantic validations on configuration set in

the config and app DBs

▪ No reporting mechanism for errors in enforcing

configuration on the hardware (e.g., in the case of resource

exhaustion)

▪ As a result the configuration entity cannot verify if config is

honored in the ASIC

▪Route persistence:▪ Dynamically added static routes are not persisted

▪ Switch reboot leads to loss of dynamically added static

routes

Page 15: SONiC in Microsoft Azure: Enabling Mission Critical Applications…Orchestrator Agent ASIC_DB sairedis swsssyncd SAI API ASIC SDK ASIC Routes Vxlan, VRF and Vlan Demo Scenario 1/3

Contributors

Alberto Gonzalez Prieto

Anish Narsian

Weixi Chen

Prince Sunny

Neeraj Motwani

Pranjal Shrivastava

Vaibhav Kumar

Kaden Brooks

Krishna Kanike

Madura Marathe

Guohan Lu

Xin Liu

Tao Deng

Page 16: SONiC in Microsoft Azure: Enabling Mission Critical Applications…Orchestrator Agent ASIC_DB sairedis swsssyncd SAI API ASIC SDK ASIC Routes Vxlan, VRF and Vlan Demo Scenario 1/3

© Copyright Microsoft Corporation. All rights reserved.