Escolar Documentos
Profissional Documentos
Cultura Documentos
Requests
module
Python Higher Layer Libraries
HTTP, etc.
TCP/IP PROTOCOL STACK
TCP UDP
IP
Device Drivers
Framer/
Protocol
B decode
Tx U Rx
Buffers S Buffers
LAYER 1 NIC
DEVNET-1042 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Building A Spreadsheet Primer
http://openpyxl.readthedocs.io/en/default/changes.html
DEVNET-1042 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
XMLRPC
XMLRPC
TCP UDP
IP
Device Drivers
Framer/
Protocol
B decode
Tx U Rx
Buffers S Buffers
LAYER 1 NIC
DEVNET-1042 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
http://openpyxl.readthedocs.io/en/default/changes.html
DEVNET-1042 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
The Higher Layer Protocols: Next, REST & HTTP
Requests
module
Python Higher Layer Libraries
HTTP, etc.
TCP/IP PROTOCOL STACK
TCP UDP
IP
Device Drivers
Framer/
Protocol
B decode
Tx U Rx
Buffers S Buffers
LAYER 1 NIC
DEVNET-1042 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
REST and HTTP
DEVNET-1042 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
TCP Send a REST Request to Google
followHTTP_Google.py
import socket
c=socket.socket(socket.AF_INET,socket.SOCK_STREAM)
c.connect(('www.google.com',80))
c.sendall('GET / HTTP/1.0\r\n\r\n')
result = c.recv(65535)
c.close()
DEVNET-1042 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
The Higher Layer Protocols: Next, REST & HTTP
Requests
module
Python Higher Layer Libraries
HTTP, etc.
TCP/IP PROTOCOL STACK
TCP UDP
IP
Device Drivers
Framer/
Protocol
B decode
Tx U Rx
Buffers S Buffers
LAYER 1 NIC
DEVNET-1042 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
APIC REST Interface
DEVNET-1042 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Infrastructure Configuration Using REST API Only
Policy
Management
APIC Cluster
XML
Configuration Library
- XML requests.py
- YAML Log into UCS, ACI or NX-OS
DEVNET-1042 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Thank You
Q&A
Complete Your Online Session Evaluation
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
Dont forget: Cisco Live sessions will be available
Communication Stations for viewing on-demand after the event at
CiscoLive.com/Online
DEVNET-1042 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
Continue Your Education
Demos in the Cisco campus
Walk-in Self-Paced Labs
Lunch & Learn
Meet the Engineer 1:1 meetings
Related sessions
DEVNET-1042 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
Thank You