Live Visualisation Deep Dive

Live Visualisation Deep Dive Simon Knight, Software Engineer, CTAO Lead Developer, AutoNetkit and Live Visualisation 28 October 2015 Overview © 2015...
Author: Anthony Wilson
1 downloads 3 Views 4MB Size
Live Visualisation Deep Dive Simon Knight, Software Engineer, CTAO Lead Developer, AutoNetkit and Live Visualisation 28 October 2015

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

2

In this Deep Dive •

Overview



Client-Side



Server-Side



Features



Demonstration

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

3

Summary •

Fast Experimentation Platform



Interface to running simulation controls



Run commands on multiple devices



Aggregated Syslog



Live Topology Views

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

4

Motivation •

Simplify common repeated tasks



Graphical view of status and controls



more natural view of topology



Powerful context



Routing Topology views



Visual Traceroute

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

5

Requirements •

Requirements: management LXC



Does not depend on having used ANK for routing protocols



just that the devices are accessible via LXC to mgmt ip



use infra only mode in ANK to setup basic •



see YouTube on Manual Configurations

or add config stanza manually for launch to inject

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

6

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

7

Via VM Maestro

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

8

Via User Workspace Management (UWM)

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

9

Directly: port 19402 on VIRL Server

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

10

Client-Side Overview © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Public

11

Topology Plotted

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

12

Overlay Menu

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

13

Actions Menu

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

14

Message Log

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

15

Syslog

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

16

Topology Information

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

17

Node Tooltip

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

18

Interface Tooltip

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

19

Node Popover

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

20

Interface Popover

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

21

Path Tooltip

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

22

Server-Side Overview © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Public

23

Server-Side Architecture Simulation Engine

Browser Client

Management LXC

Simulation

Ping

Live Vis Webserver

CLI Syslog Server

Processor Parser Inference Engine

Live Topology Models

Browser Client Browser Client

• Client-Side access to system • REST • Websocket live data feed Live Vis Webserver

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

25

Simulation Engine

Live Visualisation Webserver

Live Vis Webserver

• Access Point for Client-Side User Interface HTML andLXC Javascript • Serves up Management pages Ping • REST services CLI • Websocket connection to Client-Side Syslog Server

Processor

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

26

VIRL Simulation Engine • Queried for Topology Information • Queried for Node and Interface State • Sent Node and Interface Up/Down requests Simulation Engine

Management LXC Ping

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

27

Simulation Engine

Management LXC Management LXC Ping CLI

• Periodically pings each Virtual Machine on its Management Port Simulation • Logs in and runs CLI commands and sends output to Processor • Aggregates Syslog events from Virtual Machines

Syslog Server

Processor

Live Topology Models © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Public

Parser

28

ne

XC

Running Simulation Simulation

• Running Virtual Machines • Used to run CLI commands on • Emit Syslog Events

Live Topology Models © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Public

29

CLI Syslog Server

Live Visualisation Processor Processor Parser Inference Engine

• Parser of CLI output • Inference Engine based on Live Topology AutoNetkit Models API • Sends inferred result to Live Topology Models • Sends updated models to Webserver

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

30

Live Topology Models Live Topology Models

• Stores inferred models from Processor • Uses AutoNetkit data models

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

31

Server-Side Architecture - recap Simulation Engine

Browser Client

Management LXC

Simulation

Ping

Live Vis Webserver

CLI Syslog Server

Processor Parser Inference Engine

Live Topology Models

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

33

Overview

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

34

Simulation Log Automatically fetched IPs

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

35

IP and Mac Addresses Parsed and Displayed

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

36

Node and Interface Status

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

37

Node and Interface Simulation Controls

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

38

Topology Simulation Controls

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

39

Aggregated Syslog

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

40

Run CLI Commands

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

41

Topology Visualisation © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Public

42

Change Protocol Overlay

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

43

Raw OSPF CLI Result 1. Sent to Processor 2. Parsed 3. Topology Inferred 4. Live Models updated 5. Webserver sends model to Client

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

44

OSPF Adjacencies Plotted Automatically

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

45

Raw BGP CLI Result 1. Sent to Processor 2. Parsed 3. Topology Inferred 4. Live Models updated 5. Webserver sends model to Client

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

46

iBGP Peerings Plotted Automatically

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

47

eBGP Peerings Plotted Automatically

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

48

Visual Traceroute © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Public

49

Select Source Node/Interface

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

50

Select Target Node/Interface

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

51

Raw CLI Trace Output Parsed and processed Result sent to Client

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

52

Path Plotted Tooltip for Info

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

53

Shutdown Interfaces Run Again Alternate Path Taken

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

54

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

55

More Information and Feature Requests https://www.youtube.com/ciscovirl http://community.dev-innovate.com/c/virl/feature-requests

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

56

Summary •

Quick access to topology controls



Visualise routing protocols and traceroute



Aggregated Syslog messages



Powerful platform to expand in the future •

Feature requests encouraged!

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

57