Replace supported admonitions with rst directives
[docs.git] / docs / developer-guide / odl-sdni-developer-guide.rst
1 ODL-SDNi Developer Guide
2 ========================
3
4 Overview
5 --------
6
7 This project aims at enabling inter-SDN controller communication by
8 developing SDNi (Software Defined Networking interface) as an
9 application (ODL-SDNi App).
10
11 ODL-SDNi Architecture
12 ---------------------
13
14 -  SDNi Aggregator: Northbound SDNi plugin acts as an aggregator for
15    collecting network information such as topology, stats, host etc.
16    This plugin can be evolving as per needs of network data requested to
17    be shared across federated SDN controllers.
18
19 -  SDNi API: API view autogenerated and accessible through RESTCONF to
20    fetch the aggregated information from the northbound plugin – SDNi
21    aggregator.The RESTCONF protocol operates on a conceptual datastore
22    defined with the YANG data modeling language.
23
24 -  SDNi Wrapper: SDNi BGP Wrapper will be responsible for the sharing
25    and collecting information to/from federated controllers.
26
27 -  SDNi UI:This component displays the SDN controllers connected to each
28    other.
29
30 SDNi Aggregator
31 ---------------
32
33 -  SDNiAggregator connects with the Base Network Service Functions of
34    the controller. Currently it is querying network topology through
35    MD-SAL for creating SDNi network capability.
36
37 -  SDNiAggregator is customized to retrieve the host controller’s
38    details, while running the controller in cluster mode. Rest of the
39    northbound APIs of controller will retrieve the entire topology
40    information of all the connected controllers.
41
42 -  The SDNiAggregator creates a topology structure.This structure is
43    populated by the various network funtions.
44
45 SDNi API
46 --------
47
48 Topology and QoS data is fetched from SDNiAggregator through RESTCONF.
49
50 `http://${controlleripaddress}:8181/apidoc/explorer/index.html <http://${controlleripaddress}:8181/apidoc/explorer/index.html>`__
51
52 `http://${ipaddress}:8181/restconf/operations/opendaylight-sdni-topology-msg:getAllPeerTopology <http://${ipaddress}:8181/restconf/operations/opendaylight-sdni-topology-msg:getAllPeerTopology>`__
53
54 **Peer Topology Data:** Controller IP Address, Links, Nodes, Link
55 Bandwidths, MAC Address of switches, Latency, Host IP address.
56
57 `http://${ipaddress}:8181/restconf/operations/opendaylight-sdni-qos-msg:get-all-node-connectors-statistics <http://${ipaddress}:8181/restconf/operations/opendaylight-sdni-qos-msg:get-all-node-connectors-statistics>`__
58
59 **QOS Data:** Node, Port, Transmit Packets, Receive Packets, Collision
60 Count, Receive Frame Error, Receive Over Run Error, Receive Crc Error
61
62 `http://${ipaddress}:8181/restconf/operations/opendaylight-sdni-qos-msg:get-all-peer-node-connectors-statistics <http://${ipaddress}:8181/restconf/operations/opendaylight-sdni-qos-msg:get-all-peer-node-connectors-statistics>`__
63
64 **Peer QOS Data:** Node, Port, Transmit Packets, Receive Packets,
65 Collision Count, Receive Frame Error, Receive Over Run Error, Receive
66 Crc Error
67
68 SDNi Wrapper
69 ------------
70
71 .. figure:: ./images/SDNiWrapper.png
72    :alt: SDNiWrapper
73
74    SDNiWrapper
75
76 -  SDNiWrapper is an extension of ODL-BGPCEP where SDNi topology data is
77    exchange along with the Update NLRI message. Refer
78    http://tools.ietf.org/html/draft-ietf-idr-ls-distribution-04 for more
79    information on NLRI.
80
81 -  SDNiWrapper gets the controller’s network capabilities through SDNi
82    Aggregator and serialize it in Update NLRI message. This NLRI message
83    will get exchange between the clustered controllers through
84    BGP-UPDATE message. Similarly peer controller’s UPDATE message is
85    received and unpacked then format to SDNi Network capability data,
86    which will be stored for further purpose.
87
88 SDNi UI
89 -------
90
91 This component displays the SDN controllers connected to each other.
92
93 http://localhost:8181/index.html#/sdniUI/sdnController
94
95 API Reference Documentation
96 ---------------------------
97
98 Go to
99 `http://${controlleripaddress}:8181/apidoc/explorer/index.html <http://${controlleripaddress}:8181/apidoc/explorer/index.html>`__,
100 sign in, and expand the opendaylight-sdni panel. From there, users can
101 execute various API calls to test their SDNi deployment.
102