1 00:00:05,310 --> 00:00:08,370 For the first demonstration, all you need is your web browser. 2 00:00:09,090 --> 00:00:15,330 In this PowerPoint presentation, I've got a link to the dev net sandbox DNA center. 3 00:00:15,810 --> 00:00:18,630 So if I click on that, I'm asked to log in. 4 00:00:19,200 --> 00:00:22,630 So the username that I need to use is dev net. 5 00:00:22,650 --> 00:00:25,140 User password is Cisco. 6 00:00:25,680 --> 00:00:27,120 One, two, three. 7 00:00:28,340 --> 00:00:29,960 Bang or exclamation. 8 00:00:30,760 --> 00:00:31,440 Log in. 9 00:00:34,430 --> 00:00:37,430 And this is what DNA center looks like. 10 00:00:39,050 --> 00:00:44,810 DNA center, like a lot of controllers, has a northbound API and a southbound API, so it can manage 11 00:00:44,810 --> 00:00:45,710 network devices. 12 00:00:45,710 --> 00:00:49,880 As an example, using SNMP, one of the protocols rest API. 13 00:00:51,850 --> 00:00:56,710 We can see the rest API by clicking on the cog and going to API documentation. 14 00:01:00,130 --> 00:01:02,740 Here's the documentation for DNA center. 15 00:01:03,040 --> 00:01:11,710 So as an example, we can go to devices and we can see devices in the network by using a get statement. 16 00:01:11,770 --> 00:01:20,380 So here you see some of the rest API verbs get post, put delete as an example. 17 00:01:21,620 --> 00:01:26,810 I've also put a link to the documentation in this PowerPoint presentation, if you just want to click 18 00:01:26,810 --> 00:01:29,390 on that and go directly to the documentation. 19 00:01:29,900 --> 00:01:38,980 Here's an example of a rest uniform resource identifier or your I notice the protocol used is https 20 00:01:38,990 --> 00:01:43,880 the server or host your URL is sandbox cisco ecom. 21 00:01:43,880 --> 00:01:45,890 Then we've got a resource. 22 00:01:45,920 --> 00:01:55,400 Here's our resource DNA intent API v one network device and then we've got parameters of that resource 23 00:01:56,000 --> 00:01:56,870 in http. 24 00:01:56,900 --> 00:02:03,500 This is known as a path, but for rest this identifies the resource as defined by the API. 25 00:02:04,250 --> 00:02:09,770 Now that's all very good and well, but let's interact directly with the DNA Center Server API. 26 00:02:10,190 --> 00:02:12,630 I'm going to use Postman to do that. 27 00:02:12,650 --> 00:02:14,480 You can download Postman for free. 28 00:02:15,110 --> 00:02:18,220 So as an example on a Windows computer, go to Postman. 29 00:02:18,640 --> 00:02:19,130 Com. 30 00:02:20,230 --> 00:02:22,180 And Click Download App. 31 00:02:22,510 --> 00:02:25,600 It's picked up that I need a Windows version. 32 00:02:26,080 --> 00:02:33,310 I'm going to click on the 64 bit version of Postman and click Save to save it to my local harddrive. 33 00:02:33,610 --> 00:02:35,980 It's about 77 megs in size. 34 00:02:36,670 --> 00:02:39,880 It's like most Windows applications very simple to install. 35 00:02:40,330 --> 00:02:43,540 So I'm going to click on the installation file. 36 00:02:45,350 --> 00:02:46,940 Click Install anyway. 37 00:02:52,570 --> 00:02:55,780 Postman is now installing and it's starting up. 38 00:02:56,170 --> 00:02:59,560 Now you can create an account to back up your data. 39 00:02:59,860 --> 00:03:00,970 I'm not going to do that. 40 00:03:00,970 --> 00:03:02,620 I'm going to skip signing up. 41 00:03:03,040 --> 00:03:04,060 And there you go. 42 00:03:04,090 --> 00:03:08,050 I've now got Postman running on a Windows laptop. 43 00:03:08,470 --> 00:03:10,920 It's not a difficult application to use. 44 00:03:10,930 --> 00:03:13,890 You'll need to play around with it a little bit to get used to it. 45 00:03:13,930 --> 00:03:17,110 But as an example, you can create a request here. 46 00:03:17,680 --> 00:03:23,950 You can click on collections to save a collection of requests that you've made. 47 00:03:25,000 --> 00:03:26,980 I'm not going to use this Windows application. 48 00:03:26,980 --> 00:03:28,870 I'm going to go back to my Mac.