DEVNET-1114 Automated Management Using SDN/NFVCisco DevNet
The document discusses the use of Software-Defined Networking (SDN) and Network Functions Virtualization (NFV) for automating and dynamically provisioning networks in cloud data centers. It highlights the inefficiencies of current fixed capacity models and outlines a testbed for SDN implementation at the New York State Center for Cloud Computing & Analytics. The paper emphasizes the necessity for innovative management and orchestration methods to improve operational efficiency and respond to varying network demands.
DEVNET-2002 Coding 201: Coding Skills 201: Going Further with REST and Python...Cisco DevNet
The document is a presentation by Mike Maas on coding in Python, specifically focusing on parsing JSON data from the network. It outlines tools, requirements, and methods for working with Python and JSON, including examples of requesting and parsing content. Additionally, it provides references and resources for further learning and debugging techniques.
DEVNET-1114 Automated Management Using SDN/NFVCisco DevNet
The document discusses the use of Software-Defined Networking (SDN) and Network Functions Virtualization (NFV) for automating and dynamically provisioning networks in cloud data centers. It highlights the inefficiencies of current fixed capacity models and outlines a testbed for SDN implementation at the New York State Center for Cloud Computing & Analytics. The paper emphasizes the necessity for innovative management and orchestration methods to improve operational efficiency and respond to varying network demands.
DEVNET-2002 Coding 201: Coding Skills 201: Going Further with REST and Python...Cisco DevNet
The document is a presentation by Mike Maas on coding in Python, specifically focusing on parsing JSON data from the network. It outlines tools, requirements, and methods for working with Python and JSON, including examples of requesting and parsing content. Additionally, it provides references and resources for further learning and debugging techniques.
The document discusses microprocessors and provides details about:
- What a microprocessor is, including that it contains the CPU and control functions on a single chip
- Types of memory like ROM and RAM
- Components of the central processing unit (CPU)
- Features of Intel processors like Turbo Boost and integrated graphics
- Different types of desktop and laptop processors from Intel including Core i3, i5, i7, and Core i7 Extreme
- Factors to consider when choosing a processor like intended use, performance needs, and number of simultaneous programs
Documentul este un proiect de istorie orală care relatează experiența unui prizonier de război, Bârgăoanu Constantin, în timpul celui de-al doilea război mondial. Elevii descoperă detaliile grele ale vieții sale ca prizonier în lagărele de muncă forțată, inclusiv metodele de supraviețuire și munca pe care a fost nevoit să o desfășoare. Manuscrisul său oferă o lecție valoroasă despre patriotism și curaj în fața adversității, subliniind sacrificiile făcute de oameni simpli pentru a supraviețui.
The document introduces version control systems (VCS) and focuses on managing source code with Git and GitHub. It discusses the benefits of version control, Git's workflow, and provides instructions for installation, configuration, and usage of Git along with links to resources and tools. Additionally, it covers creating repositories, committing changes, and connecting to GitHub via SSH keys.
This document introduces Python for network engineers, covering an overview of Python, what tasks it can perform like network automation, how to run Python interactively and with files, differences between Python and shell scripting, Python data types, modules, and includes an example Python program to login to a switch and retrieve interface configuration using Telnet.
Understanding REST APIs in 5 Simple StepsTessa Mero
This document summarizes the 5 steps to understanding REST APIs: 1) Understanding the purpose of APIs and their importance and growth, 2) Learning that REST defines functions to communicate via HTTP verbs and nouns, 3) Knowing that APIs use requests and responses, 4) Relying on documentation as the reference, and 5) Using debugging and testing tools to prevent issues. It provides examples of requests, responses, API documentation, and tools like Postman for working with REST APIs.
Simulation training in medicine and technology managementMCH-org-ua
Simulation training is essential in high-risk fields like medicine, where on-the-job training can be costly or dangerous. It provides structured learning opportunities, improves crisis management, and enhances teamwork, which are crucial for reducing medical errors and improving patient outcomes. The future of simulation lies in its application across various disciplines for skills training, decision-making, and inter-professional communication.
Coding 102 REST API Basics Using SparkCisco DevNet
This document provides an overview and agenda for a workshop on REST API basics using the Cisco Spark API. The agenda includes an introduction to REST APIs and what makes them useful, a tour of the Cisco Spark API and its endpoints, and hands-on exercises for interacting with the Cisco Spark API using Postman and JavaScript examples. Attendees will learn how to retrieve room and membership data, add messages to rooms, and call API functions from JavaScript code. The workshop aims to help developers get started using the Cisco Spark API and provides resources for continuing their education on API design and development.
The document discusses the Cisco Cloud Services Router 1000V (CSR 1000V). Key points:
- The CSR 1000V is a virtual router that runs the same IOS-XE operating system as physical Cisco routers. It provides routing and firewall capabilities in a virtual machine.
- It supports zone-based firewalling with unlimited interfaces, compared to the limited capabilities of IOS firewalling. Maximum throughput is 1Gbps.
- The document provides configuration examples for deploying and configuring the CSR 1000V on VMware ESXi, including enabling the RESTful API and zone-based firewall.
- onePK and RESTful APIs allow programmatic access and automation of the router for tasks like
Cisco Application Infrastructure Controller (APIC) enables Application Centric Infrastructure (ACI). APIC provides network abstraction and automation for WAN and access domains as part of the Cisco ONE platform, broadening its capabilities beyond the data center. The Cisco ONE Enterprise Networks Architecture uses APIC as its control layer to simplify configuration and provisioning of networks for the application economy through programmability and automation of network configuration.
The document provides an overview of Cisco's APIC-EM (Application Policy Infrastructure Controller Enterprise Module), detailing its architecture, services, and REST API functionality for managing cloud, data center, WAN, and access networks. It emphasizes the abstraction of network devices to enhance policy management, application visibility, and network automation, promoting a consistent policy approach across infrastructures. Additionally, it includes various use cases, settings for network devices, and automation scripts for managing network location and configuration updates.
BFD is a protocol that can quickly detect failures in the forwarding path between two adjacent routers, including interfaces, data links, and forwarding planes. It operates in two modes: asynchronous mode where it periodically sends control packets, and demand mode where it only sends packets when needed. When a failure is detected, BFD triggers routing protocol actions to recalculate the routing table and reduce convergence time. It provides fast failure detection independently of media, encapsulation, topology, or routing protocol. Configuring BFD involves setting intervals at the interface level and enabling it for routing protocols.
The document discusses Nmap, a free and open source tool for network discovery and security auditing. It describes Nmap's scanning techniques like SYN scans, ping scans, UDP scans, and version detection. It also covers options for detecting the operating system, specifying hosts and ports to include or exclude from scans, getting real-time information through verbose mode and packet tracing, and logging scan results in different formats.
Le document est un remerciement aux participants du workshop SDN/ACI du 12 février 2015, présentant un résumé de l'événement et un questionnaire de satisfaction. Il met en avant les compétences d'Alliance en tant que partenaire de formation Cisco, offrant divers services de conseils et de formation. Les coordonnées des interlocuteurs et des liens vers plus d'informations sont également fournies.
The document provides instructions on how to solve exercises involving relative pronouns such as who, which, that in Vietnamese. It discusses connecting two sentences using a relative pronoun, filling blanks in sentences with relative pronouns, and guidelines for using relative pronouns including use of commas, omitting pronouns, and situations that require or prohibit certain pronouns. Examples are provided to demonstrate these rules. The document also contains exercises for students to practice using relative pronouns in sentences.
Policy-Based Routing (PBR) allows network administrators to override the default routing behavior and specify how traffic should be routed based on matching criteria. PBR uses route-maps to match packets and set the next-hop. Route-maps contain match and set clauses - match clauses define the conditions to match packets, and set clauses define the action to take for matched packets such as specifying the next-hop router. Network administrators configure PBR by defining route-maps with match and set statements, applying the route-map to an interface with the ip policy command.
7. Data Type
String str = ‘message’
Integer number = 20
Floating Point pi = 3.14159
Boolean isParse = True, False
None None
List list = [1, 2, 3]
Dictionary me = {“name”: “Bas”, “No”: 1}
Class instance a = MyClass()
8. Operator
Basic Operator
+, -, *, /, %, **, &, | warning!
- int/int == int
- int**(-int) == float
Comparison Operator
- int/float == float
>, >=, <, <=, ==, !=, is - string + string == concat string
- string * int == multiple string
- list + list = list
shortly
i = i + 1 == i += 1
9. Logical Operator
ใน Python เราจะใช้ & และ | (Pipe) เพื่อทํา and, or Operation
แต่ใน Python ก็มี Operator พิเศษและนิยมใช้กันนั่นคือ
and , or
shortly logical operation
x &= (a == b)
==
x = x and (a == b)
10. Control Statement (if)
If
condition statement
เงื่อนไขของ if ไม่ต้องใส่วงเล็บ เว้นแต่ว่าเงื่อนไขจะมีหลายบรรทัด
number = int(input(“Enter Number: “)) number = int(input(“Enter Number: “))
if number > 0: if number % 2 == 0 or number % 4 == 0
print “Number is Positive” or number % 5 == 0:
elif number < 0: print ‘Number divided by 2, 4, 5’
print “Number is Negative”
else:
print “Number is Zero”
11. Control Statement (for)
For (foreach)
loop statement
list = [7, 8, 9, 10]
for x in xrange(10): for index, value in enumerate(list):
print x print index, value
for x in xrange(3, 20):
print x
x=0 Endless Loop
name = [‘a’, ‘b’, ‘c’] while (x <= 10): while True:
for x in name print x if condition:
print x x += 1 break;
12. Play with List, Dictionary
string method and slice
list and list method demo
dictionary demo
mixed type list, dictionary
13. Function
Function Syntax:
def function_name(set of parameter):
statement ..
statement ..
def fibonacci(n):
fibo = 0;
for k in xrange(0, int(math.floor((n - 1) / 2)) + 1):
fibo += math.factorial(n - k - 1) /
(math.factorial(k) * math.factorial(n - k - 1 - k))
return fibo
Muti-Return Data
14. Python OOP
- Class = แม่พิมพ์ขนม
- Object, Instance = ขนม
- Python Class ก็เช่นเดียวกัน
- Python Class จะ subclass จาก Class object เสมอ
Demo:
- create class
- constructor and destructor
- create class instance
- using class
15. Read and Write File
open(‘filename’, ‘mode’)
r = read # เปิดไฟล์เพื่ออ่าน
w = write # เปิดไฟล์เพื่อเขียนทับ
a = append # เปิดไฟล์เพื่อเขียนต่อ
file = open(‘filename.txt’, r)
file.read() # อ่านไฟล์ทั้งหมดเป็น String
file.readline() # อ่านไฟล์ทีละบรรทัด
file.readlines() # อ่านไฟล์ทุกบรรทัดออกมาเป็น List of String
file.write(‘string’) # เขียน String ทั้งหมดลงไฟล์
file.writelines([list of string]) # เขียน List of String ลงไฟล์
19. It’s Application
Digital Image Processing (Python Imaging Library)
Computer Vision (OpenCV)
Web Framework (Django)
Web Server (Gunicorn, Tornado)
Web Client (Beautiful Soup, urllib3, html5lib)
Content Management System (Plone)
Natural Language Processing (NLTK)