Merge "Added Security related paragraph for TSDR project"
[docs.git] / manuals / developer-guide / src / main / asciidoc / vtn / vtn-overview.adoc
1 === OpenDaylight Virtual Tenant Network (VTN) Overview
2
3 OpenDaylight Virtual Tenant Network (VTN) is an application that provides multi-tenant virtual network on an SDN controller.
4
5 Conventionally, huge investment in the network systems and operating expenses are needed because the network is configured as a silo for each department and system. Therefore various network appliances must be installed for each tenant and those boxes cannot be shared with others. It is a heavy work to design, implement and operate the entire complex network.
6
7 The uniqueness of VTN is a logical abstraction plane. This enables the complete separation of logical plane from physical plane. Users can design and deploy any desired network without knowing the physical network topology or bandwidth restrictions.
8
9 VTN allows the users to define the network with a look and feel of conventional L2/L3 network. Once the network is designed on VTN, it will automatically be mapped into underlying physical network, and then configured on the individual switch leverage SDN control protocol. The definition of logical plane makes it possible not only to hide the complexity of the underlying network but also to better manage network resources. It achieves reducing reconfiguration time of network services and minimizing network configuration errors. OpenDaylight Virtual Tenant Network (VTN) is an application that provides multi-tenant virtual network on an SDN controller. It provides API for creating a common virtual network irrespective of the physical network.
10
11 .VTN Architecture
12 image::vtn/vtn-overview.png[width=500]
13
14 It is implemented as two major components
15
16 * <<_vtn_manager,VTN Manager>>
17 * <<_vtn_coordinator,VTN Coordinator>>
18
19 ==== VTN Manager
20 An OpenDaylight Plugin that interacts with other modules to implement the components of the VTN model. It also provides a REST interface to configure VTN components in OpenDaylight. VTN Manager is implemented as one plugin to the OpenDaylight. This provides a REST interface to create/update/delete VTN components. The user command in VTN Coordinator is translated as REST API to VTN Manager by the OpenDaylight Driver component. In addition to the above mentioned role, it also provides an implementation to the OpenStack L2 Network Functions API.
21
22 ===== Function Outline
23
24 The table identifies the functions and the interface used by VTN Components:
25
26 [options="header"]
27 |===
28 | Component | Interface | Purpose
29 | VTN Manager |RESTful API | Configure VTN Virtualization model components in OpenDaylight
30 | VTN Manager | Neutron API implementation | Handle Networks API from OpenStack (Neutron Interface)
31 | VTN Coordinator | RESTful API |
32 (1) Uses the RESTful interface of VTN Manager and configures VTN Virtualization model components in OpenDaylight. +
33 (2) Handles multiple OpenDaylight orchestration. +
34 (3) Provides API to read the physical network details. See https://wiki.OpenDaylight.org/view/OpenDaylight_Virtual_Tenant_Network_(VTN):VTN_Coordinator:RestApi:L2_Network_Example_Using_VTN_Virtualization[samples] for usage.
35
36 |===
37
38 ===== Feature Overview
39
40 There are three features
41
42 * *odl-vtn-manager* provides VTN Manager's JAVA API.
43 * *odl-vtn-manager-rest* provides VTN Manager's REST API.
44 * *odl-vtn-manager-neutron* provides the integration with Neutron interface.
45
46 REST API documentation for VTN Manager, please refer to:
47 https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-merge-beryllium/lastSuccessfulBuild/artifact/manager/model/target/site/models/
48
49 For VTN Java API documentation, please refer to: https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-merge-beryllium/lastSuccessfulBuild/artifact/target/apidocs/index.html
50
51 Once the Karaf distribution is up, install dlux and apidocs.
52
53 ----
54 feature:install odl-dlux-all odl-mdsal-apidocs
55 ----
56
57 ====== Logging In
58
59 To Log in to DLUX, after installing the application:
60
61 * Open a browser and enter the login URL as http://<OpenDaylight-IP>:8181/index.html.
62
63 NOTE: Replace "<OpenDaylight-IP>" with the IP address of OpenDaylight  based on your environment.
64
65 * Login to the application with user ID and password credentials as admin.
66
67 NOTE: admin is the only default user available for DLUX in this release.
68
69 * In the right hand side frame, click "Yang UI".
70
71 YANG documentation for VTN Manager, please refer to: https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-merge-beryllium/lastSuccessfulBuild/artifact/manager/model/target/site/models/
72
73 ==== VTN Coordinator
74
75 The VTN Coordinator is an external application that provides a REST interface for an user to use OpenDaylight VTN Virtualization. It interacts with VTN Manager plugin to implement the user configuration. It is also capable of multiple OpenDaylight orchestration. It realizes VTN provisioning in OpenDaylight instances. In the OpenDaylight architecture VTN Coordinator is part of the network application, orchestration and services layer. VTN Coordinator will use the REST interface exposed by the VTN Manger to realize the virtual network using OpenDaylight. It uses OpenDaylight APIs (REST) to construct the virtual network in OpenDaylight instances. It provides REST APIs for northbound VTN applications and supports virtual networks spanning across multiple OpenDaylight by coordinating across OpenDaylight.
76
77 ===== Feature Overview
78
79 VTN Coordinator doesn't have Karaf features.
80
81 For VTN Coordinator REST API, please refer to: https://wiki.opendaylight.org/view/OpenDaylight_Virtual_Tenant_Network_%28VTN%29:VTN_Coordinator:RestApi
82
83 ==== Usage Examples
84 *  https://wiki.OpenDaylight.org/view/OpenDaylight_Virtual_Tenant_Network_(VTN):VTN_Coordinator:RestApi:How_to_configure_L2_Network_with_Single_Controller[L2 Network using Single Controller]
85