four pillars of orchestration: architecture for service lifecycle … · service manager device...
TRANSCRIPT
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
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
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
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.
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
6 © 2016 Cisco and/or its affiliates. All rights reserved.
Some Notes on Models
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
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
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
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
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
12 © 2016 Cisco and/or its affiliates. All rights reserved.
Data Models and Data Model Mapping
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
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
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
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
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
18 © 2016 Cisco and/or its affiliates. All rights reserved.
Principles by Example
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
20 © 2016 Cisco and/or its affiliates. All rights reserved.
The Service Model in YANG
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:
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
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
24 © 2016 Cisco and/or its affiliates. All rights reserved.
Let’s Run It
25 © 2016 Cisco and/or its affiliates. All rights reserved.
Result: NetDevOps Cycle
Product Owner Software Engineering Infrastructure Engineering
.py, .tpl .java
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
27 © 2016 Cisco and/or its affiliates. All rights reserved.
• Cisco NSO and ESC www.cisco.com/go/nso
• Editorial Resources on LR
Resources
28 © 2016 Cisco and/or its affiliates. All rights reserved.
Q&A