dude… you put devops in your network? netdevops!€¦ · dude… you put devops in your network?...
TRANSCRIPT
Dude… You put DevOps in your
Network? NetDevOps!An evolution that goes beyond Infrastructure as Code and Automation
@hfprestongithub.com/hpreston
Hank Preston, Principal EngineerNetDevOps Evangelistccie 38336 R/S
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
Sometimes referred to as…
DevNetOps NetOps SuperNetOps
Network Reliability Engineering (NRE)
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
Network Operations in the Dark Ages (aka Today)
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
Consider the Network Stakeholders
Network Builders
• Traditional networking teams
• Design, Build, and Maintain the Network
• Responsible for Care and Feeding
Network Consumers
• The users of the network
• Looking to consume network “services”
• The network is a “utility” – It should just work
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Functional but considered fragile
• Network configuration more “art than science”
• Tribal knowledge of key engineers
Today’s reality…
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
“Every time we implement a network change something goes wrong…”
“Isn’t it great, our switch hasn’t been rebooted in 6 years”
“We can’t update/change the network, our business won’t allow it”
* Paraphrased quotes from actual network operators
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Haphazard collection of technologies
• Forensic research tool
• Scale challenges
• Lack of consistent and standard data models
• Performance impact on network
Network Monitoring Today
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
Changes happen rarely
Changes are big and
complicated
The team isn't well
practiced.
Change seen as high risk
Problem occurs during
change
Change seen as failure
Organizations Today have a
“Culture of Fear”
Today’s Network Operations Culture and Mindset
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
The Age of Enlightenment and NetDevOps
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Embrace failure
• Change is good
• Active collaboration
• Empowered accountability
• Feedback systems
• Automation
What is the “DevOps Culture”?
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
The NetDevOps Culture and MindsetChanges are
regular activities
Each change is
small
The team is well
practiced
Change was tested and
verified
Change was uneventful
Change seen as success
NetDevOps will require a
“Culture of Change”
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Network as Code and Configuration Managementstrategies
• Continuous Development approach to network changes.
• Continuous health and improvement approach to monitoring.
Configuration, Automation & Monitoring Principles
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
“Infrastructure as Code (IaC) is the process of managing and provisioning computer data centers through machine-readable definition files...”
Infrastructure as Code… huh?
https://en.wikipedia.org/wiki/Infrastructure_as_Code
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
Definition by Hank
Configuration Management: A mechanism for maintaining the characteristics of a system.
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• No more hand to hand combat configuration management
• Configuration Management today is about the “tools”
Mechanism = Automation
Consistency + Scale
Success!
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• The software and version installed
• System attributes like name, address, ownership, etc
• Feature specific configurations
Characteristics = Desired State
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
Definition by Hank
Configuration Management: A mechanism for maintaining the characteristics of a system.
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Network Configuration stored in Source Control
• Changes are proposed in code “branches”
• CICD Build Servers deploy and test proposed configurations
• Successful configurations automatically deployed to “Production”
Continuous Delivery Pipeline for Network Configuration
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
Example NetDevOps CICD EnvironmentSetup and run this demo: https://github.com/DevNetSandbox/sbx_multi_ios
Version Control
Network Simulation
Source Control/
Build
Chat and Notifications
Infrastructure as Code
Dev Network Environment
Network Testing
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
NetDevOps Will Deliver
Consistent Version Controlled Infrastructure deployed with Parallel & Automated Provisioning
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Modern data analytics tools
• Single data feed point from network
• New streaming telemetry protocols and standards
• “Real-time” data
• Actionable monitoring
Monitoring for NetDevOps
Data Ingest and Processing
Scalable Storage Platform
Query Engine
Visualization Platform
Learning and Analytics
Action and Response
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
Network Skills
• Spanning-Tree
• Routing Protocols
• QoS
• VPN Design
• VOIP
• Fibre Channel
• Security Policy
• MPLS
Programming Skills
• TCL
• EEM
• Expect Scripts
Yesterday’s Network Engineer
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
Network Skills
• Layer 2 & 3 Fundamentals
• Quality of Service
• Security and Segmentation
• Linux Networking
• Container Networking
• Cloud Networking
• IOT Networking
• Model Driven Programmability
• Network Function Virtualization
Platform Skills
• Linux Administration
• Container Fundamentals
• Micro Service Platforms
• Cloud Fundamentals
Programming Skills
• Data Formats
• Python and APIs
• Source Control
• Configuration Management
The NetDevOps Engineer
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
Carl’s 3 Step Approach to become a NetDevOps Engineer
Phase 1
• Python • REST APIs• JSON/XML• git/GitHub
• Linux Skills• Config Management• Docker• NETCONF/YANG
• Linux Networking • Container Networking • NFV
• Network Controllers• IOT Networking• Cloud Networking• ”DevOps”
Phase 2 Phase 3
As Needed
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
Distributed Source Control(git, Subversion, Mercurial, GitHub, BitBucket, GitLab)
The NetDevOps Engineers Tool Bag
Network Device
YANG/Native Data Model
Configuration Data Operational Data
Configuration Management(Ansible, Puppet, NSO, NAPALM, DIY)
Network Virtualization
Platforms(VIRL/CML, NFVIS,
Vagrant)
Build Server(GitLab, Jenkins, Team City, Drone)
Network Test Tooling(PyATS, TRex, Robot, Behave)
Telemetry & Monitoring(ELK, Grafana, Pipeline, UTM)
Development Environment(Vagrant, NSO, VIRL/CML)
Test Environment(VIRL/CML)
Production Environment
CLI SNMPNETCONF/RESTCONF
gRPC REST APIs
Example tools, not comprehensive
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• The Dark Arts of Network Operations
• The Age of Enlightenment and NetDevOps
• Becoming the NetDevOps Engineer
Review
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Weekly Webinar and Video Series
• Season 1 Sept – November
• Topics include Python, Ansible, Git/GitLab, Kubernetes, pyATS, NSO, ML/AI
Checkout NetDevOps Live!developer.cisco.com/netdevops/live
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• NetDevOps on DevNet
• NetDevOps Readings
• Embrace NetDevOps, Say Goodbye to a "Culture of Fear”
• NetDevOps Goes Beyond Infrastructure as Code
• What does "Network as Code" Mean?
• A Network Engineers Journey in Programmability
• NetDevOps Learning Resources
• Network Programmability Basics Video Course
• NetDevOps Live! Video Series
• NetDevOps Learning Track
• NetDevOps Videos
• How to be a Network Engineer in a Programmable Age
• Network as Code in Action
• Benefits of Configuration Management
What do do next?
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
Got more questions? Stay in touch!
@hfpreston
http://github.com/hpreston
@CiscoDevNet
facebook.com/ciscodevnet/
http://github.com/CiscoDevNet
Hank Preston developer.cisco.com