没有合适的资源?快使用搜索试试~ 我知道了~
wr_cli_web_mibway_programmers_guide_4.9.pdf
需积分: 5 0 下载量 39 浏览量
2022-06-23
10:36:39
上传
评论
收藏 2.41MB PDF 举报
温馨提示
试读
319页
wr_cli_web_mibway_programmers_guide_4.9
资源推荐
资源详情
资源评论
Wind River
CLI, Web, MIBway
PROGRAMMER'S GUIDE
4.9
Edition 6
®
Wi nd Ri ver CLI , Web, M IBw ay Pr ogr amm er' s Gu ide, 4.9
Copyright © 2014 Wind River Systems, Inc.
All rights reserved. No part of this publication may be reproduced or transmitted in any
form or by any means without the prior written permission of Wind River Systems, Inc.
Wind River, Tornado, and VxWorks are registered trademarks of Wind River Systems, Inc.
The Wind River logo is a trademark of Wind River Systems, Inc. Any third-party
trademarks referenced are the property of their respective owners. For further information
regarding Wind River trademarks, please see:
www.windriver.com/company/terms/trademark.html
This product may include software licensed to Wind River by third parties. Relevant
notices (if any) are provided in your product installation at the following location:
installDir/product_name/3rd_party_licensor_notice.pdf.
Wind River may refer to third-party documentation by listing publications or providing
links to third-party Web sites for informational purposes. Wind River accepts no
responsibility for the information provided in such third-party documentation.
Corporate Headquarters
Wind River
500 Wind River Way
Alameda, CA 94501-1153
U.S.A.
Toll free (
U.S.A.): 800-545-WIND
Telephone: 510-748-4100
Facsimile: 510-749-2010
For additional contact information, see the Wind River Web site:
www.windriver.com
For information on how to contact Customer Support, see:
www.windriver.com/support
Wind River CLI, Web, MIBway
Programmer's Guide
4.9
Edition 6
9 Jun 14
iii
Contents
1 Overview ...................................................................................................... 1
1.1 Introduction ...................................................................................................................... 1
1.1.1 Typical Workflow .............................................................................................. 2
1.2 Technology Overview ..................................................................................................... 2
1.2.1 External or Remote Management ................................................................... 2
1.3 Product Overview ............................................................................................................4
1.3.1 Wind River CLI, Web, MIBway Target Code ................................................ 6
1.3.2 Wind River CLI, Web, MIBway Development Tools & Custom Code ...... 6
1.3.3 Backplane ........................................................................................................... 7
1.3.4 Wind River CLI .................................................................................................. 7
1.3.5 Wind River Web Server .................................................................................... 8
1.3.6 Wind River MIBway ......................................................................................... 8
1.3.7 Configuration Tools .......................................................................................... 9
1.4 Using This Guide ............................................................................................................9
1.5 Additional Documentation ........................................................................................... 10
1.5.1 Wind River Documentation ............................................................................. 10
1.5.2 Online Resources ............................................................................................... 12
1.5.3 Books ................................................................................................................... 12
1.6 RFCs ................................................................................................................................... 12
2 Wind River CLI, Web, MIBway Fundamentals .......................................... 15
2.1 Introduction ...................................................................................................................... 15
2.2 Understanding the Backplane ...................................................................................... 15
2.2.1 Data Access — WindMark Handlers .............................................................. 17
2.2.2 Locking ............................................................................................................... 18
Wind River CLI, Web, MIBway
Programmer's Guide, 4.9
iv
2.2.3 Transaction Processing ..................................................................................... 19
2.2.4 Data Validation .................................................................................................. 21
2.2.5 Data Conversion ................................................................................................ 23
2.2.6 Backplane Access Control ................................................................................ 23
2.2.7 Language Localization ..................................................................................... 24
2.2.8 WindMark Tables .............................................................................................. 24
2.3 Understanding CLI ......................................................................................................... 25
2.3.1 CLI Engine Overview ....................................................................................... 25
2.3.2 Client Interfaces ................................................................................................. 26
2.3.3 SSH ...................................................................................................................... 26
2.3.4 CLI Design Considerations .............................................................................. 26
Using Multiple Commands vs. Multiple Handlers ...................................... 27
Reserved Keywords .......................................................................................... 27
Creating a Node vs. Parameter ....................................................................... 27
Using Multiple Parameters of Type String .................................................... 29
Assigning Multiple Handlers to a Node ........................................................ 29
Implementing Access Control ......................................................................... 30
Understanding Command No Forms ............................................................ 31
Understanding Intermediate Mode Commands .......................................... 31
Automatic Naming ........................................................................................... 31
Using Meta Commands .................................................................................... 32
Interrupt Running Command ......................................................................... 33
2.4 Understanding the Web Server ..................................................................................... 33
2.4.1 Embedded HTTP Server .................................................................................. 34
2.5 Understanding the HTTP Client .................................................................................. 34
2.5.1 Using the HTTP Client ..................................................................................... 35
2.6 Understanding MIBway ................................................................................................ 36
2.6.1 SETs and COMMITs .......................................................................................... 36
Setting Table Object Instance Values .............................................................. 37
2.6.2 MIBway Error Handling .................................................................................. 38
Displaying SNMP Errors in the Web Server ................................................. 39
Displaying SNMP Errors in CLI ..................................................................... 40
2.6.3 Wind River MIBway and SNMP Security ..................................................... 41
3 Creating Your Project ................................................................................. 43
3.1 Introduction ...................................................................................................................... 43
3.1.1 Wind River CLI, Web, MIBway Tutorials ...................................................... 44
3.2 Creating a VxWorks Source Build (VSB) .................................................................... 44
3.3 Creating and Configuring a VxWorks Image Project (VIP) .................................... 45
Contents
v
3.4 Creating a Wind River CLI, Web, MIBway Project .................................................. 46
3.5 Adding Middleware Components to Your Project ................................................... 46
3.6 Generating the Code ....................................................................................................... 47
3.7 Converting Projects .........................................................................................................48
3.7.1 Converting an MCE Project to a WMIT Project ............................................ 48
3.7.2 Converting a WMIT Project to an MCE Project ............................................ 49
3.8 Importing Data From Existing Projects ....................................................................... 49
3.8.1 Importing WindMarks ...................................................................................... 49
3.8.2 Importing Configuration Settings .................................................................. 50
3.8.3 Importing Commands ...................................................................................... 50
3.8.4 Importing Custom Types ................................................................................. 51
3.9 Importing Files ................................................................................................................ 51
3.10 Importing Legacy Projects ............................................................................................. 52
3.11 Adding Subprojects ........................................................................................................ 52
3.11.1 Designating a Project as a Subproject ............................................................. 53
3.11.2 Adding a Subproject ......................................................................................... 53
3.12 Adding View Projects ..................................................................................................... 54
3.13 Adding Header Files to Your Project ........................................................................... 54
3.14 Using CLI, Web, MIBway on a 64-Bit System ........................................................... 55
3.14.1 Configuring Your Project to Use 64-Bit Target Code ................................... 55
4 Configuring and Building Wind River CLI, Web, MIBway ....................... 57
4.1 Introduction ...................................................................................................................... 57
4.2 Configuring the Project-Level Settings ...................................................................... 59
4.3 Configuring the Backplane ........................................................................................... 60
4.4 Configuring CLI .............................................................................................................. 61
4.5 Configuring the Web Server ......................................................................................... 62
4.6 Adding an SNMP Object to Your Project ................................................................... 64
4.7 Selecting the SNMP MIB Compiler and Default MIBway Handler ..................... 64
4.8 Customizing the Sample Implementation ................................................................. 65
4.9 Building Wind River CLI, Web, MIBway ................................................................... 66
剩余318页未读,继续阅读
资源评论
ppcust
- 粉丝: 38
- 资源: 725
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功