Cisco VIRL - clnv.s3.amazonaws.comclnv.s3.amazonaws.com/2017/eur/pdf/DEVNET-1172.pdf · Cisco VIRL...

46

Transcript of Cisco VIRL - clnv.s3.amazonaws.comclnv.s3.amazonaws.com/2017/eur/pdf/DEVNET-1172.pdf · Cisco VIRL...

Cisco VIRLThe Swiss-Army Knife of Network Simulators

Simon Knight, Software Engineer

Brian Daugherty, Technical Leader

DevNet-1172

Agenda

• What is VIRL?

• VIRL Components and Architecture

• VIRL Demonstration

• Key VIRL Use-Cases

• VIRL APIs

• Conclusion

What is VIRL?

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

Virtual Internet Routing Lab

A network orchestration and virtualization platform that allows you to:

• Design graphically

• Configure automatically

• Visualize and validate

• Interact like it’s real

• Connect to live networks

• Integrate into DevOps

DEVNET-1172 5

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

Why Should You Care?

• Because you’re a student or teacher, network operator, engineer, or application developer

• And you need a test or development environment that is:

Easy to use

Easy to configure

Easy to scale

Repeatable

Easy to access

Portable

Inexpensive

DEVNET-1172 6

VIRL Architecture and Operations

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

VIRL System Architecture

Virtualized network platforms

• IOSv / v-L2

• IOS XRv / 9000v

• NX-OSv / 9000v

• CSR1000v

• Generators

• ASAv

• Servers

• LXCs

• Docker

• 3rd-Pary Appliances

Virtualized platforms are NOT representations of a particular hardware

platform – no fans, no switch fabric, no ASIC models `

DEVNET-1172 8

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

VIRL System Architecture (Virtualized)

KVM

UbuntuCPU

* - All VMware offerings, no support for VirtualBox

HyperVisor*

Optional

DEVNET-1172 9

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

Shared Services

Built on OpenStack

Compute

(Nova)

Networking

(Neutron)

Storage

(Cinder)

Identity (Keystone)

Image (Glance)

Dashboard

(Horizon) </>RESTful APIs

Other platforms are under consideration

DEVNET-1172 10

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

VM Maestro

• The graphical front-end for VIRL

• Design and configure networks

• Manage simulations

• Connect with consoles

DEVNET-1172 11

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

Browser-Based Editor

• HTML5-based topology editor

• Runs on the server –nothing on client

• Substantial subset of VM Maestro

DEVNET-1172 12

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

AutoNetkit

• Has deep platform and network intelligence

• Builds baseline configurations

• Generates detailed visualizations of protocol layers

• Enables rapid assessment and debugging

DEVNET-1172 13

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

VIRL Topologies

• Stored as XML

• Human readable

• Editable

• Automatable

• Shareable

DEVNET-1172 14

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

Services Topology Director

• Simulation orchestration and management

• Uses OpenStack to simulate what you build

• Exposes operational data for simulations

15DEVNET-1172

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

User Workspace Manager

• Server configuration

• Simulation status

• Browser-based editor

• Users

• Images

• Networks

16DEVNET-1172

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

VIRL Workflow

1

2

3

4

5

6

7

17DEVNET-1172

Once Up and Running

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

See Status Instantly

• Active Canvas

• Get live status of nodes and links

• Access node and link properties

19DEVNET-1172

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

Access and Configure

• Out-of-band via console, LXC

• In-band via private or shared networks

• Access via VM Maestro, host, or remote

20DEVNET-1172

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

Start, Stop, and Pace Nodes

21DEVNET-1172

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

Simulate Link / Interface Failures

22DEVNET-1172

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

Simulate Real-World Conditions

• Add latency

• Insert jitter

• Drop packets

23DEVNET-1172

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

Configuration Extraction

• Make live changes

• Pull them back

• Save with your topology

• Resume where you left off

24DEVNET-1172

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

Live Visualizations

• View live protocol state

• Reacts in real-time

• Many protocol layers

25DEVNET-1172

VIRL Demonstration

Key VIRL Use-Cases

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

Self-Education / Certification Training

28DEVNET-1172

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

Instructor-Led Training

Low-cost, efficient infrastructure

Access to ‘exotic’ systems

Portable and repeatable

29DEVNET-1172

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

Demonstrations

30DEVNET-1172

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

New Feature / Solution Evaluation

Will these new features work in my network?

How are they configured?

31DEVNET-1172

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

Troubleshooting

Why did that new route-map send all traffic to Houston?

Why aren’t our multicast groups being learned?

32DEVNET-1172

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

DevOps Automation Testing

APIs + Tests

Code

Triggers

Results

33DEVNET-1172

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

Scale and Integration Testing

Test new systems in your network...

Without touching your real network

34DEVNET-1172

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

Skills Validation

Am I really ready for this test?

Does the candidate have the skills I need, and claim to have?

35DEVNET-1172

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

Familiarization

How can you best teach her the nuances of your network?

36DEVNET-1172

What Next?

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

Get VIRL

• ESXi- and PC-based versions

• Virtual Machine / Node Library

• Release Notes

virl.cisco.com

38DEVNET-1172

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

Learn VIRL

• Installation instructions

• Video demonstrations

• VIRL basic and advanced tutorials

• VIRL APIs

get.virl.info

39DEVNET-1172

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

User Community

• Interact with other VIRL users

• Get help

• Share ideas, use-cases, topologies

learningnetwork.cisco.com

40DEVNET-1172

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

Contribute and Share

• Help improve VIRL

• Share topologies

github.com/VIRL-Open

41DEVNET-1172

Q & A

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

Complete Your Online Session Evaluation

Don’t forget: Cisco Live sessions will be available for viewing on-demand after the event at CiscoLive.com/Online

• 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

43DEVNET-1172

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

Continue Your Education

• Demos in the Cisco campus

• Walk-in Self-Paced Labs

• Lunch & Learn

• Meet the Engineer 1:1 meetings

• Related sessions

44DEVNET-1172

Thank You