没有合适的资源?快使用搜索试试~ 我知道了~
OpenDayLight(ODL) Developer Guide -
需积分: 24 11 下载量 102 浏览量
2017-10-30
11:26:29
上传
评论
收藏 4.47MB PDF 举报
温馨提示
试读
194页
This guide describes how to develop using OpenDaylight.
资源推荐
资源详情
资源评论
OpenDaylight
Developer Guide
Lithium (June 29, 2015)
OpenDaylight Developer Guide June 29, 2015 Lithium
ii
OpenDaylight Developer Guide
OpenDaylight Community
Lithium (2015-06-29)
Copyright © 2015 Linux Foundation All rights reserved.
This guide describes how to develop using OpenDaylight.
This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which
accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
OpenDaylight Developer Guide June 29, 2015 Lithium
iii
Table of Contents
I. Overview ...................................................................................................................... 1
1. Getting started with Git and Gerrit ..................................................................... 3
Overview of Git and Gerrit .............................................................................. 3
Setting up a Gerrit account ............................................................................. 3
Generating SSH keys for your system ............................................................... 6
Registering your SSH key with Gerrit ............................................................... 6
2. Pulling and Pushing the Code from the CLI .......................................................... 9
Pulling code via Git CLI ................................................................................... 9
Setting up Gerrit Change-id Commit Message Hook ......................................... 9
Building the code .......................................................................................... 10
Runing OpenDaylight from local build ........................................................... 10
Commit the code using Git CLI ...................................................................... 11
Pulling the Code changes via Git CLI .............................................................. 12
Pushing the Code via Git CLI ......................................................................... 12
3. Developing Apps on the OpenDaylight controller .............................................. 15
Overview ....................................................................................................... 15
Pre requisites ................................................................................................. 15
Building an example module ......................................................................... 16
Defining a Simple Hello World RPC ................................................................ 17
Add a simple HelloWorld RPC API ................................................................. 18
Implement the HelloWorld RPC API ............................................................... 19
Execute the hello project for the first time ..................................................... 21
Test the hello-world RPC via REST .................................................................. 21
Troubleshooting ............................................................................................ 22
II. Project-Specific Development Guides ......................................................................... 23
4. ALTO Developer Guide ...................................................................................... 28
Overview ....................................................................................................... 28
Adding ALTO Projects as Dependencies ......................................................... 28
Putting/Fetching data from ALTO ................................................................. 28
Providing Customized Implementation .......................................................... 30
5. BGP Developer Guide ........................................................................................ 31
Overview ....................................................................................................... 31
BGP Architecture ........................................................................................... 31
Key APIs and Interfaces ................................................................................. 32
BGP RIB ......................................................................................................... 33
BGP inet ........................................................................................................ 36
BGP flowspec ................................................................................................ 36
BGP linkstate ................................................................................................. 36
BGP topology provider .................................................................................. 36
API Reference Documentation ....................................................................... 36
6. CAPWAP Developer Guide ................................................................................. 37
Overview ....................................................................................................... 37
CAPWAP Architecture ................................................................................... 37
CAPWAP APIs and Interfaces ......................................................................... 37
API Reference Documentation ....................................................................... 37
7. Controller .......................................................................................................... 38
Overview ....................................................................................................... 38
MD-SAL Overview .......................................................................................... 39
OpenDaylight Developer Guide June 29, 2015 Lithium
iv
MD-SAL Data Transactions ............................................................................ 41
MD-SAL RPC routing ...................................................................................... 47
OpenDaylight Controller MD-SAL: RESTCONF ................................................. 50
Config Subsystem .......................................................................................... 58
8. DIDM Developer Guide ..................................................................................... 62
Overview ....................................................................................................... 62
DIDM Architecture ........................................................................................ 62
9. DLUX ................................................................................................................ 63
Setup and Run .............................................................................................. 63
DLUX Modules .............................................................................................. 63
Add new application using DLUX modularity ................................................. 66
Yang Utils ..................................................................................................... 68
10. IoTDM Developer Guide .................................................................................. 70
Overview ....................................................................................................... 70
oneM2M Architecture ................................................................................... 70
Key APIs and Interfaces ................................................................................. 71
11. L2Switch Developer Guide ............................................................................... 72
Overview ....................................................................................................... 72
L2Switch Architecture .................................................................................... 72
Key APIs and Interfaces ................................................................................. 72
API Reference Documentation ....................................................................... 81
Checking out the L2Switch project ................................................................ 81
Testing your changes to the L2Switch project ................................................ 81
12. LACP Developer Guide ..................................................................................... 83
LACP Overview .............................................................................................. 83
LACP Architecture ......................................................................................... 83
13. Network Intent Composition (NIC) Developer Guide ........................................ 85
Overview ....................................................................................................... 85
odl-nic-core .................................................................................................... 85
odl-nic-cli ....................................................................................................... 86
14. Neutron Northbound ...................................................................................... 87
How to Write a SB Neutron Consumer .......................................................... 87
How to use the legacy I*Aware interfaces ..................................................... 87
How to use the Neutron YANG model .......................................................... 89
15. ODL-SDNi Developer Guide .............................................................................. 91
Overview ....................................................................................................... 91
ODL-SDNi Architecture .................................................................................. 91
SDNi Aggregator ........................................................................................... 92
SDNi REST API ............................................................................................... 92
SDNi Wrapper ............................................................................................... 93
16. OpenFlow Protocol Library Developer Guide .................................................... 94
Introduction .................................................................................................. 94
Features Overview ......................................................................................... 94
odl-openflowjava-protocol Architecture ......................................................... 94
odl-openflowjava-stats Feature ...................................................................... 95
Key APIs and Interfaces ................................................................................. 95
Installation .................................................................................................... 95
Configuration ................................................................................................ 95
Architecture .................................................................................................. 98
Library’s lifecycle .......................................................................................... 102
Statistics collection ....................................................................................... 103
OpenDaylight Developer Guide June 29, 2015 Lithium
v
TLS Support ................................................................................................. 104
Extensibility ................................................................................................. 104
17. OpFlex agent-ovs Developer Guide ................................................................ 112
Overview ..................................................................................................... 112
agent-ovs Architecture ................................................................................. 112
API Reference Documentation ..................................................................... 112
18. OpFlex genie Developer Guide ....................................................................... 113
Overview ..................................................................................................... 113
Group-based Policy Model ........................................................................... 113
API Reference Documentation ..................................................................... 113
19. OpFlex libopflex Developer Guide .................................................................. 114
Overview ..................................................................................................... 114
Key APIs and Interfaces ............................................................................... 116
API Reference Documentation ..................................................................... 120
20. OVSDB MD-SAL Southbound Plugin Developer Guide ..................................... 121
Overview ..................................................................................................... 121
OVSDB MD-SAL Southbound Plugin Architecture and Operation .................. 121
Examples of OVSDB Southbound MD-SAL API .............................................. 129
Reference Documentation ........................................................................... 130
21. OVSDB Openstack Developer Guide ............................................................... 131
Overview ..................................................................................................... 131
OVSDB Openstack Architecture ................................................................... 131
22. PCEP Developer Guide ................................................................................... 133
Overview ..................................................................................................... 133
PCEP Architecture ........................................................................................ 133
Key APIs and Interfaces ............................................................................... 134
API Reference Documentation ..................................................................... 139
23. PCMM Developer and Testing (Preliminary) ................................................... 140
Specification ................................................................................................ 140
System Overview ......................................................................................... 140
Packetcable Components ............................................................................. 140
Tools for Testing ......................................................................................... 141
Using Wireshark to Trace PCMM ................................................................. 141
Debugging and Verifying DQoS Gate (Flows) on the CMTS ........................... 142
Integration Verification ............................................................................... 144
24. Service Function Chaining .............................................................................. 147
OpenDaylight Service Function Chaining (SFC) Overiew ................................ 147
SFC Classifier Control and Date plane Developer guide ................................. 147
SFC-OVS Plugin ............................................................................................ 149
SFC Southbound REST Plugin ....................................................................... 150
Service Function Load Balancing Developer Guide ........................................ 152
Service Function Scheduling Algorithms ....................................................... 153
25. SXP Developer Guide ..................................................................................... 156
Overview ..................................................................................................... 156
SXP Architecture .......................................................................................... 156
Key APIs and Interfaces ............................................................................... 157
API Reference Documentation ..................................................................... 157
26. TCPMD5 Developer Guide .............................................................................. 158
Overview ..................................................................................................... 158
TCPMD5 Architecture .................................................................................. 158
Key APIs and Interfaces ............................................................................... 158
剩余193页未读,继续阅读
资源评论
willis_rsg
- 粉丝: 1
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功