cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3851
Views
21
Helpful
7
Comments
vkelly
Cisco Employee
Cisco Employee

Introduction to Python Network Programming for Network

Architects and Engineers


(DevNet1040, DevNet1041 and DevNet 1042)

                                                 

Purpose of these Sessions:

   For years, companies and IT organizations in particular have been struggling to drive costs out of the business while at the same time trying to accelerate their overall time to revenue and time to customer value.

   In addition, there is are growing demands to identifying new ways of creating value and driving growth through innovation – and to do this in spite of the fact that the current global business environment is becoming increasingly complex and competitive.

   As a result, today, more and more companies are turning to business strategies that are increasingly dependent upon automation.  It’s become almost a foregone conclusion that without automation, innovation quickly becomes constrained.  Without innovation, productivity begins to stagnate and without continual productivity improvements, few businesses can survive over the long run.

  Introduction to Python Network Programming for Network Architects and Engineers introduces two of the core building blocks that lie at the heart of many automation strategies – the Python programming language and network programming concepts

    Understanding the Python language and network programming in general provides the network architect/engineer a software oriented “lingua franca”. This creates opportunities to align the needs of DevOps and software development communities with the requirements of providing robust and secure network and compute infrastructures.

     

About these Seminars:


No previous programming background is assumed - concepts are presented as a series of interactive, ‘follow-along’ sessions that cover the basics of network programming with Python.  The intent is to try to make these sessions as interactive as possible, so we encourage you to check out our post - on ‘Additional Background for DevNet1040, 1041 and 1042 seminars’ for videos and detail about the Python language and how to install Python on your own machine before you attend.

Agenda:

The training session consists of three parts.  These can be taken in order (from Part I to Part III) or taken individually.

Part I

Python Network Programming Basics:

  • - The goal in this session is for the participants to develop a set of Python “building block” templates that can be used as the foundation for more advanced topics*.  These templates include:
    • How to take input from the Python command line or from the keyboard (in the form of an arbitrary domain name).
    • How to leverage the Python socket library to retrieve the IP address of the Domain Name device.
    • How to leverage Python to save those Domain Name’s and IP addresses to a simple log file.
    • A demonstration of a simple UDP based client/server countdown timer application that we will decompose in Part II of the series.


Part II

Introduction to Python OS, File and Network Programming Modules Agenda:

  • - The goal of this session is for the participants to build upon what we learned in Part I and to develop a set of OS and network based utilities that can be added to the Python “Toolbox” that were created in Part I.  This includes:
    • Five simple example scripts that use the Python OS.walk and OS.listdir modules to read and manipulate files and directories.
    • Two simple examples of how to leverage Python OS and Network methods to ping devices
    • “Decomposing” or breaking down how the UDP based client/server timer application works.


Part III

Intro to Python Network Programming, Building Additional Tools Agenda:

  • - This session builds upon the “toolbox” utilities created in the previous two sessions and developing a set of additional Python based network programming tools. This includes:
    • Using the Python socket library to create a simple TCP based client/server message passing script.
    • Leveraging Python’s RESTful modules to pull down and parse web pages
    • Leveraging Python’s REST-based request module to log in to a Cisco UCS Server/ACI Fabric and collect information.

Looking forward to seeing you!

Vince

7 Comments
WendellO
Level 5
Level 5

Hey Vince,
Looks like some great introductory learning material. Can you give a little more context, like: are they available to use now? If so, can you add some links? (Couldn't find them on DevNet.) (or are these coming soon to an event...) Also, you mention another post "Additional Background for DevNet1040, 1041 and 1042 seminars" - couldn't find that with a search. Add a link there as well?

Thanks. At your convenience.

vkelly
Cisco Employee
Cisco Employee

Hi Wendell,

Yes all of the background content is available now. I actually submitted 2 posts; the first just describes the seminars the 2nd has the link and spreadsheet of all the videos – I guess it just hasn’t made the official post yet.

Mike Assel
Level 4
Level 4

Hi Vince.  I see DevNet 1040 and 1042 on ciscolive.com, but not 1041.  Should that be available as well?

vkelly
Cisco Employee
Cisco Employee

yes, absolutely. The three sessions are supposed to run consecutively - (1040 then 1041 then 1042)


DevNet 1040 Thursday 2/23 3:00PM-3:45PM  Theater/Classroom 3

DevNet 1041 Thursday 2/23 4:00PM-4:45PM  Theater/Classroom 3

DevNet 1042 Thursday 2/23 5:00PM-5:45PM  Theater/Classroom 3


Location: Messe, DevNet Zone

I also recently uploaded some background material on crypto on the box site in a new folder called. \PartIV Devnet Sessions\crypto\

The intent is to add more material about some of the concepts and topics we cover during the session (in addition to the python language background that's already out there) over time.

Let me know if its useful.

Thanks

Vince

Hi

Could you please share link to these sessions so , I can get benefit of these.

Thanks

Dilip

achachaw
Cisco Employee
Cisco Employee

Hi Vince

Greetings

Cant locate the links for the sessions mentioned, can you please teach how to access the content.

Thanks

Aditya

yawming
Cisco Employee
Cisco Employee

Login to www.ciscolive.com, if it's recorded it will be there.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: