Design and Implementation of Virtual F Port Registration Management Module of FCoE Switch
- Author
- ZhangLuYi
- Advisor
- LeiYou
- School
- Beijing University of Posts and Telecommunications
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 35
- Citations
- 1
Abstract
Fibre Channel Protocol (FCP) is designed for high-speed data transmission of storage area network. Servers should be connected to the traditional Local Area Network (LAN) and Storage Area Network(SAN). Thus, at least one Network Interface Card (NIC) and one Host Bus Adapter (HBA) are needed for a server. The number of server Input/Output (I/O) interfaces keeps rising as the storage capacity and data transmission flow increase. This leads to higher energy consumption and the need of more cables. Therefore, I/O Consolidation and Unified Fabric are needed to connect SAN and LAN in order to create a new protocol for Ethernet application of Fibre Channel Protocal. Under such circumstances, a new technology- Fibre Channel over Ethernet(FCoE) came into being. FCoE technology integrates the traditional LAN and SAN, and reduces the number of cable and adapter. All these make FCoE technology a hot research topic of SAN. Besides, FCoE switchboard connects the traditional Fibre Channel SAN and the storage device, server or switch with FCoE adapter which integrates the network.This essay analyzes the functions of FCoE switch port Protocol and end-to-end frame transmission. Great importance is attached to the analysis of registration management module, which is used for initialization of switch port. Requirement analysis is done on the main functions of the module such as frame grabbing, parsi, verification, sending, storage and maintenance of state machine etc.In the unit testing section of the module, a method employing Python to test the C programs is introduced. The method is used for unit test. In the section of system testing, engineers utilize WireShark to conduct package captures, which are then analyzed to verify the results of data processing.
Table of contents
Abstract 4-5
ABSTRACT 5-8
Chapter Introduction 8-12
1.1 subject background 8-11
1.2 of the subject's content and purpose of 11
1.3 paper structure 11-12
the second chapter of the FCoE protocol analysis 12-20
2.1 physical layer and link layer briefly 12-13
2.2 FC protocol frame to the FCoE protocol frame mapping (FCoE Mapping) 13-17
2.2.1 FC data frame to the FCoE encapsulation of Ethernet data frame 13-15
2.2.2 FCoE Mapping address mapping 15-16
2.2.3 Flow Control mapping 16-17
2.3 FCoE protocol other layers brief 17-19
2.3.1 the FC-2 (Frame Protocol) layer 17-18
2.3.2 FC-3 (public service) 18-19
2.3.3 FC-4 (ULP mapping) 19
2.4 Summary 19-20
virtual F port registration information management module functions and demand analysis 20-36
3.1 the F port and the concept of virtual F port 20
3.2 virtual F port data interaction process 20-25
3.2.1 virtual F port data interaction principle analysis 20-22
3.2.2 the F-port FCoE protocol interaction processes between the ENode 22-25
3.3 virtual F port registration information management module function analysis 25-26
3.4 demand point decomposition 26-29
3.4.1 FC frame to receive and resolve 26-27
3.4.2 FC frame legality verification 27
3.4.3 FC frame encapsulation 27
3.4.4 FC frames sent 27-28
3.4.5 node registration information database 28-29
3.4.6 port state machine maintenance 29
3.5 virtual F port negotiation packets Detailed 29-35
3.5.1 FLOGI request packet 29-30
3.5.2 FLOGI response to message 30-31
3.5.3 LOGO request packet 31-32
3.5.4 LOGO response packet 32-33
3.5.5 refused to report Wen LS RJT 33-35
3.6 Summary 35-36
virtual F port registration information management modules designed to achieve 36-57
4.1 virtual F port registration information management module sub-module decomposition diagram 36-38
4.2 FC frame receiver module design 38
4.3 FC frame analysis module is designed 38
4.4 FC frame check module design 38-40
4.5 FC frame encapsulation module 40
4.6 frames handling the main logic 40-47
4.7 node registration database design 47-53
4.8 port state machine design 53-56
4.9 Summary 56-57
virtual F port registration information management module test 57-64
5.1 virtual F port registration information management module testing methods 57-61
5.1.1 Python auxiliary test theories Overview 57-58
5.1.2 Python calling C language function 58-61
5.2 virtual F port registration information management module system test program Overview 61-63
5.2.1 WireShark capture software Overview 61
5.2.2 WireShark software to capture test 61-63
5.3 Summary 63-64
Chapter VI Conclusion 64-65
6.1 thesis work summary 64-
6.2 Problems and Prospects 64-65
References 65-66
Acknowledgements 66
Related dissertations
- The Design and Implementation of Logout Module of Fcoe Switch
- Study design and implementation of Fibre Channel running on Ethernet
- Design and Implementation of VSAN Data Configuration Module of FCoE Switches
- Design and Implementation of Fabric Module of Distributed FCoE Switches
- Design and Implementation of Zone Command-Line Registration Module and Configuration Module of Fcoe Switches
- The FCIP technical research
- Research and testing straight- Fibre Channel switches
- Design and Implementation of FCoE Forwarder’s Fabric Configuration State Machine
- Design and Implementation of Interface Management and Configuration Management Modules in FCoE Project
- Design and Implementation of NPIV Subsystem for FCoE Switch
- Design and Implementation of ZONE Database Module of FCoE Switches
- Design and Implementation of Proxy Module and Event Handling Module in the NPV Switch