Font Size: a A A

Design And Impletation Of Network Link And Tunnel Emulation Subsystem Based On Kubernetes

Posted on:2024-04-13Degree:MasterType:Thesis
Country:ChinaCandidate:G Y LiuFull Text:PDF
GTID:2568306944457074Subject:Computer technology
Abstract/Summary:PDF Full Text Request
In recent years,with the rapid development of container related technologies,the application of container technology in the field of network emulation has become a new direction.Thanks to Kubernetes’excellent support for container cluster networks,using Kubernetes for link emulation can support a larger number of links.The increase in the number of links has brought about the problem of cumbersome emulation configuration,which puts forward higher requirements for the degree of automation.Users of network emulation systems are often more accustomed to the configuration commands of existing network routers.At this point,a command emulation platform is needed to convert the tunnel commands entered by users into commands for emulation,making the system more consistent with users’ operating habits.In addition,when analyzing tunnels in a network topology,it is often difficult for users to remember which segment of the path has a tunnel configured,and at this time,tunnel information needs to be labeled.This paper is based on Kubernetes to design and implement the link emulation and tunnel emulation subsystems.The main work content is as follows:1.Through Linux TC,Shell scripts,and secondary development of Nemesis,link attribute emulation,traffic sending emulation,and traffic collection were achieved.Kubernetes has been extended by developing custom resources and custom controllers,combined with the automatic generation function of resource lists,to achieve unified automation control of link emulation.2.Using the CLI tool framework,complete the command emulation of the existing network router,define the commands through XML files,and write conversion logic.Provides users with the ability to configure using existing network commands,making the system more consistent with users’ operating habits.3.We have designed and implemented path annotation schemes for MPLS VPN,SR,and SR-TE,respectively.By analyzing the LDP neighbor table and Segment Routing database table,we achieve path recognition and return the recognition results.Provide assistance for users in analyzing tunnels in the network.Finally,test cases were designed for each module,and their functionality was tested to ensure the integrity and normal operation of each module.
Keywords/Search Tags:kubernetes, link emulation, custom controller, tunnel emulation
PDF Full Text Request
Related items