You are on page 1of 40

#CiscoLive

5 ways to impress your


colleagues with automation
Marcel Neidinger, Julio Gomez,
Software Solutions Engineer EMEAR Programmability Lead
@squ4rks @juliodevops
DEVWKS-1970

#CiscoLive
Cisco Webex App

Questions?
Use Cisco Webex App to chat
with the speaker after the session

How
1 Find this session in the Cisco Live Mobile App
2 Click “Join the Discussion”
3 Install the Webex App or go directly to the Webex space Enter your personal notes here

4 Enter messages/questions in the Webex space

Webex spaces will be moderated https://ciscolive.ciscoevents.com/ciscolivebot/#DEVWKS-1970

by the speaker until June 17, 2022.

#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Julio Gómez
Network engineer in his 40s,
20 years of experience, CCIE,
loves his BGP tables

Marcel Neidinger
Network engineer in his 20s,
DevOps background, just got his
DevNet certs, loves his python code

#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
vs

#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Let's spend the
next 6 months
learning about it

DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
1. Run version commands
2. Run interface description commands
3. Collect all data into a per-device report

#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Live Demo

#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
I better polish my
LinkedIn profile

DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public
{ {
"interfaces":[ "interfaces":[
{ {

"name":"GigabitEth "name":"GigabitEth
ernet0/1"

a day later
ernet0/1"
} }
] ]
} }

#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
{
{
"interfaces":[
"interfaces":[
{
{

"name":"GigabitEthernet0/1”,
"ip": "10.10.10.2"
}
vs "name":"GigabitEthernet0/1”,
"ip": "10.10.10.3”,
"enabled": false
}
]
]
}
}

#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
Demo

#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Someone needs to
do the dirty work,
huh?

DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
42
41

#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Demo

#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
Hope nothing goes
wrong

DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
snmp-server community
private RW

Host: switch01.switches
Username: admin
Password: 0dfkj04kj2$

apply_config() snmp-server
community
private RW

Queue:

#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
snmp-server community
private RW

Host: switch02.switches
Username: admin
Password: !404kjdß43kj2$

apply_config() snmp-server
community
private RW

Queue:

#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Demo

#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
Did you REALLY test
those changes
before sending them
to production?

DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public
💻 🚧 🏗️ 📋 🚀
#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public
Implement a change to our
configuration template

💻 🚧 🏗️ 📋 🚀
#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public
Implement a change to our
configuration template

Push this change to our VCS


and trigger build

💻 🚧 🏗️ 📋 🚀
#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public
Implement a change to our
configuration template

Push this change to our VCS

Pull information from IPAM


and build config

💻 🚧 🏗️ 📋 🚀
#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public
Implement a change to our
configuration template

Push this change to our VCS

Pull information from IPAM


and build config

Run Config changes against


CML

💻 🚧 🏗️ 📋 🚀
#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public
Implement a change to our
configuration template

Push this change to our VCS

Pull information from IPAM


and build config

Run Config changes against


CML

Run pyATS tests against


CML

💻 🚧 🏗️ 📋 🚀
#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public
Implement a change to our
configuration template

Push this change to our VCS

Pull information from IPAM


and build config

Run Config changes against


CML

Run pyATS tests against Deploy changes to


CML production

💻 🚧 🏗️ 📋 🚀
#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public
Demo

#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
vs

#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
Technical session surveys
• Attendees who fill out a minimum of four
session surveys and the overall event
survey will get Cisco Live branded socks!

• Attendees will also earn 100 points


in the Cisco Live Game for every
survey completed.

• These points help you get on the


leaderboard and increase your chances
of winning daily and grand prizes.

#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
Pay for Learning with
Cisco Learning Credits
Cisco learning and certifications (CLCs) are prepaid training
vouchers redeemed directly
From technology training and team development to Cisco certifications and learning with Cisco.
plans, let us help you empower your business and career. www.cisco.com/go/certs

Learn Train Certify


Cisco U. Cisco Training Bootcamps Cisco Certifications and
IT learning hub that guides teams Intensive team & individual automation Specialist Certifications
and learners toward their goals and technology training programs Award-winning certification
program empowers students
Cisco Digital Learning Cisco Learning Partner Program and IT Professionals to advance
Subscription-based product, technology, Authorized training partners supporting their technical careers
and certification training Cisco technology and career certifications
Cisco Guided Study Groups
Cisco Modeling Labs Cisco Instructor-led and 180-day certification prep program
Network simulation platform for design, Virtual Instructor-led training with learning and support
testing, and troubleshooting Accelerated curriculum of product,
technology, and certification courses Cisco Continuing
Cisco Learning Network Education Program
Resource community portal for Recertification training options
certifications and learning for Cisco certified individuals

Here at the event? Visit us at The Learning and Certifications lounge at the World of Solutions

#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
• Visit the Cisco Showcase
for related demos

• Book your one-on-one


Meet the Engineer meeting

• Attend the interactive education


with DevNet, Capture the Flag,
Continue and Walk-in Labs

your education • Visit the On-Demand Library


for more sessions at
www.CiscoLive.com/on-demand

DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
Thank you

#CiscoLive
#CiscoLive
#CiscoLive DEVWKS-1970 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 40

You might also like