Professional Documents
Culture Documents
An introduction to CML
Simon Fang
Technical Solutions Specialist
9 November 2021
Simon Fang • MSc Data Science
Technical Solutions Specialist - DevNet ➢ University of Amsterdam
• Software Engineer (C++ and C#)
➢KLM Royal Dutch Airlines
© 2021
2019 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
1 NetDevOps
2 What is CML?
4 Q&A
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Goals for today
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
DevOps
Version
Control Functional The most powerful
Testing
tool we have as
engineers
developers is
automation.
- Scott Hanselman
Code
Build
Diagnostics
Testing
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
NetDevOps
“bringing all that is good in Software DevOps and applied towards Networking”
Deploy Test
Continuous Delivery Automation SafetyNet
INFRASTRUCTURE
AS CODE
Design Operate
Collaborative Development
Validation & Monitoring
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
How CML fits into the big NetDevOps picture
Apps
Customers
Network
engineering API
Request
Cisco®
Modeling
Labs CML Use
Configure
CLI
Production
Network Ops and network
developers provisioning
Dev Ops
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
CiscoModelingLabs
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
CML
A multi-purpose extensible network virtualization and simulation platform
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Virtualized platforms
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Whoever access from wherever
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Features
• Virtualized devices
• Create your own images
• Packet Capture
• Remote Networks
• Paralell Environments
• Learn as you go
• Integrate with other tools
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Architecture overview
Python client library Custom apps
Linux
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
CML at work
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
CML automation
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Options
Other Tools
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
REST API Swagger
https://www.postman.com/njrusmc/workspace/public-collections/overview
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Python
Requests
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Client
code
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Wrap-up
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
• NetDevOps in a nutshell
• Interact with pyATS through:
• GUI
• External Connection
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Resources
Julio Gomez NetDevOps Series
Q&A
•
blog:
https://blogs.cisco.com/develo
per/ci-cd-demo-netdevops-7
• CML DevNet Sandbox
• pyATS, Genie, CML blog:
https://blogs.cisco.com/develo
📧 : sifang@cisco.com per/automatetestingpyats01
: linkedin.com/in/fangsimon
© 2021
2019 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Cisco® Modeling Labs
key features
Server-side labs with
an easy-to-use HTML5
front end
Live topology modification ―
drag, drop, and wire networks in a running
simulation
Device persistence ―
Labs = Isolated virtual just like shutting down a real router
networks
Admin control of all labs
Configurable network { REST:API }
connectivity Ability to define and import
keyboard, video, and mouse API First Design
Console multiplexing
(KVM) images Swagger interface
Breakout client utility
Python client library
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
New! CML 2.2 offers multiuser functions and more
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Do you need multiuser or single-user labs?
• Supports many users who all share your • Supports a single user
Cisco Modeling Labs servers
• Best for personal learning and study
• Scalability for production environments, with expansion of
• Personal includes 20 nodes
up to 300 nodes
• Personal Plus includes 40 nodes
• Necessary for NetDevOps motions such as
multi-stream testing • Community support only, via the public
Cisco Learning Network – Personal forum
• Cisco Technical Assistance Center support from a dedicated
TAC team
• TAC speed and expertise
• TAC confidentiality
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Validate designs
For network
architects and What-if scenarios
engineers
Prepare for network changes
Automation
What-if scenarios
For
network operations, Prepare for network changes
management,
and design Capture changes and impacts
Confirm alerts
Automation
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Create multiple security configurations easily, and perform
comparison testing without needing multiple devices
Automation
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Labbing to prepare for cert exams
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
And then there’s NetDevOps
Apps
Customers
Network
engineering API
Request
Cisco®
Modeling
Labs CML Use
Configure
CLI
Production
Network Ops and network
developers provisioning
Dev Ops
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
The simulation platform that keeps on giving
Design Interviews
Testing Infrastructure-as-code
Cisco®
Config validation Modeling Labs Virtual networking lab
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Cisco® Modeling
Labs architecture
and features
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Labs are your networks
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
The canvas and palette – the art of network design
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Access simulated devices many ways
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
A powerful, easy-to-use REST API
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
The best
Cisco® Modeling Labs
solution for you
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Multiuser Cisco Modeling Labs options
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Cisco® Modeling Labs for every networking role
Network operations, management, and design
• Test and validate your network, management tools, and
deployments
• Design new router configurations virtually
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Single user Cisco Modeling Labs options
• 20 nodes • 40 nodes!
• Available through the • Available through the CLN Store
Cisco Learning Network (CLN) Store
• Simulate both Cisco and
• Simulate both Cisco and third-party devices
third-party devices • Built for a single user
• Built for a single user
• Requires Internet connectivity
• Requires Internet connectivity • Community support only
• Community support only
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Life is good when you can lab from anywhere
Lab anywhere and Use the Cisco® Hone your skills for
Save time on
Save money on lab anytime Modeling Labs API your next
buildup and
equipment you have internet to practice certification exam -
teardown
access automation and beyond!
Visit the Cisco Learning Network Store today to buy your copy of
Cisco Modeling Labs Personal or Personal Plus
learningnetworkstore.cisco.com
CML - Personal
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Python
API demo
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Updated licensing model
Smart licensing
Cisco® Modeling Labs Personal Edition (Virtual Internet Routing
Lab [VIRL]) licensing model unchanged
Cisco Modeling Labs v2.0 is priced the same but allows more
flexibility:
• 20 nodes included in base licenses
• Expansion licenses can be purchased in any quantity
• Expansion licenses can be purchased to
co-terminate with server license
• Standard discount levels based on a combination of licensing term
(1–3 years) and number of nodes
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Meet Cisco® Modeling Labs
Our premier platform for network simulation
© 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential