ETW APIC-EMNetwork Programmability with Cisco APIC-EM
Web Services - DevNet - Python - Jupyter Notebook
Yvan Rooseleer <[email protected]> 30 NOV 2018
POSTMAN: HTTP GET HEAD POST PUT DELETE
What is a web service?A web service is a way for two systems to communicate through a defined interface
REST (Representational State Transfer) REST is an architecture style for designing networked applications In REST, HTTP is used to communicate between 2 machines REST web services can send plain text, JSON, and also XML.
REST is a lightweight alternative to RPC, SOAP, Corba, …
Other exampleSOAP (Simple Object Access Protocol)
SOAP and REST can't be compared directly, since the first is a protocol (or at least tries to be) and the second is an architectural style.
POSTMAN: MAPQUEST API - GET REQUEST
POSTMAN: MAPQUEST API - RESPONSE
MAPQUEST Developer APIs
DevNet - Cisco APIC-EM Sandbox API Login
Cisco Application Policy Infrastructure Controller Enterprise Module
APIC-EM Controller - Device Inventory
APIC-EM Controller - Device Inventory(2)
APIC-EM Controller - Path Trace
IDLE Python Programming Environment
ANACONDA NAVIGATOR with Jupyter Notebook
PATH TRACE using PYTHON (1)
PATH TRACE using PYTHON (2)
Coding Practice● Coding is not new to Cisco.
There have always been talented programmers for the IOS and for network applications.● Writing simple code based on examples is easy.● Writing complex code is difficult.● Writing complex declarative CLI scripts is no easy task either.● In the future a number of networkers will be writing code, if they like it.● But even more networkers will run the code, and maybe adapt it.