how to be a network engineer in a programmable · team city, drone, puppet, ansible, chef vagrant,...

54

Upload: dangdung

Post on 28-Jul-2018

236 views

Category:

Documents


0 download

TRANSCRIPT

How to Be a Network Engineer in a Programmable Age

Hank Preston, NetDevOps Evangelistccie 38336, R/S@hfpreston

DEVNET-1725

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

Cisco Spark

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

How

cs.co/ciscolivebot#DEVNET-1725

• The Network Engineer of Old

• The Four Ages of Networking

• Cloud to the Rescue

• Enter NetDevOps

• Today’s Network Engineer

How to Be

A Network Engineer in a Programmable Age

rtr$ conf t

The Network Engineer Evolves

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

A look at our history…

DEVNET-1725 5

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

Meet Carl the Network Engineer

Programming Skills Networking Skills

• TCL

• EEM

• Expect Scripts

• Spanning-Tree

• Routing Protocols

• QoS

• VPN Design

• Spanning-Tree

• VOIP

• Fibre Channel

• Security Policy

• MPLS

• Spanning-Tree

• Did I mention Spanning-Tree?

DEVNET-1725 6

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

The Network…

DEVNET-1725 7

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

The Network…

DEVNET-1725 8

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

The Network…

DEVNET-1725 9

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

The Network…

DEVNET-1725 10

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

The Network…

DEVNET-1725 11

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

The Network…

DEVNET-1725 12

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

Please don’t

ask about this…

Black Magic

Oh Yeah… We

Got this

DEVNET-1725

The OSI Model of Networking…

L1: Physical

L2: Data Link

L3: Network

L4: Transport

L5: Session

L6: Presentation

L7: Application

13

Networking through the ages…

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco PublicDEVNET-1725

The Four Ages of Networking…..

Stone Age

Spanning Tree

VLANs

DEVNET-1725 15

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco PublicDEVNET-1725

The Four Ages of Networking…..

Stone Age Bronze Age

Spanning Tree

VLANs

Routing Protocols

WAN Design

IP-magedon

DEVNET-1725 16

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco PublicDEVNET-1725

The Four Ages of Networking…..

Stone Age Bronze Age The Renaissance

Spanning Tree

VLANs

Routing Protocols

WAN Design

IP-magedon

SDN

OpenFlow

Controllers

Overlays

MP-BGP

VXLAN

Micro-Segmentation

White Box

DEVNET-1725 17

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco PublicDEVNET-1725

The Four Ages of Networking…..

Stone Age Bronze Age The Renaissance Programmable Age

Spanning Tree

VLANs

Routing Protocols

WAN Design

IP-magedon

SDN

OpenFlow

Controllers

Overlays

MP-BGP

VXLAN

Micro-Segmentation

White Box

Cloud

Python

REST / APIs

NETCONF / YANG

“Fabrics”

Network Function Virtualization (NFV)

DevOps

Containers

DEVNET-1725 18

”Digitization” in the Enterprise

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

App Economy Internet of Things Tech Unicorns

User Expectations and Agility If it isn’t connected, don’t

bother…

Low barrier of entry for

disruptors

DEVNET-1725 20

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 21DEVNET-1725

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

The Cloud You Plan to Build

DEVNET-1725

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

The Cloud You End Up With

The Cloud You Plan to Build

DEVNET-1725

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco PublicDEVNET-1725

The New Infrastructure Stack

Infrastructure

Operating System

Development

EnvironmentVagrant, Docker, Vim, Slack,

Spark, Git

UCS/ACI, HP, vSphere/NSX

CoreOS, Rancher, RedHat,

Ubuntu, Microsoft

Users and

Developers

Architects and

Operators 24

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco PublicDEVNET-1725

The New Infrastructure Stack

Infrastructure

Operating System

Cloud Management

and Automation

Delivery Pipeline

Development

Environment

GitHub, BitBucket, Jenkins,

Team City, Drone, Puppet,

Ansible, Chef

Vagrant, Docker, Vim, Slack,

Spark, Git

UCS/ACI, HP, vSphere/NSX

CoreOS, Rancher, RedHat,

Ubuntu, Microsoft

UCS Director, vRealize,

OpenStack, AWS, CloudCenter

Users and

Developers

Architects and

Operators 25

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco PublicDEVNET-1725

The New Infrastructure Stack

Infrastructure

Operating System

Cloud Management

and Automation

Scheduling and

Placement

Applications and

Middleware

Delivery Pipeline

Development

Environment

Container Layer

Docker/Swarm, Kubernetes,

Mesosphere, Tectonic, Rancher,

Rocket

HAProxy, Cassandra,

RabbitMQ, Hadoop, Consul

GitHub, BitBucket, Jenkins,

Team City, Drone, Puppet,

Ansible, Chef

Vagrant, Docker, Vim, Slack,

Spark, Git

UCS/ACI, HP, vSphere/NSX

CoreOS, Rancher, RedHat,

Ubuntu, Microsoft

UCS Director, vRealize,

OpenStack, AWS, CloudCenter

Users and

Developers

Architects and

Operators 26

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco PublicDEVNET-1725

The New Infrastructure Stack

Infrastructure

Operating System

Cloud Management

and Automation

Scheduling and

Placement

Applications and

Middleware

Delivery Pipeline

Development

Environment

Container Layer

Docker/Swarm, Kubernetes,

Mesosphere, Tectonic, Rancher,

Rocket

HAProxy, Cassandra,

RabbitMQ, Hadoop, Consul

GitHub, BitBucket, Jenkins,

Team City, Drone, Puppet,

Ansible, Chef

Vagrant, Docker, Vim, Slack,

Spark, Git

UCS/ACI, HP, vSphere/NSX

CoreOS, Rancher, RedHat,

Ubuntu, Microsoft

UCS Director, vRealize,

OpenStack, AWS, CloudCenter

Users and

Developers

Architects and

Operators

DevOps

Engineers

27

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco PublicDEVNET-1725

The New Infrastructure Stack

Infrastructure

Operating System

Cloud Management

and Automation

Scheduling and

Placement

Applications and

Middleware

Delivery Pipeline

Development

Environment

Iaa

SP

aa

S

Container Layer

Docker/Swarm, Kubernetes,

Mesosphere, Tectonic, Rancher,

Rocket

HAProxy, Cassandra,

RabbitMQ, Hadoop, Consul

GitHub, BitBucket, Jenkins,

Team City, Drone, Puppet,

Ansible, Chef

Vagrant, Docker, Vim, Slack,

Spark, Git

UCS/ACI, HP, vSphere/NSX

CoreOS, Rancher, RedHat,

Ubuntu, Microsoft

UCS Director, vRealize,

OpenStack, AWS, CloudCenter

Users and

Developers

Architects and

Operators

DevOps

Engineers

28

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

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

DEVNET-1725 29

Enter NetDevOps!

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 31DEVNET-1725

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

Moving to a NetDevOps Culture and Mindset

DEVNET-1725 32

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

Moving to a NetDevOps Culture and Mindset

DEVNET-1725 33

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 34DEVNET-1725

NetDevOps Pipeline: “Treating the Network as Code”

• 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”

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

Infrastructure as Code Repositories

The NetDevOps Configuration Tooling Stack

Network Device

YANG Data Model

Configuration Data Operational Data

Configuration Management

Network

Virtualization

Platforms

Build Server

Network Test Tooling Telemetry & Monitoring

Development Environment Test Environment Production Environment

CLI NETCONF RESTCONF gRPC SNMP

DEVNET-1725 35

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco PublicDEVNET-1725 36

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco PublicDEVNET-1725 37

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

Carl’s 3 Step Approach to Network Programmability

Phase 1

• Python

• REST APIs

• JSON/XML

• git/GitHub

• Linux Skills

• Ansible

• Docker

• NETCONF/YANG

• Linux Networking

• Container Networking

• NFV

• Network Controllers

• IOT Networking

• Cloud Networking

• ”DevOps”

Phase 2 Phase 3

As Needed

DEVNET-1725 38

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

Carl has Embraced Programmability!

Core Programming “New” Networking Stuff

• Python

• REST APIs

• JSON/XML

• Linux Skills

• Ansible(Puppet/Chef/etc)

• git/GitHub

• Docker

• ”DevOps”

• Network Controllers

• NETCONF/YANG

• Container Networking

• Cloud Networking

• Linux Networking

• IOT Networking

• NFV

• NetDevOps

DEVNET-1725 39

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco PublicDEVNET-1725 40

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

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

Network Programmability Basics Video Course!

• 28 video lessons across 6 Categories

• Programming Fundamentals

• Network Device APIs

• Network Controllers

• Application Hosting

• NetDevOps

• Setup Instructions, Code Samples, and Infrastructure Sandboxes all provided

• 100% Free!

https://developer.cisco.com/video/net-prog-basics/

DEVNET-1725

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 43DEVNET-1725

Networking on DevNethttp://developer.cisco.com/networking

DevNet is “the” resource for engineers looking to get started with network programmability

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 44DEVNET-1725

DevNet Learning Labs Anytime, Anywhere! http://learninglabs.cisco.com

* New Labs and Modules Always in Development, check back often

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 45DEVNET-1725

DevNet Sandboxhttp://developer.cisco.com/sandbox

* New Sandboxes always in Development, check back often

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 46DEVNET-1725

DevNet Express – “DevNet Zone in your Backyard”http://devnetevents.cisco.com

LISTEN … to technology overviews

LEARN … from trainers

PUT IT INTO PRACTICE … by completing hands-on missions

Then go back home to try it out yourself using the training

material in the online DevNet Learning Tracks

Digital Network Architecture ~ Data Center Infrastructure ~ Cloud Collaboration

And Done!

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

• We looked back on the history of the network and network engineering

• Traveled through the Four Ages of Networking

• Talked about the impact “Cloud” has had on IT

• Explored how NetDevOps will change Networking

• Considered the skills a network engineer needs today

Review

DEVNET-1725 48

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

Hank Preston

[email protected]

• @hfpreston

• http://github.com/hpreston

Cisco DevNet

• @CiscoDevNet

• facebook.com/ciscodevnet/

• http://github.com/CiscoDevNet

Got more questions? Come find me!

DEVNET-1725 49

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

Cisco Spark

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

How

cs.co/ciscolivebot#DEVNET-1725

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

• 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

Don’t forget: Cisco Live sessions will be available for viewing on-demand after the event at www.ciscolive.com/global/on-demand-library/.

Complete Your Online Session Evaluation

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

Continue Your Education

• Demos in the Cisco campus

• Walk-in Self-Paced Labs

• Tech Circle

• Meet the Engineer 1:1 meetings

• Related sessions

52DEVNET-1725

Thank you