Merge "fixing LISP flow mapping addr format table"
[docs.git] / manuals / user-guide / src / main / asciidoc / openflowplugin / odl-ofp-end-to-end-topology.adoc
1 [[introduction]]
2 ===== Introduction
3
4 The purpose of this page is to walk you through how to see the Topology
5 Manager working end to end with the openflowplugin using OpenFlow 1.3.
6
7 Basically, you will learn how to:
8
9 1.  Run the Base/Virtualization/Service provider Edition with the new
10 openflowplugin:
11 <<odl-ofp-running-controller-with-the-new-of-plugin_top,Running the controller with the new OpenFlow Plugin>>
12 2.  Start mininet to use OF 1.3:
13 <<odl-ofp-test-environment_top,OpenFlow 1.3 Enabled Software Switches / Environment>>
14 3.  Use RESTCONF to see the topology information.
15
16 [[restconf-for-topology]]
17 ===== Restconf for Topology
18
19 The REST url for listing all the nodes is:
20
21 -----------------------------------------------------------------------------
22 http://localhost:8080/restconf/operational/network-topology:network-topology/
23 -----------------------------------------------------------------------------
24
25 You will need to set the Accept header:
26
27 -----------------------
28 Accept: application/xml
29 -----------------------
30
31 You will also need to use HTTP Basic Auth with username: admin password:
32 admin.
33
34 Alternately, if you have a node's id you can address it as
35
36 ------------------------------------------------------------------------------------------
37 http://localhost:8080/restconf/operational/network-topology:network-topology/topology/<id>
38 ------------------------------------------------------------------------------------------
39
40 for example
41
42 ---------------------------------------------------------------------------------------------
43 http://localhost:8080/restconf/operational/network-topology:network-topology/topology/flow:1/
44 ---------------------------------------------------------------------------------------------
45
46 [[how-to-hit-restconf-with-postman]]
47 ====== How to hit RestConf with Postman
48
49 Install https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm?hl=en[postman] for Chrome
50
51 In the chrome browser bar enter
52
53 --------------
54 chrome://apps/
55 --------------
56
57 And click on Postman.
58
59 Enter the URL. Click on the Headers button on the far right. Enter the
60 Accept: header. Click on the Basic Auth Tab at the top and setup the
61 username and password. Send.