ImageVerifierCode 换一换
格式:PDF , 页数:196 ,大小:1.09MB ,
资源ID:436758      下载积分:10000 积分
快捷下载
登录下载
邮箱/手机:
温馨提示:
如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝扫码支付 微信扫码支付   
注意:如需开发票,请勿充值!
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【http://www.mydoc123.com/d-436758.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(ANSI INCITS399-2004 Information technology - Fibre Channel Switch Application Programming Interface (FC-SWAPI)《信息技术.光纤信道转换器API(FC-SWAPI)》.pdf)为本站会员(twoload295)主动上传,麦多课文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文库(发送邮件至master@mydoc123.com或直接QQ联系客服),我们立即给予删除!

ANSI INCITS399-2004 Information technology - Fibre Channel Switch Application Programming Interface (FC-SWAPI)《信息技术.光纤信道转换器API(FC-SWAPI)》.pdf

1、American National StandardDeveloped byfor Information Technology Fibre Channel Switch API (FC-SWAPI)ANSI INCITS 399-2004ANSIINCITS399-2004Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from

2、IHS-,-,-Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-ANSIINCITS 399-2004American National Standardfor Information Technology Fibre Channel Switch API (FC-SWAPI)SecretariatInfo

3、rmation Technology Industry CouncilApproved November 29, 2004 American National Standards Institute, Inc.AbstractA standard Application Programming Interface defines a scope within which, and a grammar by which, it is possible to write application software without attention to vendor-specific infras

4、tructure behavior. The Fibre Channel Switch Application Programming Interface (FC-SWAPI) standard defines a standard Application Programming Interface, the scope of which is management of Fibre Channel Switches and use of specific Fibre Channel facilities for discovery and management of the componen

5、ts of a Fibre Channel Storage Area Network. This standard is to be used in conjuction with the Fibre Channel and SCSI families of standards.Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license fro

6、m IHS-,-,-Approval of an American National Standard requires review by ANSI that therequirements for due process, consensus, and other criteria for approval havebeen met by the standards developer.Consensus is established when, in the judgement of the ANSI Board ofStandards Review, substantial agree

7、ment has been reached by directly andmaterially affected interests. Substantial agreement means much more thana simple majority, but not necessarily unanimity. Consensus requires that allviews and objections be considered, and that a concerted effort be madetowards their resolution.The use of Americ

8、an National Standards is completely voluntary; theirexistence does not in any respect preclude anyone, whether he has approvedthe standards or not, from manufacturing, marketing, purchasing, or usingproducts, processes, or procedures not conforming to the standards.The American National Standards In

9、stitute does not develop standards andwill in no circumstances give an interpretation of any American NationalStandard. Moreover, no person shall have the right or authority to issue aninterpretation of an American National Standard in the name of the AmericanNational Standards Institute. Requests f

10、or interpretations should beaddressed to the secretariat or sponsor whose name appears on the titlepage of this standard.CAUTION NOTICE: This American National Standard may be revised orwithdrawn at any time. The procedures of the American National StandardsInstitute require that action be taken per

11、iodically to reaffirm, revise, orwithdraw this standard. Purchasers of American National Standards mayreceive current information on all standards by calling or writing the AmericanNational Standards Institute.American National StandardPublished byAmerican National Standards Institute, Inc.25 West 4

12、3rd Street, New York, NY 10036Copyright 2004 by Information Technology Industry Council (ITI)All rights reserved.No part of this publication may be reproduced in anyform, in an electronic retrieval system or otherwise,without prior written permission of ITI, 1250 Eye Street NW, Washington, DC 20005.

13、 Printed in the United States of AmericaCAUTION: The developers of this standard have requested that holders of patents that may berequired for the implementation of the standard disclose such patents to the publisher. However,neither the developers nor the publisher have undertaken a patent search

14、in order to identifywhich, if any, patents may apply to this standard. As of the date of publication of this standardand following calls for the identification of patents that may be required for the implementation ofthe standard, no such claims have been made. No further patent search is conducted

15、by the de-veloper or publisher in respect to any standard it processes. No representation is made or impliedthat licenses are not required to avoid infringement in the use of this standard.Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reprodu

16、ction or networking permitted without license from IHS-,-,-Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-ContentsPageForeword . xiii1 Scope. 12 Normative References . 22.1 Norm

17、ative references . 22.2 Approved references 23 Definitions, symbols, abbreviations, and conventions 33.1 Definitions .33.2 Symbols and abbreviations 63.3 Keywords 63.4 Conventions. .73.5 Notation for Procedures and Functions 84 Common Data Definitions and Functions. 94.1 Basic Data Types .94.1.1 Bas

18、ic Data Types Overvie. 94.1.2 SWAPI_NAME_T 94.1.3 SWAPI_STRING_T . 94.1.4 SWAPI_BOOL_T. 94.1.5 SWAPI_HANDLE_T 94.1.6 SWAPI_WWN_T . 94.1.7 SWAPI_FCID_T 94.1.8 SWAPI_IPADDR_T . 104.1.9 Capability Flags . 104.2 Status Codes. .114.2.1 SWAPI_STATUS_T. 114.3 Data Structures .134.3.1 SWAPI_LIB_INFO_T. 134.

19、3.2 SWAPI_PROD_INFO_T 134.4 General Functions. .144.4.1 General Function Overview. 144.4.2 SWAPI_Init() 144.4.3 SWAPI_Uninit() . 154.4.4 SWAPI_free() 154.4.5 SWAPI_ListLibCap() 164.4.6 SWAPI_ListLibInfo() 164.4.7 SWAPI_ListProductInfo(). 174.5 Error Processing Functions. .174.5.1 Error Processing Fu

20、nction Overview. 174.5.2 SWAPI_error_code() . 184.5.3 SWAPI_error_message() 18i5 Connection Component.195.1 Connections to Switches. .19Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IH

21、S5.2 Connection Data Structures195.2.1 Connection Data Structure Overview.195.2.2 SWAPI_MAX_CD_ENTRIES.195.2.3 SWAPI_CONNDATA_TYPE_T195.2.4 SWAPI_CONNDATA_ENTRY_T.205.2.5 SWAPI_CONNATTR_T .205.2.6 SWAPI_CONNDATA_T.215.3 Connection Functions. 215.3.1 Connection Functions Overview 215.3.2 SWAPI_ListCo

22、nnData() .225.3.3 SWAPI_Connect()225.3.4 SWAPI_Disconnect() .235.3.5 SWAPI_GetConnData().245.3.6 SWAPI_ListConnUnitCap()256 Discovery Component. .276.1 Discovery. .276.1.1 Discovery Overview .276.1.2 Connectivity Unit Attributes276.1.3 Port Attributes 276.2 Discovery Data Structures. .276.2.1 Discov

23、ery Data Structures Overview .276.2.2 SWAPI_UNIT_STATE_T 286.2.3 SWAPI_UNIT_STATUS_T.296.2.4 SWAPI_UNIT_ATTR_T .296.2.5 SWAPI_PORT_TYPE_T306.2.6 SWAPI_PORT_STATE_T306.2.7 SWAPI_PORT_SPEED_T.316.2.8 SWAPI_PORT_ATTR_T316.2.9 SWAPI_ATTACHED_NODE_T .326.2.10 SWAPI_FABRIC_UNIT_T336.3 Discovery Functions3

24、36.3.1 Discovery Functions Overview.336.3.2 SWAPI_DsGetFabricName() .346.3.3 SWAPI_DsGetFabricUnits().346.3.4 SWAPI_DsGetTopology().356.3.5 SWAPI_DsGetUnitAttributes() 366.3.6 SWAPI_DsGetPortAttributes()376.3.7 SWAPI_DsGetAllPortsAttributes() .386.4 Name Server Data Structure.396.4.1 Name Server Dat

25、a Structure Overview396.4.2 SWAPI_NS_ALL_OBJECTS_T .396.4.3 SWAPI_NS_OBJ_TYPE_T406.4.4 SWAPI_NS_OBJECT_T406.4.5 SWAPI_NS_KEY_TYPE_T406.4.6 SWAPI_NS_KEY_T.416.5 Name Server Functions. .416.5.1 Name Server Functions Overview .416.5.2 SWAPI_DsGetAllNext() .416.5.3 SWAPI_DsGetNameserverObjects().427 Zon

26、ing Component.44ii-,-,-Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-7.1 Zoning Overview. 447.2 Zoning Data Structures. 457.2.1 Zoning Data Structures Overview 457.2.2 SWAPI_ME

27、MBER_TYPE_T 457.2.3 SWAPI_PORT_ID_T457.2.4 SWAPI_MEMBER_T .467.2.5 SWAPI_ZONE_T .467.2.6 SWAPI_ZONESET_T 467.2.7 SWAPI_DEF_ZONE_STATE_T 477.2.8 SWAPI_LIMITATIONS_T.477.3 Zoning Functions. .487.3.1 Zoning Functions Overview .487.3.2 SWAPI_ZnTest()507.3.3 SWAPI_ZnIsManageable() 517.3.4 SWAPI_ZnIsManag

28、eable() 527.3.5 SWAPI_ZnIsZoningActive() .537.3.6 SWAPI_ZnGetActiveZonesetName().547.3.7 SWAPI_ZnGetActiveZonesetZonesList().557.3.8 SWAPI_ZnGetActiveZoneMemberList() 567.3.9 SWAPI_ZnGetActiveZoneSetObject() .577.3.10 SWAPI_ZnGetZonesetList() 587.3.11 SWAPI_ZnGetZoneList() .597.3.12 SWAPI_ZnDoesZone

29、setExist()607.3.13 SWAPI_ZnDoesZoneExist() 617.3.14 SWAPI_ZnGetZonesetZones() 627.3.15 SWAPI_ZnGetZoneMembers()637.3.16 SWAPI_ZnZoneInZoneset().647.3.17 SWAPI_ZnMemberInZone() 657.3.18 SWAPI_ZnZoneCreate()667.3.19 SWAPI_ZnZoneReplace() .677.3.20 SWAPI_ZnZoneDelete() 687.3.21 SWAPI_ZnZoneAddMembers()

30、 .697.3.22 SWAPI_ZnZoneRemoveMembers() 707.3.23 SWAPI_ZnZonesetCreate() .717.3.24 SWAPI_ZnZonesetReplace().737.3.25 SWAPI_ZnZonesetDelete() .747.3.26 SWAPI_ZnZonesetAddZones() .757.3.27 SWAPI_ZnZonesetRemoveZones() 767.3.28 SWAPI_ZnCheckZonesetObjValidity() 787.3.29 SWAPI_ZnClearInactiveZoneData() 7

31、97.3.30 SWAPI_ZnZonesetActivate() .807.3.31 SWAPI_ZnZonesetObjActivate() .807.3.32 SWAPI_ZnZonesetDeactivate().827.3.33 SWAPI_ZnCommit() 827.3.34 SWAPI_ZnGetZoningImage() 837.3.35 SWAPI_ZnSetZoningImage() 847.3.36 SWAPI_ZnIsDefaultZoneManageable().857.3.37 SWAPI_ZnGetDefaultZoneState() .867.3.38 SWA

32、PI_ZnSetDefaultZoneState() .878 Statistics Component898.1 Statistics Overview89iiiCopyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS8.2 Statistics Monitoring Structures. .898.3 Statisti

33、cs Data Structures948.4 Statistics Categories. 958.4.1 Statistics Categories Overview 958.4.2 SWAPI_STATS_LABEL_T 958.4.3 SWAPI_STATS_CAPABILITIES_T .958.4.4 SWAPI_STATS_PORT_REF_TYPE_T.958.4.5 SWAPI_STATS_PORT_REF_T 968.4.6 SWAPI_INT64968.4.7 SWAPI_STATS_ENTRY_T .968.4.8 SWAPI_STATS_PORT_SNAPSHOT_T

34、978.4.9 SWAPI_STATS_SNAPSHOT_T978.5 Statistics Functions.978.5.1 Statistics Functions List .978.5.2 Statistics Overview.988.5.3 SWAPI_StatsCapabilities () .988.5.4 SWAPI_StatsSetRatesInterval() 1008.5.5 SWAPI_StatGetSnapshot ().1008.5.6 SWAPI_StatsResetStatistics ()1029 Unit Control.1039.1 Unit Cont

35、rol Overview.1039.2 Unit Control Data Types1039.2.1 Unit Control Data Types Overview.1039.2.2 SWAPI_IMAGE_TYPE_T 1049.2.3 SWAPI_PRINCIPAL_PRIORITY_T .1049.2.4 SWAPI_AUTHORITY_T 1049.2.5 SWAPI_USER_INFO_T.1049.2.6 SWAPI_DOWNLOAD_STAGE_T1059.2.7 SWAPI_IPADDR_RESMODE_T .1059.2.8 SWAPI_IPADDR_CONFIG_T10

36、69.2.9 SWAPI_UNIT_CONFIG_CAPS_T.1069.2.10 SWAPI_PORT_CONFIG_CAPS_T .1089.2.11 SWAPI_ACL_CAPS_T 1099.2.12 SWAPI_IP_CONFIG_CAPS_T1109.3 Unit Control Functions. .1109.3.1 Unit Control Functions Overview .1109.3.2 SWAPI_UcTest()1129.3.3 SWAPI_UcAclConfigCapabilities().1129.3.4 SWAPI_UcGetUserList ().113

37、9.3.5 SWAPI_UcAddUser ()1149.3.6 SWAPI_UcRemoveUser ().1159.3.7 SWAPI_UcChangeUserPassword().1169.3.8 SWAPI_UcUnitConfigCapabilities() .1179.3.9 SWAPI_UcUnitConfigGetName() 1189.3.10 SWAPI_UcUnitConfigSetName().1199.3.11 SWAPI_UcUnitConfigGetDomainID()1199.3.12 SWAPI_UcUnitConfigSetDomainID() 1209.3

38、.13 SWAPI_UcUnitConfigGetDomainIDLocked() 1219.3.14 SWAPI_UcUnitConfigSetDomainIDLocked().1229.3.15 SWAPI_UcUnitConfigGetPrincipalPriority().123iv-,-,-Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without

39、license from IHS-,-,-9.3.16 SWAPI_UcUnitConfigSetPrincipalPriority1249.3.17 SWAPI_DOWNLOAD_IMAGE_CALLBACK_T1259.3.18 SWAPI_UcDownloadImage().1269.3.19 SWAPI_UcUnitSetOnline() 1279.3.20 SWAPI_UcUnitSetOffline() 1289.3.21 SWAPI_UcUnitForceReset()1299.3.22 SWAPI_UcIpConfigCapabilities().1299.3.23 SWAPI

40、_UcIpConfigCapabilities() Overview.1299.3.24 SWAPI_UcIpConfigGetAddress() 1309.3.25 SWAPI_UcIpConfigSetAddress().1319.3.26 SWAPI_UcIpConfigGetAddressResMode().1329.3.27 SWAPI_UcIpConfigSetAddressResMode() .1339.3.28 SWAPI_UcPortConfigCapabilities() .1349.3.29 SWAPI_UcPortConfigGetName() 1359.3.30 SW

41、API_UcPortConfigSetName().1369.3.31 SWAPI_UcPortConfigGetState() .1379.3.32 SWAPI_UcPortConfigSetState()1389.3.33 SWAPI_UcPortConfigGetType()1399.3.34 SWAPI_UcPortConfigSetType() 1409.3.35 SWAPI_UcPortConfigGetLinkSpeed().1419.3.36 SWAPI_UcPortConfigSetLinkSpeed() .1429.3.37 SWAPI_UcPortForceLIP() .

42、1439.3.38 SWAPI_UcPortForceReset() .14410 Events.14510.1 Events Overview. 14510.2 Events Data Types14510.2.1 Events Data Types Overview.14510.2.2 SWAPI_EVENT_CODE_T.14510.2.3 SWAPI_EVENT_TYPE_T14810.2.4 SWAPI_EVENT_DATA_HW_T14810.2.5 SWAPI_EVENT_DATA_CN_T 14910.2.6 SWAPI_EVENT_SEVERITY_T .14910.2.7

43、SWAPI_EVENT_DATA_ALARM_T .14910.2.8 SWAPI_EVENT_T .15010.3 Events Functions. 15010.3.1 Events Functions Overview 15010.3.2 SWAPI_EvTest()15110.3.3 SWAPI_EvSupportedEvents() .15110.3.4 SWAPI_EVENT_CALLBACK_T 15210.3.5 SWAPI_EvRegisterForEvents() .15310.3.6 SWAPI_EvRegisterForEvents() Overview .15310.

44、3.7 SWAPI_EvDeregisterForEvents()15411 Hardware. .15611.1 Hardware Overview. .15611.2 Hardware Data Types. 15611.2.1 Hardware Data Types Overview 15611.2.2 SWAPI_NOT_MOUNTED15611.2.3 SWAPI_COMPONENT_LOCATION_T .15611.2.4 SWAPI_COMPONENT_ROLE_T 15711.2.5 SWAPI_COMPONENT_STATUS_T158vCopyright American

45、 National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-11.2.6 SWAPI_COMPONENT_TYPE_T 15811.2.7 SWAPI_COMPONENT_T15911.2.8 SWAPI_SLOT_TYPE_T 16011.2.9 SWAPI_CHASSIS_SLOT_T16011.2.10 SWAPI_TEMP_STATUS_T.16

46、111.2.11 SWAPI_TEMP_SENSOR_T16111.2.12 SWAPI_CHASSIS_T .16111.3 Hardware Functions.16211.3.1 Hardware Functions Overview16211.3.2 SWAPI_HwTest().16211.3.3 SWAPI_HwGetComponents()16311.3.4 SWAPI_HwGetComponentsByType() .16411.3.5 SWAPI_HwGetComponentByLocation()16511.3.6 SWAPI_HwGetSlots()16611.3.7 S

47、WAPI_HwGetSlots() Overview16611.3.8 SWAPI_HwGetSlotsByType()16711.3.9 SWAPI_HwGetTempSensors()16811.3.10 SWAPI_HwGetChassis() .16912 Routing. 17112.1 Routing Overview17112.2 Routing Data Types. .17112.2.1 Routing Data Types Overview .17112.2.2 SWAPI_LSR_LINK_T 17112.2.3 SWAPI_LSR_SWITCH_T17212.2.4 S

48、WAPI_PORT_ROUTE_T.17212.2.5 SWAPI_ROUTE_T.17312.3 Routing Functions17312.3.1 Routing Functions Overview.17312.3.2 SWAPI_RtTest() 17312.3.3 SWAPI_RtGetTopologyDB()17412.3.4 SWAPI_RtGetRoutingTable() 17512.3.5 SWAPI_RtGetRoute()176Tables1. Call Categories .102. SWAPI_STATUS_T Codes.113. General Functi

49、ons.144. Error Processing Functions.175. Connection Data Structure196. SWAPI_CONNDATA_TYPE_T Enumerated Values207. Connection Functions .218. SWAPI_Connect() Return Status Values239. SWAPI_Disconnect() Return Status Values .2410. SWAPI_GetConnData() Return Status Values .2511. SWAPI_ListConnUnitCap() Return Status Values2612. Discovery Data Structures 28viCopyright Americ

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1