Download - WAN Automation Engine API Deep Dive
WAN Automation Engine API Deep DiveJosh Peters - Technical Marketing Engineer
Marcelo Silva – Senior Product ManagerDEVNET-2035
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Introduction: What is WAE?• Key Use Cases• API Walkthrough
Agenda
DEVNET-2035 2
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Abstraction from Protocols to Applications
“Service Abstraction”Service models & orchestration
“Network Abstraction”Path computation, Network model
“Device Abstraction”Controllers, NED’
ProtocolsSouthbound network protocols
Applications and Services
Networks and Network Models
Devices and Device Models
DEVNET-2035
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
What is WAE ?• A model-driven path visibility and path
computation engine that can simulate, optimize and activate paths in the network supporting a multi-vendor and multi-layer environment
• Enables applications for planning, peering, forecasting, traffic engineering to be developed via a programmatic interface
• WAE is NOT a controller – but leverages controllers.
DEVNET-2035
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
WAN Automation EngineEvolution: Delivering Optimization and Automation
• Modeling• What if/predictive
analysis• Global optimization
• Assess historical and
real-time data• Find and manage hot
spots• Network efficiency
analysis
• Programmatic network control
• Model-driven Path Activation
• Monitor for path constraint violations
• Automate network changes to ensure path compliance
Predictive Model Time Series Visibility Path Activation Dynamic SLA Management
WAE
DEVNET-2035
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Optimization and Prediction Module
WAE Architecture Overview
…
WAN Automation Engine
Collector Deployer Network Interface
Network Model Manager
Service Interface APIs
SNMP NetFlow Optical Plug-In
BGP-LS( ODL) NMS/EMS
NSODevice
Mgr.PCEP( ODL)
Controller
Plug-In
WAEDesign
BWCal.
BWOD
Service Orchestator
Ex: NSO
WAELive
Co-ordinated Maintenance
Third Party Apps
…TelemetryData
DEVNET-2035
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
Key Use Cases
DEVNET-2035 7
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Simulation and Impact Visualization Route Simulation Traffic Simulation
Determine how Demands and LSPs are routed taking into account network constraints
(MUST consider failure conditions)
Using the Routing Simulation, Determine the utilization of interfaces and SLA impact to traffic
(MUST consider failure conditions)
Simulate Link Failure See the Impact per Service Class
DEVNET-2035
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Use Case: Evaluate Onboarding of a New Customer
Can a new service using 4Gbps at the San Francisco PoP be supported?
Model and predict impact of the new service within minutes
Identify flows for new customer Add 4Gbps to those flowsSimulate results
Scenario Value
DEVNET-2035
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
Use Case: Multi-layer Path DiversityObservations Analysis Recommendations
At Layer three LSP paths look disjoint
If a fiber cut happens, both tunnels go down
Account for L1 and L3 in the disjointness calculation
DEVNET-2035
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
Use Case: Optimization based on CapacityScenario Value
Ask WAE to find the minimum number of tunnels needed to get below a utilization threshold
Optimize the network to ensure it is not over-utilized
DEVNET-2035
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
WAE API Walkthrough
DEVNET-2035 12
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
WAE Design RPC API Example
WAE Design: WAE RPC API
WAE Design functionality accessible through an API• Step 1: Get the Latest Model From the WAE Automation Server
DEVNET-2035
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
WAE Design RPC API Example
WAE Design: WAE RPC API
WAE Design functionality accessible through an API• Step 2: Create the LSP
DEVNET-2035
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
WAE Design RPC API Example
WAE Design: WAE RPC API
WAE Design functionality accessible through an API• Step 3: Create the LSP Path
DEVNET-2035
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
WAE Design RPC API Example
WAE Design: WAE RPC API
WAE Design functionality accessible through an API• Step 4: Optimize or Define the Segment Hops
DEVNET-2035
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
WAE Design RPC API Example
WAE Design: WAE RPC API
WAE Design functionality accessible through an API• Step 5: Deploy the model to the WAE Automation server
DEVNET-2035
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
WAE Design RPC API Example
WAE RPC API
WAE Design functionality accessible through an API• Step 6: Putting the functions together
The script will need as inputs the source node, destination node and a unique tunnel name.
Define the path on the system to store the source and destination network models.
Import Required Libraries
DEVNET-2035
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
WAE Design RPC API Example
WAE RPC API
WAE Design functionality accessible through an API• Step 6: Putting the functions together
Next download the plan file and load it in the WAE Design RPC API service
Create and Optimize the LSP
Save the plan file from the WAE Design RPC API to the file system, then deploy that plan file to the Automation server.
Save and Run the script
DEVNET-2035
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
Complete Your Online Session Evaluation
Don’t forget: Cisco Live sessions will be available for viewing on-demand after the event at CiscoLive.com/Online
• Give us your feedback to be entered into a Daily Survey Drawing. A daily winner will receive a $750 Amazon gift card.
• Complete your session surveys through the Cisco Live mobile app or from the Session Catalog on CiscoLive.com/us.
20DEVNET-2035
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Continue Your Education• Demos in the Cisco campus
• Walk-in Self-Paced Labs
• Lunch & Learn
• Meet the Engineer 1:1 meetings
• Related sessions
DEVNET-2035
Thank you
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco PublicDEVNET-2035 22
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
Service Provider Cisco Education OfferingsCourse Description Cisco Certification
Deploying Cisco Service Provider Network Routing (SPROUTE) & Advanced (SPADVROUTE) Implementing Cisco Service Provider Next-Generation Core Network Services (SPCORE) Edge Network Services (SPEDGE)
SPROUTE covers the implementation of routing protocols (OSPF, IS-IS, BGP), route manipulations, and HA routing features; SPADVROUTE covers advanced routing topics in BGP, multicast services including PIM-SM, and IPv6;
SPCORE covers network services, including MPLS-LDP, MPLS traffic engineering, QoS mechanisms, and transport technologies;
SPEDGE covers network services, including MPLS Layer 3 VPNs, Layer 2 VPNs, and Carrier Ethernet services; all within SP IP NGN environments.
CCNP Service Provider®
Building Cisco Service Provider Next-Generation Networks, Part 1&2 (SPNGN1), (SPNGN2)
The two courses introduce networking technologies and solutions, including OSI and TCP/IP models, IPv4/v6, switching, routing, transport types, security, network management, and Cisco OS (IOS and IOS XR).
CCNA Service Provider®
Implementing Cisco Service Provider Mobility UMTS Networks (SPUMTS);Implementing Cisco Service Provider Mobility CDMA Networks (SPCDMA);Implementing Cisco Service Provider Mobility LTE Networks (SPLTE)
The three courses (SPUMTS, SPCDMA, SPLTE) cover knowledge and skills required to understand products, technologies, and architectures that are found in Universal Mobile Telecommunications Systems (UMTS) and Code Division Multiple Access (CDMA) packet core networks, plus their migration to Long-Term Evolution (LTE) Evolved Packet Systems (EPS), including Evolved Packet Core (EPC) and Radio Access Networks (RANs).
Cisco Service Provider Mobility CDMA to LTE Specialist;Cisco Service Provider Mobility UMTS to LTE Specialist
Implementing and Maintaining Cisco Technologies Using IOS XR (IMTXR)
Service Provider/Enterprise engineers to implement, verification-test, and optimize core/edge technologies in a Cisco IOS XR environment.
Cisco IOS XR Specialist
For more details, please visit: http://learningnetwork.cisco.comQuestions? Visit the Learning@Cisco Booth or contact [email protected]
DEVNET-2035
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Network Programmability Cisco Education OfferingsCourse Description Cisco Certification
Integrating Business Applications with Network Programmability (NIPBA);Integrating Business Applications with Network Programmability for Cisco ACI (NPIBAACI)
Learn networking concepts, and how to deploy and troubleshoot programmable network architectures with these self-paced courses.
Cisco Business Application Engineer Specialist Certification
Developing with Cisco Network Programmability (NPDEV); Developing with Cisco Network Programmability for Cisco ACI (NPDEVACI)
Learn how to build applications for network environments and effectively bridge the gap between IT professionals and software developers.
Cisco Network Programmability Developer Specialist Certification
Designing with Cisco Network Programmability (NPDES); Designing with Cisco Network Programmability for Cisco ACI (NPDESACI)
Learn how to expand your skill set from traditional IT infrastructure to application integration through programmability.
Cisco Network Programmability Design Specialist Certification
Implementing Cisco Network Programmability (NPENG); Implementing Cisco Network Programmability for Cisco ACI (NPENGACI)
Learn how to implement and troubleshoot open IT infrastructure technologies.
Cisco Network Programmability Engineer Specialist Certification
For more details, please visit: http://learningnetwork.cisco.comQuestions? Visit the Learning@Cisco Booth or contact [email protected]
DEVNET-2035