Zero-Touch Operations - Managing Your Network as Code

Similar documents
NXOS in the Real World Using NX-API REST

Automation and Programmability using Cisco Open NXOS and DevOps Tools

NetDevOps Style Configuration Management for the Network

CloudCenter for Developers

DevNet Workshop-Hands-on with CloudCenter and Jenkins

DevOps CICD for VNF a NetOps Approach

Routing Underlay and NFV Automation with DNA Center

Managing The Digital Network Workforce Transformation

DEVNET Introduction to Git. Ashley Roach Principal Engineer Evangelist

Cisco SD-Access Hands-on Lab

Empower your testing with Cisco Test Automation Solution Featuring pyats & Genie

Cisco VIRL. The Swiss-Army Knife of Network Simulators. Simon Knight, Software Engineer Brian Daugherty, Technical Leader.

Deploying Cloud-Agnostic Applications with Cisco CloudCenter

VXLAN EVPN Fabric and automation using Ansible

Cisco Container Platform

Cloud Mobility: Meraki Wireless & EMM

Azure DevOps. Randy Pagels Intelligent Cloud Technical Specialist Great Lakes Region

Introduction to OpenConfig

PSOACI Why ACI: An overview and a customer (BBVA) perspective. Technology Officer DC EMEAR Cisco

Insights into your WLC with Wireless Streaming Telemetry

Cisco Spark Messaging APIs - Integration Platforms as a Service Real World Use-Cases

FROM VSTS TO AZURE DEVOPS

Cisco DNA Center and Italtel Netwrapper Evolution: Network and Applications come together

NetDevOps for the Network Dude How to get started with API's, Ansible and Python

DEVOPSIFYING NETWORK SECURITY. An AlgoSec Technical Whitepaper

Automation with Meraki Provisioning API

Simulating Networks Using Cisco Modelling Labs

DNA Automation Services Offerings

Customer s journey into the private cloud with Cisco Enterprise Cloud Suite

Git, Atom, virtualenv, oh my! Learn about dev tools to live by!

Cisco UCS Director and ACI Advanced Deployment Lab

APIC-EM / EasyQoS - End to End Orchestration of QoS in Enterprise Networks

Getting Started with OpenStack

Contiv installation and integration with ACI

Tetration Hands-on Lab from Deployment to Operations Support

I keep hearing about DevOps What is it?

The Transformation of Media & Broadcast Video Production to a Professional Media Network

Marc Hornbeek DevOps-the-Gray Principal DevOps Consultant, Trace3 Author, DevOps Test Engineering Course The DevOps Institute

Designing and Implementing Cisco Network Programmability (NPDESI) v1.0

Cisco Modelling Labs Lessons from a Virtual World

How to be a Network Engineer in a Programmable Age An evolution that goes beyond Infrastructure as Code and Automation

PSOACI Tetration Overview. Mike Herbert

Turbo boost your digital app test automation with Jenkins

Cisco Virtualized Infrastructure Manager

Simplify and automate your network with Cisco DNA

Contiv installation and integration with ACI. LTRCLD-2003

How to Build an Appium Continuous Testing Pipeline

2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Hybrid Cloud Automation using Cisco CloudCenter API

DevOps Using VSTS and Azure

Cisco Spark Widgets Technical drill down

PnP Deep Dive Hands-on with APIC-EM and Prime Infrastructure

Hands-On with IoT Standards & Protocols

Cisco SD-Access Building the Routed Underlay

Delivering on Cloud Transformation Infinite Solutions update. Presenter: Adam Davies, January 20 th, 2016

Migrating Applications with CloudCenter

User Workspace Management

Get Hands On With DNA Center APIs for Managing Intent

Introducing Cisco Network Assurance Engine

Taming your heterogeneous cloud with Red Hat OpenShift Container Platform.

NetDevOps. Building New Culture around Infrastructure as Code and Automation. Tom Davies Sr. Manager,

Multi-Cloud and Application Centric Modeling, Deployment and Management with Cisco CloudCenter (CliQr)

2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Getting Started With Containers

Cisco Spark. Questions? Use Cisco Spark to communicate with the speaker after the session. How

Cisco UCS Agentless Configuration Management Ansible or Microsoft DSC

Deep Dive on AWS CodeStar

Kuber-what?! Learn about Kubernetes

Test Automation Strategies in Continuous Delivery. Nandan Shinde Test Automation Architect (Tech CoE) Cognizant Technology Solutions

Next generation branch with SD-WAN and NFV

NetDevOps Style Configuration Management for the Network

TRex Realistic Traffic Generator

NetBrain Technologies: Achieving Agile Network Operations: How Automation Can Improve Visibility Across Hybrid Infrastructures

Enterprise Recording and Live Streaming Architecture with VBrick

Sunil Shah SECURE, FLEXIBLE CONTINUOUS DELIVERY PIPELINES WITH GITLAB AND DC/OS Mesosphere, Inc. All Rights Reserved.

Spark SDK Video - Overview and Coding Demo

Catalyst 9K High Availability Lab

Your API Toolbelt Tools and techniques for testing, monitoring, and troubleshooting REST API requests

NITA Based Offers and Services

DevOps Made Easy. Shireesh Thanneru, Platform Architect. Intel. Linoy Alexander, Director, DevOps

Advanced Continuous Delivery Strategies for Containerized Applications Using DC/OS

The Road to Digital Transformation: Increase Agility Building and Managing Cloud Infrastructure. Albert Law Solution Architect Manager

Serviceability of SD-WAN

Azure Highlights. Randy Pagels Sr. Developer Technology Specialist US DX Developer Tools - Central Region

Multi-Cloud and Application Centric Modeling, Deployment and Management with Cisco CloudCenter (CliQr)

Benefits of SDN Modeling and Analytics tool for complex Service Provider Network

Consuming Model-Driven Telemetry

BGP in the Enterprise for Fun and (fake) Profit: A Hands-On Lab

Hands On Exploration of NETCONF and YANG

Cisco Hosted Collaboration Solution (HCS) and Cisco Collaboration Cloud

Who wants to be a millionaire? A class in creating your own cryptocurrency

Azure Day Application Development. Randy Pagels Sr. Developer Technology Specialist US DX Developer Tools - Central Region

Cisco Network Programmability for the Enterprise NPEN v1.0

Cisco Enterprise Agreement

Orange: Cisco & Orange: a human touch for a digital experience

Simplifying Collaboration Deployments with Prime Collaboration

TM DevOps Use Case. 2017TechMinfy All Rights Reserved

TM DevOps Use Case. 2017TechMinfy All Rights Reserved

How the Cloud is Enabling the Disruption of the Construction Industry. AWS Case Study Construction Industry. Abstract

NSO in Brownfield: Fully Automated One-Click Reconciliation

Transcription:

BRKSDN-2644 Zero-Touch Operations - Managing Your Network as Code Xavier Mertens Global Systems Engineer - CGEM

Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session in the Cisco Live Mobile App 2. Click Join the Discussion 3. Install Spark or go directly to the space 4. Enter messages/questions in the space cs.co/ciscolivebot#brksdn-2644

Agenda Introduction DevOps - the Story Concept of CI/CD Selected Components And Cisco DNA-Center? Conclusion

Belgium? Belgian Beer is clasified as Unesco world heritage The only country in the world with a beer pipeline Rich chocolate history known as Belgian chocolate Belgian Waffles anyone? Even in New York you find Belgian Style French Fries Hosting largest Airplane Fuel Storage in Europe (Ghent) CEPS (Central European Pipe System) pipeline system Belgium BRKSDN-2644 5

Who is Xavier? Antwerp - Belgium Technology Science Nature

Who is Xavier? Networking Programmability Automation Assurance

Abstract Automating networking operations with infrastructure as code enables networking teams to adopt DevOps practices. You can propose high-level network-wide intent based changes, put them into version control, and subject them to peer review, testing and approval, before promoting these changes to production. Network changes are automatically halted and automatically rolled-back by the management infrastructure if your network displays unintended behavior. With Zero-Touch operations, continuous incremental evolution results in a more robust infrastructure rather than in-frequent large changes resulting in fewer network failures and freeing your operations teams from non-value added troubleshooting activities. BRKSDN-2644 8

Demographics of this room 13% Network Engineers, Architects & IT Specialists Management, Business Development 17% 4% Operations 66% BRKSDN-2644 9

DevOps The Story

Developers Writing code APIs Libraries (DLLs) Progressive Daily changes Let me try this :-) Operations Standards Stability MTTR Reach 5-nines Costs & Lost Prod. Please no Change

Confusion DevOps This is a cool new feature for the business let s get it out. Operations will not like it, they are so paranoid. Sigh, next change window is only in 3 months! Vlan 20 service-routing mdns-sd service-policy gui-permit-all IN service-policy gui-permit-all OUT redistribute mdns-sd Again a new feature? We are finally running stable. New config code and I bet I ll need a newer software too. Could I even take the risk? The business is working 24/7! Ellie from Development Jake from Operations BRKSDN-2644 12

Collide or Co-exist?

General stages of DevOps Source Code Management Code Review Automated Testing Collaboration Release Configuration management

DevOps Find the compromise Tools & Culture are key Agile Tools Deliver faster Deliver More Frequently Remain accurate Test before you go Based On CALMS

DevOps & CALMS Culture Automation Lean Measurement Sharing

Culture Considerations This circle of trust is helping us forward like never before. We can circle from Devs to Ops and back! We find solutions. When it goes wrong we don t blame, we enhance! This ongoing documentation helps us further automate.

Balance the worlds with CI/CD A pipeline of trust, collaboration and balance BRKSDN-264418

Concept of CI/CD

Definition Continuous Integration (CI) Software engineering approach Merging all developers copies into mainline Merge daily or even few times a day Source: https://en.wikipedia.org/wiki/continuous_integration BRKSDN-2644 20

Definition of Continuous Delivery (CD) Software engineering approach Produce software in short cycles Reliably released at any time Aimed to reduce cost, time and risk Straight forward and repeatable Source: https://en.wikipedia.org/wiki/continuous_delivery BRKSDN-2644 21

DevOps Periodic Table Source: https://xebialabs.com/periodic-table-of-devops-tools/ BRKSDN-2644 22

CI/CD Pipeline Toolchain example Test Code/Commit CI/CD Build/ Notify Config Note: VIRL is a learning edtion. Cisco Modelling Labs (CML) is the corporate edition BRKSDN-2644 23

Selection for this session Test Code/Commit CI/CD Build/ Notify Config Note: VIRL is a learning edtion. Cisco Modelling Labs (CML) is the corporate edition BRKSDN-2644 24

Selected components

Jenkins

Jenkins Test Code/Commit CI/CD Build/ Config Notify BRKSDN-2644 27

What is Jenkins </> L Build & Test Software/Code projects Continuous Integration Continuous Delivery Platform Large Plug-in Eco-System Integrates with Git, Github, VSTS, etc Large adoption within the software dev world BRKSDN-2644 28

Jenkins First time login Create new pipelines Systems Settings & Plugins BRKSDN-2644 29

Jenkins Setup your first pipeline task BRKSDN-2644 30

Jenkins Setup your first pipeline task BRKSDN-2644 31

Jenkins Setup your first pipeline task BRKSDN-2644 32

Jenkins Setup your first pipeline task BRKSDN-2644 33

Microsoft VSTS

Microsoft Visual Studio Team Services (2018) Test Code/Commit CI/CD Build/ Config Notify BRKSDN-2644 35

Create a new repository for your CI/CD project BRKSDN-2644 36

Service hooks can trigger external events BRKSDN-2644 37

Create a service hook to Jenkins BRKSDN-2644 38

Create a service hook to Jenkins Licensing: https://www.visualstudio.com/team-services/tfs-pricing/ BRKSDN-2644 39

Code editor

Popular Editors Insights based on 39,441 developers Source: http://research.hackerrank.com/developer-skills/2018/

Visual Studio Code macos, Linux and Windows 100+ language support Syntax highlighting, auto-indentation, etc Free for private or corporate use License: https://code.visualstudio.com/license BRKSDN-2644 42

Visual Studio Code BRKSDN-2644 43

Visual Studio Code connect your repository (git) Windows CTRL+Shift+P; MAC: + +P; Linux: CTRL+Shift+P BRKSDN-2644 44

Visual Studio Code connect your repository (git) BRKSDN-2644 45

Visual Studio Code connect your repository (git) BRKSDN-2644 46

Visual Studio Code connect your repository (git) BRKSDN-2644 47

Visual Studio Code Congratulations BRKSDN-2644 48

Ansible

Ansible Test Code/Commit CI/CD Build/ Config Notify BRKSDN-2644 50

What is Ansible IT Automation Decrease Mistakes Remove Repetitive Tasks Simple language for Playbooks Infrastructure - Networks - Cloud & more BRKSDN-2644 51

Ansible Playbook language

Ansible uses YAML YAML Ain't Markup Language (YAML) BRKSDN-2644 53

Ansible uses YAML Human-readable Data Serialization Language Higly Structured BRKSDN-2644 54

Yaml Decalarations Lists Associative Arrays Name: This is my name - list item 1 - list item 2 - list item 3 - name: run some show ios command: commands: sh version commands: sh cdp Indentation is used to logically devide. Use paces No Tabs! BRKSDN-2644 55

Playing with Ansible

Testing basic ansible First playbook (CLI) ver.yml run a show version agains some core switches (Nexus) coreswitches is a variable defined in an inventory file This will store the result into an output file BRKSDN-2644 57

Testing basic ansible First playbook (CLI) How does an inventory file looks like? [...] demarks the variable set Each line below consits of a hostname or IP-address of the target host BRKSDN-2644 58

Testing basic ansible First playbook (CLI) 1. inventory (file) 1. ver.yml (file) BRKSDN-2644 59

Testing basic ansible First playbook (CLI) 3. Run from CLI 4. Ansible results log BRKSDN-2644 60

Testing basic ansible First playbook (CLI) 5. Content in the output file BRKSDN-2644 61

Testing basic ansible First playbook (CLI) What if I don t want a playbook to ask for any password? This could be useful when integrating with Jenkins Your infrastructure username/password can be integrated in your inventory file BRKSDN-2644 62

VIRL (CML)

VIRL (CML) Test Code/Commit CI/CD Build/ Config Notify BRKSDN-2644 64

What is VIRL (CML) A scalable virtualization software platform that enables teams to design, build, test, and deploy real-world simulations in a virtual environment Leverages real network OS (routers, switches, etc) Virtualizes Network Topologies Offers APIs to Start Simulations BRKSDN-2644 65

CML Supported Platforms IOS IOS XR IOS XE ASA Nexus Other Containers LXC IPerf Ostinato Virtualized in IOSv and IOSv L2 Virtualized in XRv & XRv 9000 Same Control-plane code Same Management plane code Same memory footprint Virtualized CSR1000v Virtualized ASAv Virtualized NX-OS 9000v Server Ubuntu Different CPU performance Different Forwarding plane code No ASIC emulation Virtual images are a representation of the OS and not of the hardware platform BRKSDN-2644 66

VIRL vs CML Cisco Modeling Labs Corporate Edition Virtual Internet Routing Lab Personal Edition User Corporate Individual Number of users Unlimited Single User Cisco Node Limit 300 per system 20 Technical Support Cisco TAC Community Call Home Required No Yes. Weekly Usage Tracking send to Cisco No Yes. Can be disabled. Source: https://www.cisco.com/c/dam/en/us/products/collateral/cloud-systems-management/modeling-labs/q-and-a-c67-731850.pdf BRKSDN-2644 67

Collaboration ChatOps Notification

Spark & Tropo Test Code/Commit CI/CD Build/ Config Notify BRKSDN-2644 69

The Solution Cisco Cloud Collaboration Developer Platforms Open APIs & SDKs to integrate, extend, and customize Spark experiences Tropo Platform Cisco Spark Platform Open APIs for embedding voice and SMS services to enhance business processes Complete collaboration solution Connect people, services and business processes like never before Modular building blocks BRKSDN-2644 70

Complementary Developer Platforms Cisco Spark for Devs Tropo Platform Complete collaboration service Building better teams Subscription-based pricing for enterprise IT feature set Make Spark experiences even better API as the product telephony centric use cases Vertical business application focus Pay-as-you-go Add communications to apps and business processes BRKSDN-2644 71

Integrations & Bots APIs & SDKs INTEGRATED 72

And Cisco DNA-Center?

DevOps Periodic Table Source: https://xebialabs.com/periodic-table-of-devops-tools/ BRKSDN-2644 74

Cisco DNA Center 121 En BI / Monitoring Config / Provisioning Logging Testing Enterprise En Dna DNA Center BRKSDN-2644 75

IOS XE 16.x Enables Cisco Solutions 3 rd Party Integration DIY Solutions DNA Center Standards Based Interoperability Model Driven Programmability Custom Development Model Driven Telemetry Policy Automation Analytics SDN Controllers CI/CD Tools NMS Systems Zero Touch Provisioning App Hosting Guest Shell (On Box Python) Intent-based Network Infrastructure Intent-based Network Infrastructure Intent-based Network Infrastructure BRKSDN-2644 76

Conclusion

Conclusion Culture Remove the Wall DevOps for Automation Start creating your own toolchain

Confusion And before we go Ellie from Development Jake from Operations BRKSDN-2644 79

Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session in the Cisco Live Mobile App 2. Click Join the Discussion 3. Install Spark or go directly to the space 4. Enter messages/questions in the space cs.co/ciscolivebot#brksdn-2644

Please complete your Online Session Evaluations after each session Complete 4 Session Evaluations & the Overall Conference Evaluation (available from Thursday) to receive your Cisco Live T-shirt All surveys can be completed via the Cisco Live Mobile App or the Communication Stations Complete Your Online Session Evaluation Don t forget: Cisco Live sessions will be available for viewing on-demand after the event at www.ciscolive.com/global/on-demand-library/.

Continue Your Education Demos in the Cisco campus Walk-in Self-Paced Labs Tech Circle Meet the Engineer 1:1 meetings Related sessions BRKSDN-2644 82

Thank you