As a storage technique used by server device, SAN(Storage area net) is increasingly widely used nowadays because of its high stability, high reliability and high data capacity. FC(Fibre Channel) protocol, as Fibre Channel-based protocol, can carry the SCSI(Small Computer System Interface) protocol conveniently, so as to achieve the networking needs of SAN. For those reasons, NPV(N Port Virtualization) proxy switch, as an important switch in the SAN network, is also based on the FC protocol in this paper.The usage of NPV proxy switch greatly overcome the restriction on the scale of a SAN network, so that more communication nodes can access the network. On this foundation, we can enhance network capacity, increase the number of network equipment. In this paper, we mainly concern on the link negotiation progress and the realization of data structure which is to maintain the link negotiation progress. In the link negotiation progress, NPV proxy switch also need to maintain the login database which is another important part of this paper. The login database is not only used for the query of related communication nodes, but also produce the route information for the other module.NPV switch module, as a part of the entire switch project which use agile as the developming progress, is developed on the basis of FC switch. As a result, it improve the reusability of code. The entire project uses Linux as development environment, so that we make a great deal not only in technique but also in software developing progress and those experience can help us a lot in the following project development. |