DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision,...

23

Transcript of DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision,...

Page 1: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,
Page 2: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

Kareem IskanderDEVNET-1234

Introduction to Cisco DNA Center

Page 3: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

Questions? Use Cisco Webex Teams to chat with the speaker after the session

Find this session in the Cisco Events Mobile App

Click “Join the Discussion”

Install Webex Teams or go directly to the team space

Enter messages/questions in the team space

How

1

2

3

4

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public

Cisco Webex Teams

DEVNET-1234 3

Page 4: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public

Agenda

• What is Cisco DNA Center?

• What is a REST API?

• Anatomy of a REST Request

• REST API Example With DNA Center

• REST API Tools

• Postman API Demo

4DEVNET-1234

Page 5: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

What is Cisco DNA Center?

Page 6: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public

Cisco DNA Center (DNA-C)

• “Cisco DNA Center is the network management and command center for Cisco DNA, your intent-based network for the enterprise.”

6DEVNET-1234

Page 7: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public

Cisco DNA Center

7DEVNET-1234

Cisco DNA Center: Design,

provision, automate policy and

assure services from one place

Logical workflow to design,

provision, set policy

Respond to changes faster

Monitor end-to-end

network performance

Predict and act on problems

before they happen

Pinpoint problems faster

Reduce downtime with an

end-to-end view instead of

hop by hop

Manage hardware and

software lifecycles

Keep up to date, meet

compliance and plan for refresh

Page 8: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

What is Cisco DNA Center Platform?

Page 9: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public

Platform Capabilities – APIs, Adapters & SDKs

9DEVNET-1234

• Network Inventory / Discovery /Tagging

• SDA

• Topology

• Plug-n-Play

• Software Image Management (SWIM)

X-Domain Integration

• Assurance

• Path Trace

• Command Runner

• Template Programmer

• NFV Provisioning

• Wireless Provisioning

IT and Network System Process

ITSM

IPAM

Reporting

3rd Party SDKs

Map 3rd Party Network Devices to Data Model

Level 1 Operations support:Discovery, Inventory, Topology, Availability, Command Runner

Intent APIs

Networking

Page 10: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public

Intent APIs

• Intent Based API for network operations

• Network capabilities abstraction

• API’s aligned with business constructs

• Custom Business API from an aggregation of network APIs

• Network Level - Features based API

• Consistent model for feature across all devices types

• All UI capabilities of Cisco DNA Center available via the API

• Example: SWIM workflow

• Create Sites and Network Profiles

• Create sub-pool for sites

• Assign site to network profiles

• Assign Claim device to site

• Trigger Provision request for ENCS device

Network APIs Business APIs

10DEVNET-1234

Page 11: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public

Example of Business Intent API: SSID Creation

➢ Create Dynamic Interface

➢ Create SSID

➢ Create Wireless Network Profile

➢ Associate device physical location

➢ Associate managed AP locations

➢ Provision WLC

➢ Create and Provision SSID

11DEVNET-1234

Page 12: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public

Cisco DNA Center PlatformEvents & Notifications

12DEVNET-1234

Assurance

AutomationWebHook /

3rd Party App

REST End PointEventsD

NA

CP

System

Cisco DNA Center

Real time / Periodic Sync

Page 13: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

What is a REST API?

Page 14: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public

• REpresentational State Transfer (REST) is an API architectural style

• 6 Principles of REST:

• Can be applied for any protocol, but HTTP is the most common

What is REST?

1

2

3

4

5

6

Client-Server

Stateless

Cacheable

Uniform Interface

Layered System

Code-On-Demand(Optional)

REST

14DEVNET-1234

Page 15: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public

What is an API?

• An interface that exposes selected data, services, and functionality of an application

• Set of requirements that govern how one application can talk to another

• Built to be consumed by another application that uses them programmatically

API

15DEVNET-1234

Page 16: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public

What can you do with APIs?

• Automate tasks

• Write a script for your manual tasks

• Build applications

• Dashboards

• Client applications

• Mobile apps

• Web applications

• Extend product functionality

http://

16DEVNET-1234

Page 17: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public

Why are APIs now popular?

Simpler API & Language Maturity

• RESTful APIs

• Expressive Modern Languages

Reliable

• APIs are designed into products and not an afterthought

• Tested as a component of the product

Online Communities

• Social Code Sharing (GitHub, Code Example)

• Public Package Repositories

17DEVNET-1234

Page 18: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public

What is a REST Web Services API?

• Adheres to the principles of the REST architectural style

• Communicate over HTTP protocol

• An interface for applications to send and receive data between each other

• Commonly known as REST API

18DEVNET-1234

Page 19: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

Cisco DNA Center Walk Through and Hands on API

Page 20: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

Complete your online session survey • Please complete your session survey

after each session. Your feedback is very important.

• Complete a minimum of 4 session surveys and the Overall Conference survey (starting on Thursday) to receive your Cisco Live t-shirt.

• All surveys can be taken in the Cisco Events Mobile App or by logging in to the Content Catalog on ciscolive.com/emea.

Cisco Live sessions will be available for viewing on demand after the event at ciscolive.com.

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco PublicDEVNET-1234 20

Page 21: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public

Related sessions

Walk-In LabsDemos in the Cisco Showcase

Meet the Engineer 1:1 meetings

Continue your education

21DEVNET-1234

Page 22: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,

Thank youThank you

Page 23: DEVNET-1234 - Typepad · 2020. 3. 1. · DEVNET-1234 7 Cisco DNA Center: Design, provision, automate policy and assure services from one place Logical workflow to design, provision,