brkaci-2006 intergration of hypervisors and l4-7 service into aci.pdf

83

Upload: dat-pham

Post on 27-Dec-2015

189 views

Category:

Documents


0 download

DESCRIPTION

CiscoLive Integration of Hypervisors and L4-7 service in Cisco ACI

TRANSCRIPT

Page 1: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf
Page 2: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

Integration of Hypervisors & L4-7 Services with ACI

BRKACI-2006

Bradley Wong

Principal Engineer, INSBU

@brawong

Maurizio Portolani

Distinguished TME, INSBU

Page 3: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

“ This session provides a technical introduction to how the ACI fabric handles

single and multi-hypervisor environments, how the ACI controller provides

integration into different VMMs for a single point of management for virtual

network management as well as how the fabric integrates and automates both

virtual and physical L4-L7 services…”

BRKACI-9006 ABSTRACT

Page 4: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Agenda

• Introduction to ACI

• Review of ACI Policy Model

• Hypervisor Integration

• Layer 4-7 Services Integration

• Conclusion

4

Page 5: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

Introduction to ACI

Page 6: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

ACI Fabric

Scale-Out Penalty Free Overlay

App DB Web

Outside

(Tenant VRF)

QoS

Filter

QoS

Service

QoS

Filter

Application Policy

Infrastructure

Controller

APIC

Cisco ACI Logical Network Provisioning of Stateless Hardware

6

Page 7: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Extend the principle of Cisco UCS®

Manager service profiles to the

entire fabric

Network profile: stateless definition

of application requirements

- Application tiers

- Connectivity policies

- Layer 4 – 7 services

- XML/JSON schema

Fully abstracted from the

infrastructure implementation

- Removes dependencies of the infrastructure

- Portable across different data center fabrics

## Network Profile: Defines Application Level Metadata (Pseudo Code Example)

<Network-Profile = Production_Web>

<App-Tier = Web>

<Connected-To = Application_Client>

<Connection-Policy = Secure_Firewall_External>

<Connected-To = Application_Tier>

<Connection-Policy = Secure_Firewall_Internal & High_Priority>

. . .

<App-Tier = DataBase>

<Connected-To = Storage>

<Connection-Policy = NFS_TCP & High_BW_Low_Latency>

. . .

App Tier DB Tier

Storage Storage

Web Tier

Application

The network profile fully describes the application connectivity

requirements

ACI Network Profile Policy-Based Fabric Management

7

Page 8: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

APIC

Opflex: AN OPEN, extensible policy protocol

OPFLEX WAS

DESIGNED TO OFFER:

Policies:

• Who can talk to whom

• What about

• Ops requirements

Abstract policies rather than

device-specific configuration 1.

Flexible, extensible definition

of using XML / JSON 2.

Support for any device including virtual

switches, physical switches, network

services with strong interoperability

across vendors

3.

Open, standardized API with an open

source reference implementation 4.

OPFLEX

PROXY

OPFLEX

AGENT

OPFLEX

AGENT

OPFLEX

AGENT

HYPERVISOR SWITCH ADC FIREWALL

8

Page 9: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Multi-Hypervisor-Ready Fabric

Integrated gateway for VLAN,

VxLAN, and NVGRE networks

from virtual to physical

Normalization for NVGRE,

VXLAN, and VLAN networks

Customer not restricted by a

choice of hypervisor

Fabric is ready for multi-

hypervisor

Virtual Integration

Network

Admin

Application

Admin

PHYSICAL

SERVER

VLAN

VXLAN

VLAN

NVGRE

VLAN

VXLAN

VLAN

ESX Hyper-V KVM

Hypervisor

Management

ACI Fabric

APIC

APIC

VMware

Microsoft

Red Hat

XenServer

VMware Microsoft Red Hat

9

Page 10: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

ACI Layer 4 - 7 Service Integration Centralized, Automated, And Supports Existing Model

Elastic service insertion architecture for

physical and virtual services

Helps enable administrative separation

between application tier policy and service

definition

APIC as central point of network control

with policy coordination

Automation of service bring-up/tear-down

through programmable interface

Supports existing operational model when

integrated with existing services

Service enforcement guaranteed,

regardless of endpoint location

Web

Server

Web Tier

A

Web

Server

Web

Server

App Tier

B

App

Server

Chain

“Security 5”

Policy Redirection

Application

Admin

Service

Admin

Serv

ice

Gra

ph

begin end Stage 1 …..

Stage N

Pro

vid

ers

inst

inst

Firewall

inst

inst

Load Balancer

……..

Se

rvic

e P

rofile

“Security 5” Chain Defined

10

Page 11: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

Review of the ACI Policy Model

Page 12: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

End-points

A compute, storage or service instance attaching to a fabric

NIC

vNIC

.

.

.

end-points [ EP ]

Things that connect to the fabric and use it to interface with other things

ACI Fabric

12

Page 13: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

A compute, storage or service instance attaching to a fabric

EP

.

.

.

A collection of end-points with

identical network behaviour form a

… End Point Group (EPG)

Things that connect to the fabric and use it to interface with other things

EP

EP

End-points

13

Page 14: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

End-point Groups (EPGs)

EP

.

.

EP

EP

… end-point group [ EPG ]

Can flexibly map into

application tier of multi-tier app

segmentation construct (ala VLAN)

a security construct

ESX port group, SCVMM VMNetwork

Allows to specify rules and policies on

groups of physical or virtual end-points

without understanding of specific

identifiers and regardless of physical

location.

EPG WEB

EPG APP SERVER

policies

14

Page 15: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Tenant L3, L2 Isolation

EP

.

.

.

EP

EP

EPG WEB

BD

EPG APP SERVER

EPG …

BD

subnet

subnet

subnet

L3 context (isolated tenant VRF)

With or

without

flooding

semantics

network profile

Tenant self-contained

tenant definition

representable as a

recursive

structured text

document

outside

15

Page 16: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

Integration with Multiple Hypervisors

Page 17: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Hypervisor Integration Agenda

• Hypervisor Integration Overview

• VMWare vCenter Integration

• Microsoft SCVMM & Azure Pack Integration

• OpenStack Integration

17

Page 18: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Hypervisor Interaction with ACI Two modes of Operation

• ACI Fabric as an IP-Ethernet Transport

• Encapsulations manually allocated

• Separate Policy domains for Physical and Virtual

VLAN 10 VLAN 10 VXLAN 10000

Non-Integrated Mode

• ACI Fabric as a Policy Authority

• Encapsulations Normalized and dynamically provisioned

• Integrated Policy domains across Physical and Virtual

APP WEB DB

Integrated Mode

DB

18

Page 19: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

vCenter DVS SCVMM

Relationship is formed between APIC and Virtual Machine Manager (VMM)

Multiple VMMs likely on a single ACI Fabric

Each VMM and associated Virtual hosts are grouped within APIC

Called VMM Domain

There is 1:1 relationship between a Virtual Switch and VMM Domain VMM Domain 1

Hypervisor Integration with ACI Control Channel - VMM Domains

vCenter AVS

VMM Domain 2 VMM Domain 3

19

Page 20: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

L/B

EPG

APP

EPG

DB F/W

EPG

WEB

Application Network Profile

VM VM VM

WEB PORT GROUP

APP PORT GROUP

DB PORT GROUP

Hypervisor Integration with ACI

APIC

ACI Fabric implements policy on

Virtual Networks by mapping

Endpoints to EPGs

Endpoints in a Virtualized

environment are represented as the

vNICs

VMM applies network configuration

by placement of vNICs into Port

Groups or VM Networks

EPGs are exposed to the VMM as a

1:1 mapping to Port Groups or VM

Networks

20

Page 21: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

VXLAN

VNID = 5789 VXLAN

VNID = 11348

NVGRE

VSID = 7456

Any to Any

802.1Q

VLAN 50

Normalized

Encapsulation

Localized

Encapsulation

IP Fabric Using

VXLAN Tagging

Payload IP VXLAN VTEP

• All traffic within the ACI Fabric is encapsulated with an extended VXLAN header

• External VLAN, VXLAN, NVGRE tags are mapped at ingress to an internal VXLAN tag

• Forwarding is not limited to, nor constrained within, the encapsulation type or

encapsulation ‘overlay’ network

• External identifies are localized to the Leaf or Leaf port, allowing re-use and/or translation

if required

Payload

Payload

Payload

Payload

Payload

Eth

IP VXLAN

Outer

IP

IP NVGRE Outer

IP

IP 802.1Q

Eth

IP

Eth

MAC

Normalization of Ingress

Encapsulation

ACI Fabric – Integrated Overlay Data Path - Encapsulation Normalization

21

Page 22: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

EP

EP

EP

EP

EP

EP EP

EP

EP

EP

EP

EP

EP

EP

VMM Domain 1

4K EPGs VMM Domain 2

4K EPGs

16M Virtual Networks VLAN ID only gives 4K EPGs (12 bits)

Scale by creating pockets of 4K EPGs

Map EPGs to VMM Domain based on scope of live migration

Place VM anywhere

Live migrate within VMM domain

Hypervisor Integration with ACI VMM Domains & VLAN Encapsulation

22

Page 23: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Hypervisor Integration with ACI VMM Domains & VLAN Encapsulation

EP

EP

EP EP

VMM Domain 1

4K EPGs VMM Domain 2

4K EPGs

VLAN 5

VLAN 16

16M Virtual Networks

VNID 6032

VLAN ID only gives 4K EPGs (12 bits)

Scale by creating pockets of 4K EPGs

Map EPGs to VMM Domain based on scope of live migration

Place VM anywhere

Live migrate within VMM domain

23

Page 24: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Hypervisor Integration with ACI Endpoint Discovery

DVS Host

APIC

VMM

Control

(vCenter API)

Data Path

Virtual Endpoints are discovered for reachability & policy purposes via 2 methods:

Control Plane Learning:

- Out-of-Band Handshake: vCenter APIs

- Inband Handshake: OpFlex-enabled Host (AVS, Hyper-V, etc.)

Data Path Learning: Distributed switch learning

LLDP used to resolve Virtual host ID to attached port on leaf node (non-OpFlex Hosts) OpFlex Host

Control

(OpFlex)

Data Path

24

Page 25: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Hypervisor Integration Agenda

• Hypervisor Integration Overview

• VMWare vCenter Integration

• Microsoft SCVMM & Azure Pack Integration

• OpenStack Integration

25

Page 26: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

VMWare Integration Three Different Options

+

Distributed Virtual Switch

(DVS) vCenter + vShield

Application Virtual Switch

(AVS)

• Encapsulations: VLAN

• Installation: Native

• VM discovery: LLDP

• Software/Licenses: vCenter with Enterprise+ License

• Encapsulations: VLAN, VXLAN

• Installation: Native

• VM discovery: LLDP

• Software/Licenses: vCenter with Enterprise+ License, vShield Manager with vShield License

• Encapsulations: VLAN, VXLAN

• Installation: VIB through VUM or Console

• VM discovery: OpFlex

• Software/Licenses: vCenter with Enterprise+ License

26

Page 27: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

APIC Admin

VI/Server Admin Instantiate VMs,

Assign to Port Groups

L/B

EPG

APP

EPG DB F/W

EPG

WEB

Application Network Profile

Create Application Policy

Web Web Web App

HYPERVISOR HYPERVISOR

VIRTUAL DISTRIBUTED SWITCH

WEB PORT GROUP

APP PORT GROUP

DB PORT GROUP

vCenter

Server / vShield

8

5

1

9 ACI

Fabric

Automatically Map

EPG To Port Groups

Push Policy

Create VDS 2

Cisco APIC and

VMware vCenter Initial

Handshake

6

DB DB

7 Create Port

Groups

ACI Hypervisor Integration – VMware DVS/vShield

APIC

3

Attach Hypervisor

to VDS

4 Learn location of ESX

Host through LLDP

27

Page 28: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

ACI Hypervisor Integration – VMware DVS

Name of VMM Domain

Type of vSwitch (DVS or AVS)

Associated Attachable Entity Profile (AEP)

VLAN Pool

vCenter Administrator Credentials

vCenter server information

28

Page 29: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

ACI Hypervisor Integration – VMware DVS

29

Page 30: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Southbound

OpFlex API

VM VM VM VM

N1KV VEM

vSphere

Hypervisor Manager

OpFlex Control protocol

- Control channel

- VM attach/detach, link state notifications

VEM extension to the fabric

vSphere 5.0 and above

BPDU Filter/BPDU Guard

SPAN/ERSPAN

Port level stats collection

Remote Virtual Leaf Support (future)

Application Virtual Switch (AVS) Integration Overview

30

Page 31: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

APIC Admin

VI/Server Admin Instantiate VMs,

Assign to Port Groups

L/B

EPG

APP

EPG

DB F/W

EPG

WEB

Application Network Profile

Create Application Policy

Web Web Web App

HYPERVISOR HYPERVISOR

Application Virtual Switch (AVS)

WEB PORT GROUP

APP PORT GROUP

DB PORT GROUP

vCenter

Server

8

5

1

9 ACI

Fabric

Automatically Map

EPG To Port Groups

Push Policy

Create AVS

VDS 2

Cisco APIC and

VMware vCenter Initial

Handshake

6

DB DB

7 Create Port

Groups

ACI Hypervisor Integration – AVS

APIC

3

Attach Hypervisor

to VDS

4 Learn location of ESX

Host through OpFlex

OpFlex Agent OpFlex Agent

31

Page 32: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

ACI Hypervisor Integration – VMware DVS

Name of VMM Domain

Type of vSwitch (DVS or AVS)

Associated Attachable Entity Profile (AEP)

VXLAN Pool

vCenter Administrator Credentials

vCenter server information

Switching mode (FEX or Normal)

Multicast Pool

32

Page 33: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

ACI Hypervisor Integration – VMware

33

Page 34: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Hypervisor Integration Agenda

• Hypervisor Integration Overview

• VMWare vCenter Integration

• Microsoft SCVMM & Azure Pack Integration

• OpenStack Integration

34

Page 35: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Microsoft Interaction with ACI Two modes of Operation

• Policy Management: Through APIC

• Software / License: Windows Server with HyperV, SCVMM

• VM Discovery: OpFlex

• Encapsulations: VLAN, NVGRE (Future)

• Plugin Installation: Manual

Integration with SCVMM

APIC

Integration with Azure Pack

APIC

• Superset of SCVMM

• Policy Management: Through APIC or through Azure Pack

• Software / License: Windows Server with HyperV, SCVMM, Azure Pack (free)

• VM Discovery: OpFlex

• Encapsulations: VLAN, NVGRE (Future)

• Plugin Installation: Integrated

+

35

Page 36: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

APIC Admin

SCVMM Admin Instantiate VMs,

Assign to VM Networks

L/B

EPG

APP

EPG

DB F/W

EPG

WEB

Application Network Profile

Create Application Policy

MSFT SCVMM

8

5

1

9 ACI

Fabric

Automatically Map

EPG To VM

Networks

Push Policy

Create Virtual

Switch 2

Cisco APIC and MSFT

SCVMM Initial

Handshake

6

ACI Hypervisor Integration – MSFT SCVMM

APIC

3 Attach Hypervisor

to Virtual Switch

4 Learn location of HyperV

Host through OpFlex

HYPERVISOR HYPERVISOR

OpFlex Agent

HYPERV VIRTUAL SWITCH

7 Create VM

Networks

OpFlex Agent

WEB VM NETWORK

APP VM NETWORK

DB VM NETWORK

36

Web Web App App DB

Page 37: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Microsoft Azure Pack Integration

Integration with Microsoft requires:

- Windows Server 2012

- Systems Center 2012 R2 with SPF

- Windows Azure Pack

Azure Pack provides single pane of glass for Definition, creation, management of their cloud service

Divided into Provider (Admin) portal and Consumer Self-Service (Tenant) portal

Cisco ACI Service Plugin enables management of Network Infrastructure through APIC REST API

R2 w/ Service Provider Foundation

Web

Sites

Service

Plans

Users

Provider Portal

Consumer Self-Service

Portal

Web Sites

Apps

Database

VMs

ACI

Service Provider Customer

VMs SQL Service

Bus …

37

Page 38: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Microsoft Azure Pack Integration Admin Experience

Add & Configure

service providers

for this

deployment (APIC

IP Address, Login

Credentials, etc.)

Usage & Billing statistics per user and other

admin functions

38

Page 39: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Microsoft Azure Pack Integration Tenant Experience

Services this account

has access to Resources of ACI service currently created and

consumed by this tenant

Application Network Profiles are created through

Azure Pack, and pushed to APIC using REST

APIs

39

Page 40: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

APIC Admin

(Basic Infrastructure)

Azure Pack Tenant

3

6

ACI

Fabric

Push Network

Profiles to APIC

Pull Policy on leaf

where EP attaches

Indicate EP Attach to attached leaf

when VM starts

1

2

HYPERVISOR HYPERVISOR HYPERVISOR

ACI Azure Pack Integration

APIC

Get VLANs allocated

for each EPG

Create Application

Policy

7

Azure Pack \ SPF

SCVMM Plugin APIC Plugin OpFlex Agent OpFlex Agent OpFlex Agent

Instantiate VMs

5

1

4 Create VM Networks

4

40

Web Web Web Web App App DB DB

Page 41: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Hypervisor Integration Agenda

• Hypervisor Integration Overview

• VMWare vCenter Integration

• Microsoft SCVMM & Azure Pack Integration

• OpenStack Integration

41

Page 42: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Initial Focus on Networking

(Neutron)

OpenStack Components

42

Page 43: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Tenant

Network Security Group

Security Group

Rule

Network:

external Router

Port Subnet

Core API L3 + External

Net Extension

Sec Grp

Extension

OpenStack Neutron Networking Model

43

Page 44: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Tenant

Bridge Domain Context

(VRF)

Subject

App Profile Outside

Network

Subnet

Endpoint Group

Contract

Cisco ACI Model

44

Page 45: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Cisco OpenStack ACI Model Neutron API Mapping

OpenStack ACI

Tenant Tenant

No Equivalent Application Profile

Network EPG + Bridge Domain

Subnet Subnet

Security Group Handled by Host

Security Group Rule Handled by Host

Router L3 Context

Network:External L3 Outside

45

Page 46: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

APIC Admin

(Performs Steps 3)

OpenStack Tenant

(Performs Steps 1,4) Instantiate VMs

Create Application Policy

Web Web Web Web App App 4

3

5 ACI

Fabric

Automatically Push

Network Profiles to

APIC

Push Policy

Create Network, Subnet,

Security Groups, Policy

NETWORK

ROUTING

SECURITY

1

2

DB DB

HYPERVISOR HYPERVISOR HYPERVISOR

NOVA

NEUTRON

OPEN VIRTUAL SWITCH OPEN VIRTUAL SWITCH OPEN VIRTUAL SWITCH

ACI OpenStack Integration – Phase 1

APIC

46

Page 47: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Group-based Policy in OpenStack Approved for Juno Release

• Messy mapping ACI to current OpenStack components

– Endpoint Groups (Ports + Security Groups)

– Contracts (Security Groups + Security Group Rules)

• Goal : Introduce ACI model into OpenStack

• Starting with Groups and Group based Policies

https://blueprints.launchpad.net/neutron/+spec/group-based-policy-abstraction

47

Page 48: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

ACI OpenStack Integration – Phase 2

2

ACI Admin

(manages physical

network, monitors tenant

state)

L/B

EPG

APP

EPG

DB F/W

L/B

EPG

WEB

Application Network Profile

Create Application Policy

3

5 ACI

Fabric

Push Policy

OpenStack Tenant

(Performs step 1,4) Instantiate VMs

Web Web Web Web App App 4

Create Application Network

Profile

1

DB DB

HYPERVISOR HYPERVISOR HYPERVISOR

NOVA

NEUTRON

Automatically Push

Network Profiles to

APIC

L/B

EPG

APP

EPG

DB F/W

L/B

EPG

WEB

Application Network Profile

APIC

Page 49: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

Layer 4-7 Services Integration

Page 50: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Agenda

• Too many network layers in today’s datacenters

• The concept of abstract graph

• Key concepts and building blocks

50

Page 51: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Too many layers in today’s networks Today’s networks suffer for a replication and redundancy of forwarding elements

Network 1: physical networks

Network 2: virtual networks

=

a lot of dependencies

configurations are not easily portable

lack of visibility

no abstraction

51

Page 52: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Intended design

Physical server Virtual Server

I want virtual firewalling in between

with ASA version a.b

I want physical firewalling in between

with F5 version a.b and Firewall version

c.d.

52

Page 53: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

The communication path between physical compute elements is defined in archaic ways: 1st you need to configure the underlay network

Virtual Server

Provision Routing connectivity for the underlay Assign a server to a VLAN

configure HSRP for this subnet

repeat this for redundancy and ensure

reachability to the entry point into the overlay

Configure VLAN stitching for the physical appliances, make sure they are defined as

redundant appliances

53

Page 54: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

The communication path between virtual compute elements is ALSO defined in archaic ways: 2nd you need to configure the overlay network

Virtual Server

In the virtual network

you need to configure:

the gateway to funnel traffic into

the virtual infrastructure

The virtual firewall placement

The default gateway for the servers

Redundancy for the server connectivity

etc…

54

Page 55: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Challenges with Network Service Insertion

Service Insertion In traditional Networks

Router

Router

Switch

LB

FW

Configure firewall network parameters

Configure Network to insert Firewall

Configure firewall rules as required by the application

Configure Router to steer traffic to/from Load Balancer

Configure Load Balancer Network Parameters

Configure Load Balancer as required by the application

vFW

servers

Service insertion takes days

Network configuration is time consuming and error prone

Difficult to track configuration on services

55

Page 56: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Defining a virtual network still requires a multitude of subnets and VLANs

VLAN 10 VLAN 20 VLAN 30 VLAN 40

Subnet 1 Subnet 2 Subnet 3

software switch 1 software switch 2

56

Page 57: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

10.0.0.x 20.0.0.x

outside router no ip routing

enable ARP flood

no ip routing

enable ARP flood no ip routing

enable ARP flood

CSR1kv

peer to the outside

when you disable ip routing

the fabric does L2 based forwarding

lookup is based on the mac

In order not to learn outside IPs

you need to use a l2ext

You can do service chaining with ACI without any service graph

Page 58: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

The Goal of ACI

The relationship between compute nodes should be defined in a way that this is no more anchored to the underlying:

– VLANs

– IP addresses

– virtual or physical network connectivity

ACI defines the relationship between workloads as an abstract policy

58

Page 59: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Agenda

• Too many network layers in today’s datacenters

• The concept of abstract graph

• Key concepts and building blocks

59

Page 60: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

The Policy must apply to any network so it can be re-used

Physical Virtual

60

Page 61: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Automate Service Insertion Through APIC

APP DB WEB EXTERNAL

APIC Policy Model

Endpoint Group (EPG): Collection of similar End Points identifying a particular

Application Tier. Endpoint could represent VMs, VNICs , IP, DNS name etc

Application Profile: Collection of Endpoint Groups and the policies that define way

Endpoint group communicate with each other

Application profile

Policy Policy Policy

61

Page 62: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Application Policy

Consumes

Contract

dB Contract

MSSQL: Accept

MySQL: Accept

HTTP: Accept, Count

Filter Named collection of L4 port

ranges

- HTTP = [80, 443]

- MSSQL = [1433-1434]

- MySQL = [3306, 25565]

- DNS = [53, 953, 1337, 5353]

Action What action or actions to take on

packet

- Accept

- Service Insert

- Count

- Copy (future sw release)

Provides

EPG - APP EPG - DB

APP DB

62

Page 63: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Abstract Graph Abstract Node Abstract Node

Abstract

Graph

load balancer: F5 version a.b firewall: ASA version a.b

Consumer Provider

rendering layer

SLB A FW A

Pool of concrete devices

FW B

FW C

SLB B

SLB C

FW A SLB B

Application Profile

63

Page 64: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Agenda

• Too many network layers in today’s datacenters

• The concept of abstract graph

• Key concepts and building blocks

64

Page 65: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Key Concepts in Service Insertion

• Concrete Device: it represents a service device, e.g. one load balancer, or one firewall

• Logical Device: represents a cluster of 2 devices that operate in active/standby mode for instance.

• Service Graph: defines a sequence of “functions” connected: e.g. a firewall from Checkpoint followed by a load balancing from “F5”.

• Logical Device Context: specifies upon which criteria a specific device in the inventory should be used to render a service graph

• Device Package:

– defines things such as how to label “connectors” for a function, and how to translate “names” from ACI to the specific device.

– E.g. a load balancer “function” has predefined connectors called: • “external”

• “internal”

• “management”.

65

Page 66: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Service Automation Through Device Package

Open Device Package

Policy

Engine APIC APIC provides extendable policy model through Device Package

Configuration Model

Device Interface: REST/CLI

APIC Script Interface

Python Scripts

Script Engine

APIC– Policy Manager

Configuration Model

(XML File)

Python Scripts

Provider Administrator can upload a Device Package

Device Package contains XML fine defining Device Configuration Model

Device scripts translates APIC API callouts to device specific callouts

66

Page 67: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Metadevice

predefined interface labels,

you can’t change them

67

Page 68: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Device Package Example

Following functions can be configured through APIC 68

Page 69: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Register Service Devices with APIC

Configure Management IP address on the device

Create username/password for APIC to manage the device

Attach the management interface to appropriate interface/port-group

Register the device with APIC – Provide IP address and Login credentials

69

Page 70: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Device Cluster

Devices on APIC are registered as a cluster

Cluster can contain one or more physical or virtual devices

Devices within the cluster can be deployed in Active-Active or Active-Standby mode

Concrete Device (CDev): A Physical or Virtual Service Device -1

Logical Device (LDev): Represents a cluster

Concrete Device (CDev): A Physical or Virtual Service Device -N

APIC configures Service Function using Cluster Mgmt IP and Login Credentials

APIC can configure device specific feature ike (Port-channel configuration etc) using device’s IP address and login credentials

70

Page 71: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Service Function Graph

Func: Firewall

Func: SSL offload

Func: Load Balancing

Terminals Terminals

Firewall params Permit ip tcp * dest-ip <vip> dest-port 80 Deny ip udp *

Load-Balancing params virtual-ip <vip> port 80 Lb-aglorithm: round-robin

SSL params Ipaddress <vip> port 80

Connectors

Service Graph: “web-application”

Functions rendered on the same device

71

Page 72: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Create Service Graph

72

Page 73: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Configure Function Parameters

73

Page 74: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Service Insertion

Func: Firewall

Func: Load Balancer

Service Graph: “WebGraph”

Func: Load Balancer

Service Graph: “appGraph”

APP DB WEB EXTERNAL

Application profile

Policy Policy Policy

Terminal: Input1

Terminal: Output1

74

Page 75: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Associate Graph to a Contract

75

Page 76: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Example Graph

76

Page 77: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

How to render the service graph?

• Each individual “logical” device is then wrapped in a Device Context which is just a set of meta-tags to create a menu to be used later.

• The meta tags are: contract name, graph name and node label

• e.g.

• <vnsLDevCtx ctrctNameOrLbl="webCtrct" graphNameOrLbl="WebGraph" nodeNameOrLbl="FW">

• This also includes the subnets that need to be “found” by the logical device to plug itself into the graph

Via a menu called Context

logical device 1

logical device 2

“Device Context” = match “FW”

“Device Context” = match “FW”

Menu

77

Page 78: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

ADC Service Graph Changes Via EP Attach/Detach

A new web server is deployed

APIC detects a new end-point attached for a web application component

APIC walks through associated graph and calls device “endPointAttach” event handlers for associated devices

A Load Balancer device can implement EP attach function to dynamically add a new server and bind it to a Load-Balancer virtual service

When device is de-commissioned, APIC calls “endPointDetach “ event

A Load Balancer device can use EP detach function to remove server configuration and unbind server from load balance virtual server

App Component: Web

App Component: External

Func: Firewall

Func: SSL offload

Func: Load Balancer

Service Graph: “web-application”

Firewall Func: SSL offload

Func: Load Balancer

Web EP - 1

10.0.0.2 add server EP-1 10.0.0.2 add service web-service-1 10.0.0.2 HTTP 80

bind lb vserver vserver-web web-service-1

unbind lb vserver vserver-web web-service-1 rm service web-service-1 10.0.0.2 HTTP 80 rm server EP-1 10.0.0.2

Page 79: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Participate in the “My Favorite Speaker” Contest

• Promote your favorite speaker through Twitter and you could win $200 of Cisco Press products (@CiscoPress)

• Send a tweet and include

– Your favorite speaker’s Twitter handle @brawong

– Two hashtags: #CLUS #MyFavoriteSpeaker

• You can submit an entry for more than one of your “favorite” speakers

• Don’t forget to follow @CiscoLive and @CiscoPress

• View the official rules at http://bit.ly/CLUSwin

Promote Your Favorite Speaker and You Could be a Winner

79

Page 80: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Complete Your Online Session Evaluation

• Give us your feedback and you could win fabulous prizes. Winners announced daily.

• Complete your session evaluation through the Cisco Live mobile app or visit one of the interactive kiosks located throughout the convention center.

Don’t forget: Cisco Live sessions will be available for viewing on-demand after the event at CiscoLive.com/Online

80

Page 81: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf

© 2014 Cisco and/or its affiliates. All rights reserved. BRKACI-2006 Cisco Public

Continue Your Education

• Demos in the Cisco Campus

• Walk-in Self-Paced Labs

• Table Topics

• Meet the Engineer 1:1 meetings

81

Page 82: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf
Page 83: BRKACI-2006 Intergration of Hypervisors and L4-7 service into ACI.pdf