filmov
tv
Python & Aruba AOS-CX REST API Crash Course
Показать описание
This is a (nearly) live recording of a talk that I gave at recent HPE virtual events, covering those hints and tips about Python that I wish I had known when I was starting out learning Python and REST APIs.
I cover basics such as API authentication and the Swagger interface, but also some more advanced topics like hierarchy, Python data types (dicts & lists) plus working with JSON.
I then bring it all together to run a script to check my network devices are running the desired version of code.
All the code and accompanying notes are available as a Jupyter Notebook:
Timestamps:
00:00 - Intro
02:25 - Clone the Jupyter Notebooks and install
05:55 - Swagger interface
12:40 - Login/logout of the REST API
18:00 - A word about security
23:35 - Python and whitespace
28:20 - Exception handling
31:15 - Working with JSON & Python dictionaries
38:55 - Python lists
41:54 - For loops
48:10 - Final example
Twitter:
I cover basics such as API authentication and the Swagger interface, but also some more advanced topics like hierarchy, Python data types (dicts & lists) plus working with JSON.
I then bring it all together to run a script to check my network devices are running the desired version of code.
All the code and accompanying notes are available as a Jupyter Notebook:
Timestamps:
00:00 - Intro
02:25 - Clone the Jupyter Notebooks and install
05:55 - Swagger interface
12:40 - Login/logout of the REST API
18:00 - A word about security
23:35 - Python and whitespace
28:20 - Exception handling
31:15 - Working with JSON & Python dictionaries
38:55 - Python lists
41:54 - For loops
48:10 - Final example
Twitter:
Python & Aruba AOS-CX REST API Crash Course
Using AOS-CX API Swagger Web UI - Aruba Bots Python Series 06
Intro to REST API on ArubaOS-Switch and ArubaOS-CX - Aruba Bots REST API and Python Series 01
Intelligent and Programmable Core: Aruba 8400 REST API Demo
New Aruba AOS-CX API
VLAN Config via REST API - Python and ArubaOS-CX 3
Python Functions for REST API - Python and ArubaOS-CX 4
Getting Started with Swagger - Python and ArubaOS-CX 1
Login with Python - Python and ArubaOS-CX 2
Using the Aruba CX pyaoscx Python SDK
ArubaOS 8.x REST API with Python
Intro to NAPALM and AOS CX Drivers - Aruba Bots NAPALM Series 01
Breaking Down ArubaOS-Switch 'Device-Management' Python Workflow - Aruba Bots Python Serie...
Aruba Powered by AOS-CX: New Features in the Operating System for CX Switches
Why Python for Network Automation? - Aruba Bots REST API and Python Series 02
Intro to pycentral the Aruba Central Python SDK - Aruba Bots Central Series 03
Aruba Restful Automation Series - Episode 10: Aruba Central: My First Python Script
Introduction to pyaoscx - Aruba Bots Python Series 07
The Aruba Switching Story - Episode 10 - Automation with AOS-CX, Aruba CX portfolio, and Closing
Aruba Restful Automation Series - Episode I: A Restful Beginning
Control Port PoE Programmatically with ArubaOS-Switch and Python
Setting Up Your Environment to Run ArubaOS-Switch Python Workflows - Aruba Bots Python Series 03
Aruba Restful Automation Series - Episode 2: APIs, what are they good for?
part 4 : Python and Automation - Aruba NAE bots
Комментарии