four pillars of orchestration: architecture for service lifecycle … · service manager device...

29
Carl Moberg Technology Director, NFV November 2, 2016 CKN Webinar Series #4: Data Models and Data Model Mapping Four Pillars of Orchestration: Architecture for Service Lifecycle Automation

Upload: others

Post on 25-May-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

Carl Moberg Technology Director, NFV November 2, 2016

CKN Webinar Series #4: Data Models and Data Model Mapping

Four Pillars of Orchestration: Architecture for Service Lifecycle Automation

Page 2: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

2 © 2016 Cisco and/or its affiliates. All rights reserved.

•  Architecture for Lifecycle Service Automation •  Four Pillars of Orchestration

•  Pillar 4: Data Models and Data Model Mapping

•  Demo

•  Resources

•  Q&A

Agenda

Page 3: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

3 © 2016 Cisco and/or its affiliates. All rights reserved.

Architecture for Lifecycle Service Automation

Event Management Alarm and Fault Customer Portals Order Management

Orchestration Reference Architecture

Orchestrated Assurance

Orchestrated Fulfillment

NFV Orchestration

OSS

Orchestration

Network

Page 4: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

4 © 2016 Cisco and/or its affiliates. All rights reserved.

Why Automate?

Execution at the speed of software

!  Agility, DevOps, NFV, SDN, new services platforms

Rapidly changing business models

!  Cloud services, virtualization, programmable networks

!  New ecosystems and value chains

!  OTT co-opetition

Changing customer behavior and new

expectations

!  Everything on demand !  New services with a press

of a button

All of this requires successful, flexible automation. But complexity has destroyed many automation initiatives.

Page 5: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

5 © 2016 Cisco and/or its affiliates. All rights reserved.

The Four Pillars of Orchestration

Orchestration Across Multiple Domains

1

State Convergence

2

Orchestrated Assurance

3

Data Models and Data Model Mapping

4

Foundation for Full Lifecycle Service Automation

Page 6: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

6 © 2016 Cisco and/or its affiliates. All rights reserved.

Some Notes on Models

Page 7: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

7 © 2016 Cisco and/or its affiliates. All rights reserved.

•  YANG is a Data Modeling Language •  Explicitly and precisely determines the

structure, syntax and semantics of the data…

•  …that is externally visible •  Consistent and complete

Data, Data Model and Protocols

7

Data Model

Configuration Database

Page 8: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

8 © 2016 Cisco and/or its affiliates. All rights reserved.

•  YANG is a Data Modeling Language •  Explicitly and precisely determines the

structure, syntax and semantics of the data…

•  …that is externally visible •  Consistent and complete

•  NETCONF and RESTCONF are Protocols •  Provides primitives to view and

manipulate data •  Content of the data as defined by the

data model

Data, Data Model and Protocols

Instance Data

Protocols

8

Data Model

Configuration Database

interface GigabitEthernet3 no switchport service instance 503 ethernet

Page 9: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

9 © 2016 Cisco and/or its affiliates. All rights reserved.

Beware Confusions on IM vs DM The main purpose of an IM is to model managed objects at a conceptual level, independent of any specific implementations or protocols used to transport the data.

[...]

DMs, conversely, are defined at a lower level of abstraction and include many details. They are intended for implementors and include protocol-specific constructs.

-- RFC 3444 On the Difference between Information Models and Data Models

9

Page 10: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

10 © 2016 Cisco and/or its affiliates. All rights reserved.

Languages, Encodings, Protocols Data Modeling Language Instance Encoding(s) Protocol(s)

SMI ASN.1 SNMP

SQL Schema SQL N/A

XML Schema XML N/A

Swagger JSON HTTP

YANG XML, JSON NETCONF, RESTCONF

Page 11: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

11 © 2016 Cisco and/or its affiliates. All rights reserved.

Example Languages, Encodings, Protocols Data Modeling Language Instance Encoding(s) Protocol(s)

SMI ASN.1 SNMP

SQL Schema SQL N/A

XML Schema XML N/A

Swagger JSON HTTP

YANG XML, JSON NETCONF, RESTCONF

Page 12: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

12 © 2016 Cisco and/or its affiliates. All rights reserved.

Data Models and Data Model Mapping

Page 13: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

13 © 2016 Cisco and/or its affiliates. All rights reserved.

What an Orchestrator Does

Devices (Routers, VNFs, VNFMs, Applications)

Services (Policies, Service Chains, Readiness),

Orders

A System

Operations Operations

Page 14: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

14 © 2016 Cisco and/or its affiliates. All rights reserved.

Without Models

Devices (Routers, VNFs, VNFMs, Applications)

Services (Policies, Service Chains, Readiness),

Orders

Operations Operations

•  Semantics in customer-specific code •  No versioning, automation or rendering •  Long and tedious software projects, months

Script Script Script Operations described in procedural scripts

• Services described in documents, diagrams outside system

• Translated into source code by integrator

Page 15: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

15 © 2016 Cisco and/or its affiliates. All rights reserved.

Introducing Models

Devices (Routers, VNFs, VNFMs, Applications)

Services (Policies, Service Chains, Readiness),

• Services described in data models inside system

Orders

Operations Operations

• Configuration and operational data described in data models

Page 16: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

16 © 2016 Cisco and/or its affiliates. All rights reserved.

Now, With Models

Devices (Routers, VNFs, VNFMs, Applications)

Services (Policies, Service Chains, Readiness),

Orders

Operations Operations

•  Semantic models by domain-experts •  Declarative data-model mapping •  Programming effort drastically reduced •  Iterations in days

• Services described in data models inside system

• Configuration and operational data described in data models

Page 17: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

17 © 2016 Cisco and/or its affiliates. All rights reserved.

Streamlining the Development Process

EMS

Developers

Product Owners

Bag of developed integrated software components

Informal Models (UML, SID, ...) Informal Models (UML, SID, ...)

Product Owners

Auto-generated code from models; APIs rendered at run-time

Developers

Network Services

Formal Data Models

Data Models YANG

YANG

What we used to do Where we are going

Page 18: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

18 © 2016 Cisco and/or its affiliates. All rights reserved.

Principles by Example

Page 19: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

19 © 2016 Cisco and/or its affiliates. All rights reserved.

Moving Parts

Service Manager

Device Manager

Fastmap

• A service model representing what the network does

• Can be consumed through any northbound

• A device model (IOS-XR) representing the configuration and operations data set

• Produces southbund protocol operations

• A programming environment that allows for: • Listening on operations in the service

tree • Manipulating device model data

.py, .tpl .java

Page 20: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

20 © 2016 Cisco and/or its affiliates. All rights reserved.

The Service Model in YANG

Page 21: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

21 © 2016 Cisco and/or its affiliates. All rights reserved.

The Service Model in YANG

services eline eline0 a-side GigabitEthernet 4 device ios0 remote-ip 192.168.0.1services eline eline0 z-side GigabitEthernet 4 device ios1 remote-ip 192.168.1.1

Example service instance:

Page 22: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

22 © 2016 Cisco and/or its affiliates. All rights reserved.

The Resulting Device Configuration

! A-side (device ios0)interface GigabitEthernet3 description a-side eline0 no switchport service instance 503 ethernet encapsulation default xconnect 192.168.0.1 503 encapsulation mpls

! Z-side (device ios1)interface GigabitEthernet4 description z-side eline0 no switchport service instance 503 ethernet encapsulation default xconnect 192.168.1.1 503 encapsulation mpls

Page 23: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

23 © 2016 Cisco and/or its affiliates. All rights reserved.

The Resulting Device Configuration (Mapping) eline0 serviceinstance 503 a-side GigabitEthernet 3 device ios0 remote-ip 192.168.0.1eline0 serviceinstance 503 z-side GigabitEthernet 4 device ios1 remote-ip 192.168.1.1

! A-side (device ios0)interface GigabitEthernet3 description a-side eline0 no switchport service instance 503 ethernet encapsulation default xconnect 192.168.0.1 503 encapsulation mpls

! Z-side (device ios1)interface GigabitEthernet4 description z-side eline0 no switchport service instance 503 ethernet encapsulation default xconnect 192.168.1.1 503 encapsulation mpls

Page 24: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

24 © 2016 Cisco and/or its affiliates. All rights reserved.

Let’s Run It

Page 25: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

25 © 2016 Cisco and/or its affiliates. All rights reserved.

Result: NetDevOps Cycle

Product Owner Software Engineering Infrastructure Engineering

.py, .tpl .java

Page 26: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

26 © 2016 Cisco and/or its affiliates. All rights reserved.

•  Informal and external definition of service, adds expensive interpretation steps

•  Precisely defined models drives the implementation itself by contract

Summary and Conclusions

•  Lack of lifecycle management of service definitions

•  Versioning and automation of models and mapping brings full lifecycle management

Page 27: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

27 © 2016 Cisco and/or its affiliates. All rights reserved.

•  Cisco NSO and ESC www.cisco.com/go/nso

•  Editorial Resources on LR

Resources

Page 28: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed

28 © 2016 Cisco and/or its affiliates. All rights reserved.

Q&A

Page 29: Four Pillars of Orchestration: Architecture for Service Lifecycle … · Service Manager Device Manager Fastmap • A service model representing what the network does • Can be consumed