Installing and Using Vm-Maestro
Installing and Using Vm-Maestro
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 1
XML Topology Definition
5 6 7
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 2
Hosting on VMWare ESXi
• Multiple independent VIRL instances deployed on ESXi using vSphere
• Each VIRL instance is provisioned with N*vCPUs and memory
• Number of vCPUs and memory will limit the number of router VMs can be hosted
• Independent users run VM Maestro UI on their laptops
Customer provided
VMWare ESXi
Hardware
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 3
Prerequisites
§ MacBook Pro 6,1 or Later § Intel with VT-x enabled in BIOS (Core-2
§ Mac OS X 10.7 or later Duo, i5, i7)
§ 8-16G of DRAM (4-8G for VIRL) § Windows 7
§ 20G of Disk Space § 8-16G of DRAM (4-8G for VIRL)
§ VMware Fusion v5.0.3 § 20G of Disk Space
§ VMware Player v5.0.2
If your machine does not meet these requirements you cannot run VIRL
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 4
Getting Started with VM Maestro
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5
VM Maestro
§ VM Maestro is the ‘UI’ for VIRL
§ The appropriate version of VM Maestro
comes bundled with the VIRL VM
§ Download the UI installation from
http://<IP OF VIRL>/download
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6
VM Maestro ‘Perspectives’
§ There are two main VM Maestro
‘Perspectives’ – Design and Simulation
§ These are simply workspace layouts
between which you can toggle
§ There are also several ‘panes’ that can
be exposed, arranged by dragging, or
hidden in each mode
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7
VM Maestro ‘Panes’
§ Selecting ‘View’ and ‘Other’ from the menu shows the panes from which you can select – the most useful of which include:
Pane Function
Console Provides a console to one or more of the virtual IOS routers in a simulation
Graph Provides the ability to shift the view to center or expose portions of the topology in
Overview the ‘Canvas’
Node Editor Provides the ability to select elements of a given routing node such as individual
network interfaces
Outline Provides the ability to select elements of a given routing node an view the
connectivity that exists between each
Projects Provides the ability to create and manipulate both projects and discrete
subordinate topologies
Simulations Provides a view of the routing nodes present in active simulations and the ability to
connect to node consoles
Canvas Provides an area in which to build an manipulate a routing topology (this is a
default / persistent area of the workspace)
Problems Identifies issues within .VIRL files (unconnected interfaces etc.)
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8
Arranging the VM Maestro Design Pane
§ Click to Design Mode and arrange your workspace as shown
§ Panes can be dragged and dropped into different areas of the workspace and multiple panes can be tabbed / overlapped within a given
area
Palette
Canvas
Node Editor and Outline (Overlapping)
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 9
Arranging the VM Maestro Simulation Pane
§ Click to Simulation Mode and arrange your workspace as shown
§ Panes can be drug and dropped into different areas of the workspace and multiple panes can be tabbed / overlapped within a given area
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
Configure VM Maestro to talk to VIRL host
§ Open the ‘preferences’ window from the ‘File menu’ – select the ‘Web Services’ tab
§ Create a new ‘profile’ by pressing the ‘+’ symbol
§ Sign in as ‘guest/guest’ or with the username and password that
you’ve been allocated
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11
VM Maestro
§ Whenever you install VM Maestro, you need
to update the Node Subtypes
§ Under ‘File/Preferences’ select ‘Node
Subtypes’ and then press ‘Fetch from Server’
to update VM Maestro with the available node
types
§ Each time you upgrade your version of VM
Maestro you will need to repeat this operation
§ If there are custom subtypes present on the
VIRL server, you will need to repeat this
operation to get the new subtype definition
downloaded
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 12
Creating a New Project
1. Return to Design mode
2. Select File → New → Project from the menu – the Project Wizard will appear
3. Drop open the ‘General folder, select ‘Project’ and click the ‘Next’ button
4. Enter ‘VIRL-LAB’ in the Project name and click ‘Finish
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13
Creating a New Topology
1. ‘VIRL-LAB’ will now appear and be highlighted in the Projects Pane
2. Select File → New → Topology from the menu – the ‘Create a new .virl’
wizard will appear
3. Enter ‘VIRL Star.virl’ in the filename field (Note - .virl must be appended or
the wizard will not proceed)
4. Click ‘Finish’ to create the new topology
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14
Creating a New Project
A blank topology will be created and a like that below opened
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15
Placing Nodes on the Canvas
We will now place our first nodes in our ‘VIRL Star’ topology
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16
Setting the Topology IGP
We will now set the IGP to be used by the topology – OSPF in this case
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 17
Creating Links and Interfaces
We will now create a link between the Miami and London nodes
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 18
Generating Configurations using AutoNetKit
Here we will use AutoNetKit to generate configurations based on the defined topology
1. Click the ‘Gears’ from the menu-bar – this
causes AutoNetKit to generate
configurations for each node in the topology
2. Click on the Miami node
3. Select the ‘Configuration’ tab from the
Properties pane
4. Review the node-specific configuration
generated by AutoNetKit
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 19
Saving AutoNetKit-Generated Configurations
Now we can save the configurations off to be used / reviewed / modified offline
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 20
Launching a Simulation
Now we will launch a simulation of our simple network
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 21
Using the Simulation Pane
VM Maestro will now track the state of the simulation
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 22
Opening Consoles for the Nodes
Now we can open consoles for each of the nodes and monitor the boot process
Notes on Consoles:
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 23
Shutting Down the Simulation
Here we will shutdown the running simulation
Notes:
• VM Maestro can terminate the entire
simulations at once or you can terminate and
restart individual nodes
• Right-click against the node and click ‘Stop this
node’
• If your simulation gets left in an inconsistent
state a reboot will likely fix it as the OpenStack
database is erased across boots
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 24
Changing the Topology to IOSv
Here we take our simple topology and convert it from IOSv to IOS XRv
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 25
Changing the IGP to IS-IS
Here we look at changing the IGP from OSPF to IS-IS
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 26
Configuring BGP
Setting-up BGP AS-numbers and Node-Roles is done via the AutoNetKit tab on the Properties pane
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 27
AutoNetkit
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 28
AutoNetkit mechanics
.VIRL
files
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 29
Configuring attributes in AutoNetkit
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 30
Configuring attributes in AutoNetkit
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 31
Configuring attributes in AutoNetkit
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 32
Self-Directed Exercise
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 33
Using VM Maestro to Build More Complex Configuration
Now that you’ve been through the basics of VIRL and VM Maestro take some time to build the
topology shown here and on the following pages:
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 34
Using VM Maestro to Build More Complex Configuration
Now that you’ve been through the basics of VIRL and VM Maestro take some time to build the
topology shown here and on the following pages:
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 35
Thank you.