Coding Getting Started with Python

Size: px
Start display at page:

Download "Coding Getting Started with Python"

Transcription

1

2 DEVNET-3602 Coding Getting Started with Python Matthew DeNapoli, DevNet Developer Evangelist

3 Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session in the Cisco Live Mobile App 2. Click Join the Discussion 3. Install Spark or go directly to the space 4. Enter messages/questions in the space cs.co/ciscolivebot#devnet Cisco and/or its affiliates. All rights reserved. Cisco Public

4 Agenda Why Python and How to get it? Breaking Down Python Code Interacting with Python Live What are Libraries and How to Use Them Using pip to Install Libraries Virtual Environments Foundational Libraries

5 Why Python and How to get it?

6 Python is powerful... and fast; plays well with others; runs everywhere; is friendly & easy to learn; is Open.

7 Why Python for Network Engineers Readable and easy to learn Widely available and Open Source Windows, Mac, Linux Routers & Switches Many relevant code samples Lots of training resources DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 7

8 How to get Python? You might already have it Package Management Tools Example: Homebrew for Mac brew install python2 brew install python3 DevNet$ python version Python DevNet$ python Python (default, Oct , 05:20:59) [GCC Compatible Apple LLVM (clang )] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 8

9 Breaking Down Python Code

10 example1.py Script Structure and Format Importing and using packages Variable declaration and usage Function creations and usage Basic Error Handling DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 10

11 example1.py Script Structure and Format Importing and using packages Variable declaration and usage Function creations and usage Basic Error Handling DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 11

12 example1.py Script Structure and Format Importing and using packages Variable declaration and usage Function creations and usage Basic Error Handling DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 12

13 example1.py Testing the Code DevNet$ python example1.py You must provide a number as a parameter to this script Example: python example1.py 12 DevNet$ python example1.py DevNet$ python example1.py netprog_basics/programming_fundamentals/python_part_1/example1.py 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

14 example2.py Reading from and writing to files The with statement Requesting interactive user input Writing to the command line 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

15 example2.py Reading from and writing to files The with statement Requesting interactive user input Writing to the command line DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 15

16 example2.py Reading from and writing to files The with statement Requesting interactive user input Writing to the command line DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 16

17 example2.py Testing the Code DevNet$ python example2.py What is your name? Hank Adding new log entry Log File Contents Entry logged at: :11: by Hank Entry logged at: :17: by Hank netprog_basics/programming_fundamentals/python_part_1/example2.py netprog_basics/programming_fundamentals/python_part_1/example2.log 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

18 example3.py Creating and using dictionaries Creating and using lists Working with for loops Conditional statements DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 18

19 example3.py Creating and using dictionaries Creating and using lists Working with for loops Conditional statements DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 19

20 example3.py Creating and using dictionaries Creating and using lists Working with for loops Conditional statements DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 20

21 example3.py Testing the Code part 1 DevNet$ python example3.py The author's name is Hank. His favorite color is green. The current colors are: blue green red What is your favorite color? green You have the same favorite as Hank. DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 21

22 example3.py Testing the Code part 2 DevNet$ python example3.py The author's name is Hank. His favorite color is green. The current colors are: blue green red What is your favorite color? orange That's a new color, adding it to the list! There are now 4 colors in the list. The color you added was orange. DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 22

23 Interacting with Python Live

24 What is and Why use Interactive Python Real-time enter code and see results Experiment and learning Debug scripts that aren t working Build on the output of a script DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 24

25 Accessing Interactive Python python i Basic command line python i script.py Run a script and leave session active idle Basic interpreter client written in Python Virtual Environment python m idlelib.idle DevNet$ python -i Python (default, Jul , 16:44:45) [GCC Compatible Apple LLVM (clang )] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from pprint import pprint >>> pprint("hello World") 'Hello World' >>> exit() DevNet$ python -i example1.py >>> doubler(3) 6 >>> exit() DevNet$ idle DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 25

26 Helpful Interactive Python Commands dir() Return all variable, classes, objects (collectively called names ) available dir(name) Return attributes for an object help(name) Built-in help system. Displays docs and info for object DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 26

27 Demo

28 What are Libraries and How to Use Them

29 Python Libraries (Modules, Applications, etc) Any Python code outside of your script you want to use Provide some capability or data you need Included with statements from library import name import library DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 29

30 Python Libraries (Modules, Applications, etc) Any Python code outside of your script you want to use Provide some capability or data you need Included with statements from library import name import library DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 30

31 Where to get Libraries Write them yourself Example: common_vars Included with Python itself Example: datetime, os, sys, json From Python Package Index (PyPI) Example: pip install requests Download and install manually Example: ACI Toolkit from GitHub netprog_basics/programming_fundamentals/python_part_2/common_vars.py 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

32 Using pip to Install Libraries

33 Pip, The Python Package Installer Python and Python 3.4 or greater includes by default Integrates with PyPI for packages Install, Upgrade, and Uninstall packages requirements.txt in projects provide input to pip DevNet$ pip --version pip DevNet$ pip install pyang Collecting pyang Downloading pyang py2.py3-none-any.whl (326kB) 100% 327kB 1.3MB/s Installing collected packages: pyang Successfully installed pyang DevNet$ pip install -r requirements.txt Collecting requests (from -r requirements.txt (line 1)) Downloading requests py2.py3-none-any.whl (88kB) 100% 92kB 662kB/s. {OUTPUT TRUNCATED}. Successfully installed requests six urllib netprog_basics/programming_fundamentals/python_part_2/requirements.txt 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

34 pip Commands to Know Install a package pip install package Upgrade a package pip install --upgrade package Uninstall a package pip uninstall package View all packages installed pip freeze Install requirements.txt pip install r requirements.txt DevNet$ pip freeze asn1crypto== bcrypt==3.1.3 certifi== cffi== chardet==3.0.4 cryptography==2.0 flake8==3.3.0 idna==2.5 lxml==3.8.0 mccabe==0.6.1 ncclient==0.5.3 paramiko==2.2.1 pyang==1.7.3 pyasn1==0.2.3 pycodestyle==2.3.1 pycparser==2.18 pyflakes==1.5.0 PyNaCl==1.1.2 requests== six== urllib3==1.22 DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 34

35 Virtual Environments

36 What is a Virtual Environment (venv) Build isolated, fully functional Python environments on a single workstation Virtual Environments can Run different versions of Python Have different libraries installed Have different versions of libraries installed DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 36

37 Setting Up a Virtual Environment Install the virtualenv library pip install virtualenv Create the Virtual Environment virtualenv name Specify Python Version virtualenv name --python=python3 Activate Virtual Environment source name/bin/activate* Deactivate Virtual Environment deactivate DevNet$ pip install virtualenv Successfully installed virtualenv DevNet$ virtualenv venv New python executable in /private/tmp/venv/bin/python2.7 Also creating executable in /private/tmp/venv/bin/python Installing setuptools, pip, wheel...done. DevNet$ virtualenv venv2 --python=python3 Running virtualenv with interpreter /usr/local/bin/python3 Using base prefix '/usr/local/cellar/python3/3.6.2/frameworks/python.fr amework/versions/3.6' New python executable in /private/tmp/venv2/bin/python3.6 Also creating executable in /private/tmp/venv2/bin/python Installing setuptools, pip, wheel...done. DevNet$ source venv/bin/activate (venv) DevNet$ * Commands on Windows Platforms slightly different DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 37

38 Installing Python Libraries in Virtual Environments Once activated, no different (venv) DevNet$ pip install pyang Collecting pyang Downloading pyang py2.py3-none-any.whl (326kB) 100% 327kB 1.3MB/s Installing collected packages: pyang Successfully installed pyang (venv) DevNet$ pip install -r requirements.txt Collecting requests (from -r requirements.txt (line 1)) Downloading requests py2.py3-none-any.whl (88kB) 100% 92kB 662kB/s. {OUTPUT TRUNCATED}. Successfully installed requests six urllib DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 38

39 Foundational Libraries

40 Core Python Libraries to Know and Love Pretty Print from pprint import pprint Python Interpreter Utilities import sys Operating System Interfaces import os Date and Time Utilities import datetime * Many libraries included with core Python, see docs DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 40

41 Prettier Printing with pprint Better formatting than default print() function DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 41

42 Access Details about Python with sys Access to some details/variables concerning running state Access command line arguments with sys.argv[] Access to functions that interact with the interpreter Exit Python with specific error message sys.exit("message") DevNet$ python -i common_vars.py "CLI Arg 1" "CLI Arg 2" >>> >>> import sys >>> >>> sys.argv[1] 'CLI Arg 1' >>> sys.argv[2] 'CLI Arg 2' >>> >>> sys.exit("error Occurred") Error Occurred DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 42

43 Interact with Files, Paths, and Environment with os Access and manipulate directories and files Note: Opening files can be done with open(filename) Access and Manipulate Environment Variables os.environ[var_name] DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 43

44 Get your Date and Time Correct with datetime Create, format, and manipulate dates and times Time arithmetic! Work with timestamps and other representations DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 44

45 Demo

46 Summing up

47 Review Why Python and How to get it? Breaking Down Python Code Script structure, imports, variables, functions & error handling Working with files and command line input Using lists and dictionaries, loops, and conditional statements Interacting with Python Live How to access the Python interpreter Using dir() and help() to explore and learn Understand what Python libraries are and how to use them Looked at Python Virtual Environments, why and how to use them Explored core Python libraries for displaying data, managing running scripts, and working with the operating system DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 47

48 Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session in the Cisco Live Mobile App 2. Click Join the Discussion 3. Install Spark or go directly to the space 4. Enter messages/questions in the space cs.co/ciscolivebot#devnet Cisco and/or its affiliates. All rights reserved. Cisco Public

49 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 Complete Your Online Session Evaluation Don t forget: Cisco Live sessions will be available for viewing on-demand after the event at Cisco and/or its affiliates. All rights reserved. Cisco Public

50 Continue Your Education Demos in the Cisco campus Walk-in Self-Paced Labs Tech Circle Meet the Engineer 1:1 meetings Related sessions DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 50

51 Continue Your Education DevNet: DevNet Learning Labs: DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 51

52 Got more questions? Come find facebook.com/ciscodevnet/ DEVNET Cisco and/or its affiliates. All rights reserved. Cisco Public 52

53 Thank you

54

NXOS in the Real World Using NX-API REST

NXOS in the Real World Using NX-API REST NXOS in the Real World Using NX-API REST Adrian Iliesiu Corporate Development Engineer Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session

More information

NetDevOps Style Configuration Management for the Network

NetDevOps Style Configuration Management for the Network DEVNET-3616 NetDevOps Style Configuration Management for the Network Hank Preston, NetDevOps Evangelist ccie 38336, R/S @hfpreston Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker

More information

DEVNET Introduction to Git. Ashley Roach Principal Engineer Evangelist

DEVNET Introduction to Git. Ashley Roach Principal Engineer Evangelist DEVNET-1080 Introduction to Git Ashley Roach Principal Engineer Evangelist Twitter: @aroach Email: asroach@cisco.com Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the

More information

Managing Cisco UCS with the Python SDK

Managing Cisco UCS with the Python SDK DEVNET-2060 Managing Cisco UCS with the Python SDK John McDonough, Technical Leader Developer Evangelist Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1.

More information

Hands On Exploration of NETCONF and YANG

Hands On Exploration of NETCONF and YANG Hands On Exploration of NETCONF and YANG Bryan Byrne, CCIE 25607 (R/S) Technical Solutions Architect Enterprise Networks @bryan25607 Agenda Introduction Module 1 YANG Data Modeling Module 2 Introduction

More information

Git, Atom, virtualenv, oh my! Learn about dev tools to live by!

Git, Atom, virtualenv, oh my! Learn about dev tools to live by! BRKDEV-2633 Git, Atom, virtualenv, oh my! Learn about dev tools to live by! Ashley Roach, Principal Engineer Evangelist Agenda Introduction Why are developer tools useful? What s in the toolbelt? Tool

More information

Your API Toolbelt Tools and techniques for testing, monitoring, and troubleshooting REST API requests

Your API Toolbelt Tools and techniques for testing, monitoring, and troubleshooting REST API requests DEVNET-1631 Your API Toolbelt Tools and techniques for testing, monitoring, and troubleshooting REST API requests Adam Kalsey, Spark Developer Relations Cisco Spark How Questions? Use Cisco Spark to communicate

More information

Coding Intro to APIs and REST

Coding Intro to APIs and REST DEVNET-3607 Coding 1001 - Intro to APIs and REST Matthew DeNapoli DevNet Developer Evangelist Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session

More information

Cisco Spark Messaging APIs - Integration Platforms as a Service Real World Use-Cases

Cisco Spark Messaging APIs - Integration Platforms as a Service Real World Use-Cases DEVNET-2023 Cisco Spark Messaging APIs - Integration Platforms as a Service Real World Use-Cases David Staudt DevNet Developer Evangelist / Principal Engineer Cisco Spark How Questions? Use Cisco Spark

More information

Cisco UCS Agentless Configuration Management Ansible or Microsoft DSC

Cisco UCS Agentless Configuration Management Ansible or Microsoft DSC DEVNET-2916 Cisco UCS Agentless Configuration Management Ansible or Microsoft DSC John McDonough, Technical Leader Developer Evangelist Cisco Spark How Questions? Use Cisco Spark to communicate with the

More information

Hands-On with IoT Standards & Protocols

Hands-On with IoT Standards & Protocols DEVNET-3623 Hands-On with IoT Standards & Protocols Casey Bleeker, Developer Evangelist @geekbleek Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this

More information

Automation and Programmability using Cisco Open NXOS and DevOps Tools

Automation and Programmability using Cisco Open NXOS and DevOps Tools Automation and Programmability using Cisco Open NXOS and DevOps Tools Jeff Lester Sr. Solutions Integration Architect Matt Tarkington Consulting Engineer Services Cisco Spark How Questions? Use Cisco Spark

More information

CloudCenter for Developers

CloudCenter for Developers DEVNET-1198 CloudCenter for Developers Conor Murphy, Systems Engineer Data Centre Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session in the

More information

Empower your testing with Cisco Test Automation Solution Featuring pyats & Genie

Empower your testing with Cisco Test Automation Solution Featuring pyats & Genie Empower your testing with Cisco Test Automation Solution Featuring pyats & Genie Siming Yuan, Technical Leader, Engineering, Cisco Jean-Benoit Aubin, Engineer, Software Engineering, Cisco Sedy Yadollahi,

More information

BGP in the Enterprise for Fun and (fake) Profit: A Hands-On Lab

BGP in the Enterprise for Fun and (fake) Profit: A Hands-On Lab BGP in the Enterprise for Fun and (fake) Profit: A Hands-On Lab Michael Kowal, Principal Systems Engineer, @ciscomk Dash Thompson, Systems Engineer, @dash_thompson Abel Ramirez, Systems Engineer, @ramirezabel21

More information

Automation with Meraki Provisioning API

Automation with Meraki Provisioning API DEVNET-2120 Automation with Meraki Provisioning API Courtney M. Batiste, Solutions Architect- Cisco Meraki Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1.

More information

Get Hands On With DNA Center APIs for Managing Intent

Get Hands On With DNA Center APIs for Managing Intent DEVNET-3620 Get Hands On With DNA Center APIs for Managing Intent Adam Radford Distinguished Systems Engineer Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session

More information

2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

2018 Cisco and/or its affiliates. All rights reserved. Cisco Public Cisco ACI App Center Fabrice Servais, Software Engineer, Data Center Networking, Cisco Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session

More information

Catalyst 9K High Availability Lab

Catalyst 9K High Availability Lab LTRCRS-2090 Catalyst 9K High Availability Lab Minhaj Uddin Technical Marketing Engineering Sai Zeya Technical Marketing Engineering Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker

More information

Who wants to be a millionaire? A class in creating your own cryptocurrency

Who wants to be a millionaire? A class in creating your own cryptocurrency DEVNET-3626 Who wants to be a millionaire? A class in creating your own cryptocurrency Tom Davies, Sr. Manager, DevNet Sandbox Vallard Benincosa, Software Engineer Cisco Spark How Questions? Use Cisco

More information

Introduction to OpenConfig

Introduction to OpenConfig DEVNET-1775 Introduction to OpenConfig Santiago Álvarez, TME Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session in the Cisco Live Mobile App

More information

Finesse APIs: Getting started with the REST APIs and XMPP events

Finesse APIs: Getting started with the REST APIs and XMPP events Finesse APIs: Getting started with the REST APIs and XMPP events Denise Kwan, Software Engineer @ DevNet Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1.

More information

DevNet Workshop-Hands-on with CloudCenter and Jenkins

DevNet Workshop-Hands-on with CloudCenter and Jenkins DevNet Workshop-Hands-on with CloudCenter and Jenkins Tuan Nguyen, Technical Marketing Engineer, CPSG Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find

More information

Magical Chatbots with Cisco Spark and IBM Watson

Magical Chatbots with Cisco Spark and IBM Watson DEVNET-2321 Magical Chatbots with Cisco Spark and IBM Watson Lauren Ramgattie, Technical Marketing Engineer Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session

More information

Hybrid Cloud Automation using Cisco CloudCenter API

Hybrid Cloud Automation using Cisco CloudCenter API Hybrid Cloud Automation using Cisco CloudCenter API Ray Doerr, Advanced Services Engineer Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session

More information

Kuber-what?! Learn about Kubernetes

Kuber-what?! Learn about Kubernetes DEVNET-1999 Kuber-what?! Learn about Kubernetes Ashley Roach, Principal Engineer Evangelist Agenda Objectives A brief primer on containers The problems with running containers at scale Orchestration systems

More information

Insights into your WLC with Wireless Streaming Telemetry

Insights into your WLC with Wireless Streaming Telemetry Insights into your WLC with Wireless Streaming Telemetry Jeremy Cohoe Technical Marketing Engineer Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this

More information

Cisco Container Platform

Cisco Container Platform Cisco Container Platform Pradnesh Patil Suhail Syed Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session in the Cisco Live Mobile App 2. Click

More information

An Introduction to Monitoring Encrypted Network Traffic with "Joy"

An Introduction to Monitoring Encrypted Network Traffic with Joy An Introduction to Monitoring Encrypted Network Traffic with "Joy" Philip Perricone (SE) Bill Hudson (TL) Blake Anderson (TL) David McGrew (Fellow) Cisco Spark How Questions? Use Cisco Spark to communicate

More information

Deploying Cloud-Agnostic Applications with Cisco CloudCenter

Deploying Cloud-Agnostic Applications with Cisco CloudCenter LTRCLD-2303 Deploying Cloud-Agnostic Applications with Cisco CloudCenter Zack Kielich CloudCenter Product Manager Vince Motto Sr. Technical Leader Andrew Horrigan Consulting Engineer Matt Tarkington Consulting

More information

An Introduction to Developing for Cisco Kinetic

An Introduction to Developing for Cisco Kinetic An Introduction to Developing for Cisco Kinetic Krishna Chengavalli Technical Marketing Engineer IoT Software Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session

More information

Introducing Cisco Network Assurance Engine

Introducing Cisco Network Assurance Engine BRKACI-2403 Introducing Cisco Network Assurance Engine Intent Based Networking for Data Centers Sundar Iyer, Distinguished Engineer Head Cisco Network Assurance Engine Team Dhruv Jain, Director of Product

More information

Cisco Spark Widgets Technical drill down

Cisco Spark Widgets Technical drill down DEVNET-1891 Cisco Spark Widgets Technical drill down Adam Weeks, Engineer @CiscoSparkDev Stève Sfartz, API Evangelist @CiscoDevNet Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker

More information

WORKSHOP: from Zero to a Network Application with #golang

WORKSHOP: from Zero to a Network Application with #golang WORKSHOP: from Zero to a Network Application with #golang Patrick Riel, priel@cisco.com Stève Sfartz, stsfartz@cisco.com Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after

More information

Getting Started With Containers

Getting Started With Containers DEVNET 2042 Getting Started With Containers Matt Johnson Developer Evangelist @mattdashj Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session

More information

European DevNet Pros Panel

European DevNet Pros Panel DEVNET-2399 European DevNet Pros Panel Erik Tiengo, CTO @Neratech Stefano Linari, CEO @Allentia Paola Mancini, Software Engineer @Italtel Jean-Luc Darbonnel, Project Lead @Orange Tobias Lensker, Sales

More information

TRex Realistic Traffic Generator

TRex Realistic Traffic Generator DEVNET-1120 TRex Realistic Traffic Generator Hanoch Haim, Principal Engineer Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session in the Cisco

More information

Getting Started with OpenStack

Getting Started with OpenStack Getting Started with OpenStack Charles Eckel, Developer Evangelist, Cisco DevNet @eckelcu Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session

More information

Introduction to Python Network Programming for Network Architects and Engineers

Introduction to Python Network Programming for Network Architects and Engineers Introduction to Python Network Programming for Network Architects and Engineers Vince Kelly TSA Session ID: DEVNET-1040 Agenda Python Basics The Python Socket Module Security Higher Layer Protocols & APIs:

More information

Privacy Requirements Scoping

Privacy Requirements Scoping DEVNET-2016 Privacy Requirements Scoping Jonathan Fox, Director, Privacy Engineering, Cisco Lisa Bobbitt, Privacy Architect, Cisco Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker

More information

Chris Calloway for Triangle Python Users Group at Caktus Group December 14, 2017

Chris Calloway for Triangle Python Users Group at Caktus Group December 14, 2017 Chris Calloway for Triangle Python Users Group at Caktus Group December 14, 2017 What Is Conda Cross-platform Language Agnostic Package Manager Dependency Manager Environment Manager Package Creator Command

More information

Python Development Workflow

Python Development Workflow Python Development Workflow Best Practice to create / test / versioning / automate and more Marcelo Mello mmello@redhat.com / tchello.mello@gmail.com Pablo Hess phess@redhat.com / pablonhess@gmail.com

More information

PnP Deep Dive Hands-on with APIC-EM and Prime Infrastructure

PnP Deep Dive Hands-on with APIC-EM and Prime Infrastructure LTRNMS-2007 PnP Deep Dive Hands-on with APIC-EM and Prime Infrastructure Thomas Gerneth, Julian Mueller,Tobias Huelsdau Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after

More information

Tetration Hands-on Lab from Deployment to Operations Support

Tetration Hands-on Lab from Deployment to Operations Support LTRACI-2184 Tetration Hands-on Lab from Deployment to Operations Support Furong Gisiger, Solutions Architect Lawrence Zhu, Sr. Solutions Architect Cisco Spark How Questions? Use Cisco Spark to communicate

More information

Cisco WAN Automation Engine (WAE) Network Programmability with Segment Routing

Cisco WAN Automation Engine (WAE) Network Programmability with Segment Routing LTRMPL-2104 Cisco WAN Automation Engine (WAE) Network Programmability with Segment Routing Josh Peters Technical Marketing Engineer Derek Tay Technical Marketing Engineer Cisco Spark How Questions? Use

More information

Creating a custom gadget using the Finesse JavaScript Library API

Creating a custom gadget using the Finesse JavaScript Library API Creating a custom gadget using the Finesse JavaScript Library API Denise Kwan, Software Engineer @ DevNet Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1.

More information

Cisco SD-Access Hands-on Lab

Cisco SD-Access Hands-on Lab LTRCRS-2810 Cisco SD-Access Hands-on Lab Larissa Overbey - Technical Marketing Engineer, Cisco Derek Huckaby - Technical Marketing Engineer, Cisco https://cisco.box.com/v/ltrcrs-2810-bcn2018 Password:

More information

DevOps CICD for VNF a NetOps Approach

DevOps CICD for VNF a NetOps Approach DevOps CICD for VNF a NetOps Approach Renato Fichmann Senior Solutions Architect Cisco Advanced Services Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1.

More information

Consuming Model-Driven Telemetry

Consuming Model-Driven Telemetry Consuming Model-Driven Telemetry Cristina Precup & Stefan Braicu Software Systems Engineers Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session

More information

NSO in Brownfield: Fully Automated One-Click Reconciliation

NSO in Brownfield: Fully Automated One-Click Reconciliation BRKNMS-2530 NSO in Brownfield: Fully Automated One-Click Reconciliation Fatih Ayvaz, Solutions Architect Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1.

More information

Spark SDK Video - Overview and Coding Demo

Spark SDK Video - Overview and Coding Demo DEVNET-2026 Spark SDK Video - Overview and Coding Demo Olivier Proffit - Sr. Product Manager David Staudt DevNet Developer Evangelist Cisco Spark How Questions? Use Cisco Spark to communicate with the

More information

PSOACI Tetration Overview. Mike Herbert

PSOACI Tetration Overview. Mike Herbert Tetration Overview Mike Herbert Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session in the Cisco Live Mobile App 2. Click Join the Discussion

More information

Cloud Mobility: Meraki Wireless & EMM

Cloud Mobility: Meraki Wireless & EMM BRKEWN-2002 Cloud Mobility: Meraki Wireless & EMM Emily Sporl Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session in the Cisco Live Mobile

More information

Contiv installation and integration with ACI

Contiv installation and integration with ACI Contiv installation and integration with ACI http://contiv.ciscolive.com Haroun Dass Customer Solutions Architect hdass@cisco.com Luis Flores System Engineer luflores@cisco.com @Luis_E_Flores Cesar Obediente

More information

Cisco UCS Director and ACI Advanced Deployment Lab

Cisco UCS Director and ACI Advanced Deployment Lab Cisco UCS Director and ACI Advanced Deployment Lab Michael Zimmerman, TME Vishal Mehta, TME Agenda Introduction Cisco UCS Director ACI Integration and Key Concepts Cisco UCS Director Application Container

More information

Cisco Enterprise Agreement

Cisco Enterprise Agreement PSODGT-1076 Cisco Enterprise Agreement John Marshall, Global Director: Cisco Enterprise Agreement strategy Vinay Nichani, WW Software Sales Cisco Spark How Questions? Use Cisco Spark to communicate with

More information

NetDevOps for the Network Dude How to get started with API's, Ansible and Python

NetDevOps for the Network Dude How to get started with API's, Ansible and Python DEVNET-1002 NetDevOps for the Network Dude How to get started with API's, Ansible and Python François Caen, Systems Engineer - @f_caen Cisco Spark How Questions? Use Cisco Spark to communicate with the

More information

Scripting the Catalyst: Beyond the Basics

Scripting the Catalyst: Beyond the Basics Scripting the Catalyst: Beyond the Basics Jeff McLaughlin, Principal TME Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session in the Cisco Live

More information

Cisco Virtualized Infrastructure Manager

Cisco Virtualized Infrastructure Manager DEVNET-2570 Virtualized Infrastructure Manager Suhail Syed, Product Manager Vamsi Krihsna Kuppur, Product Manager Spark How Questions? Use Spark to communicate with the speaker after the session 1. Find

More information

Managing The Digital Network Workforce Transformation

Managing The Digital Network Workforce Transformation ITM-1018 Managing The Digital Network Workforce Transformation Carine Bongaerts IT Manager Network Services Agenda Introduction New Skills and Mindset Change Operating Model Change - DevOps Delivery Model

More information

VXLAN EVPN Fabric and automation using Ansible

VXLAN EVPN Fabric and automation using Ansible VXLAN EVPN Fabric and automation using Ansible Faisal Chaudhry, Principal Architect Umair Arshad, Sr Network Consulting Engineer Lei Tian, Solution Architecture Cisco Spark How Questions? Use Cisco Spark

More information

PSOACI Why ACI: An overview and a customer (BBVA) perspective. Technology Officer DC EMEAR Cisco

PSOACI Why ACI: An overview and a customer (BBVA) perspective. Technology Officer DC EMEAR Cisco PSOACI-4592 Why ACI: An overview and a customer (BBVA) perspective TJ Bijlsma César Martinez Joaquin Crespo Technology Officer DC EMEAR Cisco Lead Architect BBVA Lead Architect BBVA Cisco Spark How Questions?

More information

Internet of Things Field Network Director

Internet of Things Field Network Director Internet of Things Field Network Director Prithvi Manduva, IoT Escalation Engineer Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session in the

More information

Introduction to Cisco IoT Tools for Developers IoT 101

Introduction to Cisco IoT Tools for Developers IoT 101 Introduction to Cisco IoT Tools for Developers IoT 101 Mike Maas, Technical Evangelist, IoT, DevNet Angela Yu, Technical Leader DEVNET-1068 Agenda The Cisco IoT System Distributing IoT Applications Developer

More information

Science One CS : Getting Started

Science One CS : Getting Started Science One CS 2018-2019: Getting Started Note: if you are having trouble with any of the steps here, do not panic! Ask on Piazza! We will resolve them this Friday when we meet from 10am-noon. You can

More information

Customer s journey into the private cloud with Cisco Enterprise Cloud Suite

Customer s journey into the private cloud with Cisco Enterprise Cloud Suite Customer s journey into the private cloud with Cisco Enterprise Cloud Suite Peter Charpentier, Senior Solution Architect, Cisco AS Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker

More information

Automating Cisco Spark with Cloud Integration Cisco DevNet Webinar Series

Automating Cisco Spark with Cloud Integration Cisco DevNet Webinar Series Automating Cisco Spark with Cloud Integration Cisco DevNet Webinar Series Speaker: David Staudt DevNet Developer Evangelist, Principal Engineer Hostess: Kara Sullivan Cisco Networking Academy 18 April

More information

Cisco Spark. Questions? Use Cisco Spark to communicate with the speaker after the session. How

Cisco Spark. Questions? Use Cisco Spark to communicate with the speaker after the session. How Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session in the Cisco Live Mobile App 2. Click Join the Discussion 3. Install Spark or go directly

More information

Python Project Documentation

Python Project Documentation Python Project Documentation Release 1.0 Tim Diels Jan 10, 2018 Contents 1 Simple project structure 3 1.1 Code repository usage.......................................... 3 1.2 Versioning................................................

More information

Contiv installation and integration with ACI. LTRCLD-2003

Contiv installation and integration with ACI. LTRCLD-2003 Contiv installation and integration with ACI LTRCLD-2003 http://contiv.ciscolive.com Cesar Obediente CCIE#5620 Principal Systems Engineer Gaurav Dalvi Software Engineer Future of IT is Changing People/Process

More information

Ipswitch: The New way of Network Monitoring and how to provide managed services to its customers

Ipswitch: The New way of Network Monitoring and how to provide managed services to its customers BRKPAR-2333 Ipswitch: The New way of Network Monitoring and how to provide managed services to its customers Paolo Ferrari, Senior Director Sales Southern Europe, Ipswitch, Inc. WhatsUp Gold Jan 2018 Agenda

More information

Real time Location Services Overview and Use cases

Real time Location Services Overview and Use cases Real time Location Services Overview and Use cases Ashutosh Malegaonkar, Principal Engineer @amalegaonkar DEVNET-1071 /me Maker Breaker Meditate @amalegaonkar DEVNET-1071 2017 Cisco and/or its affiliates.

More information

Serviceability of SD-WAN

Serviceability of SD-WAN BRKCRS-2112 Serviceability of SD-WAN Chandrabalaji Rajaram & Ali Shaikh Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session in the Cisco Live

More information

Building Applications with IOx

Building Applications with IOx Building Applications with IOx DevNet 1031 Albert Mak, Senior Technical Lead, IOx, Enterprise Engineering DEVNET-1031 Agenda Applications in Fog/Edge Computing Introducing IOx IOx Application Enablement

More information

CS 1110, LAB 1: EXPRESSIONS AND ASSIGNMENTS First Name: Last Name: NetID:

CS 1110, LAB 1: EXPRESSIONS AND ASSIGNMENTS   First Name: Last Name: NetID: CS 1110, LAB 1: EXPRESSIONS AND ASSIGNMENTS http://www.cs.cornell.edu/courses/cs1110/2018sp/labs/lab01/lab01.pdf First Name: Last Name: NetID: Learning goals: (1) get hands-on experience using Python in

More information

Python Programming Exercises 1

Python Programming Exercises 1 Python Programming Exercises 1 Notes: throughout these exercises >>> preceeds code that should be typed directly into the Python interpreter. To get the most out of these exercises, don t just follow them

More information

Routing Underlay and NFV Automation with DNA Center

Routing Underlay and NFV Automation with DNA Center BRKRST-1888 Routing Underlay and NFV Automation with DNA Center Prakash Rajamani, Director, Product Management Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session

More information

Cloud-Ready WAN For IAAS & SaaS With Cisco s Next- Gen SD-WAN

Cloud-Ready WAN For IAAS & SaaS With Cisco s Next- Gen SD-WAN BRKCRS-2113 Cloud-Ready WAN For IAAS & SaaS With Cisco s Next- Gen SD-WAN Sumanth Kakaraparthi Product Leader SD-WAN Manan Shah Director Of Product Management Cisco Spark How Questions? Use Cisco Spark

More information

DevNet Workshop-Learning Cisco platform Exchange Grid (pxgrid) Dynamic Topics

DevNet Workshop-Learning Cisco platform Exchange Grid (pxgrid) Dynamic Topics DevNet Workshop-Learning Cisco platform Exchange Grid (pxgrid) Dynamic Topics Syam Appala, Principal Engineer DEVNET-2433 Agenda Introduction to pxgrid pxgrid Operation Lab on Dynamic Topics Contextual

More information

Designing and Implementing Cisco Network Programmability (NPDESI) v1.0

Designing and Implementing Cisco Network Programmability (NPDESI) v1.0 Data Sheet Learning Services Designing and Implementing Cisco Network Programmability (NPDESI) v1.0 Overview The Designing and Implementing Cisco Network Programmability (NPDESI) version 1.0 Cisco Training

More information

Tour the latest Cisco Spark API features

Tour the latest Cisco Spark API features DEVNET-3609 Tour the latest Cisco Spark API features Stève Sfartz, stsfartz@cisco.com David Staudt, dstaudt@cisco.com API Evangelists / @CiscoDevNet Cisco Spark Questions? Use Cisco Spark to communicate

More information

Chris Simpkins (Georgia Tech) CS 2316 Data Manipulation for Engineers Python Overview 1 / 9

Chris Simpkins (Georgia Tech) CS 2316 Data Manipulation for Engineers Python Overview 1 / 9 http://xkcd.com/353/ Chris Simpkins (Georgia Tech) CS 2316 Data Manipulation for Engineers Python Overview 1 / 9 Python Python is a general-purpose programming language, meaning you can write any kind

More information

Cisco SD-Access Building the Routed Underlay

Cisco SD-Access Building the Routed Underlay Cisco SD-Access Building the Routed Underlay Rahul Kachalia Sr. Technical Leader Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session in the

More information

Cisco DNA Center and Italtel Netwrapper Evolution: Network and Applications come together

Cisco DNA Center and Italtel Netwrapper Evolution: Network and Applications come together BRKPAR-4980 Cisco DNA Center and Italtel Netwrapper Evolution: Network and Applications come together Stefano Boero Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the

More information

Using Workload Automation to Optimize Hybrid Cloud Estates

Using Workload Automation to Optimize Hybrid Cloud Estates BRKPAR-4121 Using Workload Automation to Optimize Hybrid Cloud Estates Ben Nye Using Workload Automation to Optimize Hybrid Cloud Estates Ben Nye CEO Key Drivers Digital Transformation Proliferation of

More information

Cisco VIRL. The Swiss-Army Knife of Network Simulators. Simon Knight, Software Engineer Brian Daugherty, Technical Leader.

Cisco VIRL. The Swiss-Army Knife of Network Simulators. Simon Knight, Software Engineer Brian Daugherty, Technical Leader. Cisco VIRL The 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

More information

Stateless Multicast with Bit Indexed Explicit Replication

Stateless Multicast with Bit Indexed Explicit Replication Stateless Multicast with Bit Indexed Explicit Replication IJsbrand Wijnands, Distinguished Engineer Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find

More information

NetBrain Technologies: Achieving Agile Network Operations: How Automation Can Improve Visibility Across Hybrid Infrastructures

NetBrain Technologies: Achieving Agile Network Operations: How Automation Can Improve Visibility Across Hybrid Infrastructures BRKPAR - 2509 NetBrain Technologies: Achieving Agile Network Operations: How Automation Can Improve Visibility Across Hybrid Infrastructures Jason Baudreau Achieving Agile Network Operations How Automation

More information

contribution-guide.org Release

contribution-guide.org Release contribution-guide.org Release August 06, 2018 Contents 1 About 1 1.1 Sources.................................................. 1 2 Submitting bugs 3 2.1 Due diligence...............................................

More information

VRF, MPLS and MP-BGP Fundamentals

VRF, MPLS and MP-BGP Fundamentals , MPLS and MP-BGP Fundamentals Jason Gooley, CCIEx2 (RS, SP) #38759 Twitter: @Jason_Gooley LinkedIn: http://www.linkedin.com/in/jgooley Agenda Introduction to Virtualization -Lite MPLS & BGP Free Core

More information

Programming in Python Advanced

Programming in Python Advanced Programming in Python Advanced Duration: 3 days, 8 hours a day Pre-requisites: * Participants should be comfortable with the following technologies: Basic and working knowledge of the Pyton If new to the

More information

Gerd Doeben-Henisch February 12, Steps To Prepare Python Environment 2. 3 Use Python Interactive Console 3

Gerd Doeben-Henisch February 12, Steps To Prepare Python Environment 2. 3 Use Python Interactive Console 3 PROGRAMMING WITH PYTHON Simple Programming Environment with ubuntu 16.04 emerging-mind.org ejournal ISSN 2567-6466 Email: info@emerging-mind.org 10.-12.February 2018 Gerd Doeben-Henisch gerd@doeben-henisch.de

More information

Introduction to Python. Genome 559: Introduction to Statistical and Computational Genomics Prof. James H. Thomas

Introduction to Python. Genome 559: Introduction to Statistical and Computational Genomics Prof. James H. Thomas Introduction to Python Genome 559: Introduction to Statistical and Computational Genomics Prof. James H. Thomas If you have your own PC, download and install a syntax-highlighting text editor and Python

More information

Cisco IOS XR Programmability for Cloud-Scale Networking

Cisco IOS XR Programmability for Cloud-Scale Networking Cisco IOS XR Programmability for Cloud-Scale Networking LABRST-2332 Santiago Álvarez, Distinguished Technical Marketing Engineer @111pontes Level of Expertise With Network Programmability 1. Can t spell

More information

withenv Documentation

withenv Documentation withenv Documentation Release 0.7.0 Eric Larson Aug 02, 2017 Contents 1 withenv 3 2 Installation 5 3 Usage 7 3.1 YAML Format.............................................. 7 3.2 Command Substitutions.........................................

More information

AlgoSec: How to Secure and Automate Your Heterogeneous Cisco Environment

AlgoSec: How to Secure and Automate Your Heterogeneous Cisco Environment BRKPAR-2488 AlgoSec: How to Secure and Automate Your Heterogeneous Cisco Environment Edy Almer How to Secure and Automate Your Heterogeneous Cisco Environment Yogesh Kaushik, Senior Director Cisco Doug

More information

The Transformation of Media & Broadcast Video Production to a Professional Media Network

The Transformation of Media & Broadcast Video Production to a Professional Media Network The Transformation of Media & Broadcast Video Production to a Professional Media Network Subha Dhesikan, Principal Engineer Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after

More information

Model-Driven Telemetry and Analytics

Model-Driven Telemetry and Analytics Model-Driven Telemetry and Analytics Steven Barth & Cristina Precup Software Systems Engineers Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this

More information

CS Programming Languages: Python

CS Programming Languages: Python CS 3101-1 - Programming Languages: Python Lecture 5: Exceptions / Daniel Bauer (bauer@cs.columbia.edu) October 08 2014 Daniel Bauer CS3101-1 Python - 05 - Exceptions / 1/35 Contents Exceptions Daniel Bauer

More information

dh-virtualenv Documentation

dh-virtualenv Documentation dh-virtualenv Documentation Release 1.0 Spotify AB Sep 27, 2017 Contents 1 What is dh-virtualenv 3 2 Changelog 5 2.1 1.0.................................................... 5 2.2 0.11....................................................

More information