Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
John Malzahn – Host, Senior Manager, Cloud and Virtualization Solutions Marketing, Cisco Systems
Carl Moberg – Technical Director, Cisco Systems
Andrius Benokraitis – Principal Product Manager, Networking, Ansible by Red Hat
Ian Hood – Chief Technologist, Global Telco, Red Hat
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Agenda
Red Hat
1 Ansible Automation
Cisco NSO
2 Lifecycle Orchestration
Better Together:
3 Ansible and Cisco NSO
4 Demo
5 Wrap-up
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Automation with Ansible
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
No matter where you are on your path
to digital transformation, you can
make an impact with automation.
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
How are you thinking about management?
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Everyone is talking about
automation
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
ANSIBLE IS THE UNIVERSAL LANGUAGE
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
RED HAT ANSIBLE TOWER
Scale + operationalize your automation
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Cisco NSO
The Industry Leading Network
Automation & Orchestration Platform
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Cisco NSO – The Network API
Automation Network
Frameworks Engineers • No hard-coded assumptions
about:
Northbound: REST, NETCONF, JSON-RPC, Java, Python, Erlang, CLI, Web UI • Network services
• Network architecture
• Network devices
Cisco NSO • YANG-based data store driving
the north- and southbound
interfaces
Southbound: 70+ vendors across physical and virtual networks
• Southbound multi-protocol
CPE Metro and Access WAN Data Center support including NETCONF,
REST, CLI, SNMP
• Massively scalable
architecture deployed in
networks with 100k+ devices
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Network Device Stack
Single entry point Features Change Rate
for configuration,
operations CLI/NETCONF/etc with supporting High, depends on
infrastructure including config master location in network
db for inflight changes and service:
Config Management • Day0/1 on install
In-memory and/or artifacts on disk • Day N for services
complicated updates through micro-
Application Config orchestration
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
From Devices (ConfD)…
CLI SNMP NETCONF REST Challenges:
• Many different APIs and interfaces
ConfD to the north
• Heterogenous environment to
Data
Data the south
Models
Models CDB • One operation may lead to
many activities
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
…to Networks (NSO)
CLI SNMP NETCONF REST Challenges are very similar, but larger
scale, more distributed
NSO Service
So we added some more to the
Models
solution:
Device
CDB • Layered models for abstraction
Models • Mapping between layers
• Adapters for talking different protocols
NED NED NED NED
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Automation
Better Together with Ansible
+ NSO
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Reference Architectures
Spanning Applications and Networks
Application Centric Connectivity Centric
Playbooks
Ansible NSO
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Ansible Plus Cisco NSO – Better Together
Infrastructure teams:
• Owns lifecycle of network services
Hybrid Network
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Applicable Cisco NSO Features
Ansible • NSO provides a full CRUD
Playbook
Playbook
Playbook interface
• Create – easy
NSO module
• Update – hard
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Module Commonality
• YAML data encoding for all Ansible features
• YAML encoding is straight translation from the JSON data structures
natively provided by NSO, e.g:
• curl -H "Accept: application/yang-data+json" \
http://localhost:8080/restconf/data/devices/ | json2yaml
• Input data is runtime validated against applicable subset of NSO YANG
modules
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Value of Ansible Tower + Cisco NSO
• Single Ansible module • Gain immediate control over
leveraging NSO to support 70+ the entire network from data
vendors across domains center to CPE
• Integrated YANG-support for • Significantly reduce the amount
model-driven configuration of time spent testing
validation configuration changes
• Full rollback capabilities across • Reduce fallouts requiring
vendors and device types manual intervention to a
minimum
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Automating Your
Infrastructure with Ansible
Tower and Cisco NSO
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
AUTOMATION >> Ansible + Cisco NSO Use Cases
Network Continuous
Automation Compliance
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Automating Mobile Services – vIMS / vEPC Use Cases
• Service Orchestration ServiceService Provider
Provider Cloud Cloud
• SDN / Network Automation
• RHOSP Deployment Automation Orchestration/Automation
• Ceph Storage Automation
Ansible
CloudForms
•VNF / Workload Placement Tower Cisco NSO
Customers
Business Location /
Venues
NFVI RH OSP
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Demo Time!
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Demo Setup – Cisco NSO
JSON-
CLI REST
RPC • Three groups of three routers each,
running in netsim (management only,
NSO
no packets passed)
CDB
• Appropriate NEDs loaded to support
the router types and protocols
XE (CLI) XR (CLI)
NETCON
F
• I’ll use the CLI and REST for manual
steps, and Ansible will use the JSON-
RPC interface
JSON-RPC
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Summary
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
What You Gain
Cisco Network Services Orchestrator + Ansible Tower
• Agility Throughout Service Lifecycle
- Strict YANG model-driven solution
- Auto-rendered business logic results in 90% less code
- Effortlessly re-deployment of updated service and device models
- DevOps for differentiation
• Full automation of Applications and Networks
• Robust and Proven in tier-1 Deployments
• Industry’s Broadest Multivendor Support
• Relevant in today’s and tomorrow’s networks
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
For more information
Visit:
www.cisco.com/go/nso
www.redhat.com/ansible
© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential