基于TTCN3的OpenFlow一致性驗(yàn)證方法及協(xié)議研究實(shí)現(xiàn)
發(fā)布時(shí)間:2018-07-03 08:58
本文選題:OpenFlow協(xié)議 + TTCN3 ; 參考:《山東大學(xué)》2015年碩士論文
【摘要】:現(xiàn)如今,SDN的出現(xiàn)使網(wǎng)絡(luò)具備某種程度的“定義”能力,其具有的靈活性開始改變網(wǎng)絡(luò)被動(dòng)型的現(xiàn)狀;網(wǎng)絡(luò)能夠主動(dòng)地“處理”流量,而不單局限于被動(dòng)“承載”流量,并使網(wǎng)絡(luò)與計(jì)算機(jī)之間的關(guān)系不僅僅是“對(duì)接”,更是“交互”。SDN為現(xiàn)今業(yè)界的其中一門熱門網(wǎng)絡(luò)技術(shù)。而OpenFlow是SDN的一個(gè)網(wǎng)絡(luò)協(xié)議,為SDN架構(gòu)的南向接口,它將傳統(tǒng)網(wǎng)絡(luò)設(shè)備的數(shù)據(jù)轉(zhuǎn)發(fā)與路由控制功能模塊相分離,推動(dòng)網(wǎng)絡(luò)的革新與發(fā)展。網(wǎng)絡(luò)協(xié)議是Internet中計(jì)算機(jī)之間進(jìn)行信息交換所需的規(guī)則的集合。但是當(dāng)前的協(xié)議往往是用自然語(yǔ)言表示的文本,不同設(shè)備供應(yīng)商對(duì)協(xié)議標(biāo)準(zhǔn)的解讀不同,所以協(xié)議的實(shí)現(xiàn)也會(huì)不盡相同,無(wú)法確保設(shè)備之間正常通信。因此,為了保證各廠商實(shí)現(xiàn)的協(xié)議與協(xié)議規(guī)范完美結(jié)合,這就需要根據(jù)協(xié)議規(guī)范進(jìn)行“協(xié)議一致性測(cè)試”。本文系統(tǒng)的實(shí)現(xiàn)基于杭州華三通信技術(shù)有限公司的內(nèi)部通用測(cè)試平臺(tái)VTP11.3.1,腳本編碼語(yǔ)言使用TTCN3,并且采取PC機(jī)模擬Controller與交換機(jī)HP5900AF-48G-4XG-2QSFP+Switch互連的組網(wǎng)方式。本文在細(xì)致研究協(xié)議一致性測(cè)試工作機(jī)制和OpenFlow模塊標(biāo)準(zhǔn)的基礎(chǔ)上,論述了標(biāo)準(zhǔn)測(cè)試語(yǔ)言TTCN3的結(jié)構(gòu),設(shè)計(jì)并實(shí)現(xiàn)了TTCN3語(yǔ)言編碼的OpenFlow協(xié)議一致性測(cè)試系統(tǒng),并以此執(zhí)行協(xié)議一致性測(cè)試。論文的主要工作內(nèi)容有:首先,了解OpenFlow協(xié)議中Switch交換機(jī)和Controller控制器構(gòu)成的網(wǎng)絡(luò)的工作原理、報(bào)文交互以及報(bào)文封裝格式,深入研究OpenFlow協(xié)議。其次,研究協(xié)議一致性測(cè)試的原理,并結(jié)合實(shí)際闡述協(xié)議一致性測(cè)試的過程;介紹TTCN3語(yǔ)言結(jié)構(gòu)組成。然后,進(jìn)行OpenFlow協(xié)議一致性測(cè)試中測(cè)試系統(tǒng)的分析與設(shè)計(jì),分析測(cè)試系統(tǒng)的需求,設(shè)計(jì)測(cè)試用例、報(bào)文模板和過程函數(shù)。最后,用TTCN3腳本編碼實(shí)現(xiàn),執(zhí)行腳本完成協(xié)議一致性測(cè)試,輸出協(xié)議一致性測(cè)試報(bào)告。
[Abstract]:Nowadays, the emergence of SDN has enabled the network to have a certain degree of "defining" capability, and its flexibility is beginning to change the status quo of the passive type of network; the network can actively "handle" traffic, not just passive "carrying" traffic. The relationship between network and computer is not only "docking", but also "interaction". SDN is one of the most popular network technologies in the industry. OpenFlow is a network protocol of SDN, which is the southern interface of SDN architecture. It separates the function modules of data forwarding and routing control of traditional network devices, and promotes the innovation and development of the network. Network protocol is a set of rules required for information exchange between computers in the Internet. However, the current protocols are often expressed in the text of natural language, different equipment providers interpret the protocol standards differently, so the implementation of the protocol will be different, which can not ensure the normal communication between devices. Therefore, in order to ensure the perfect combination of the protocol and the protocol specification, it is necessary to carry out "protocol conformance test" according to the protocol specification. The implementation of this system is based on the internal general test platform VTP11.3.1 of Hangzhou Huasan Communication Technology Co., Ltd. The script coding language uses TTCN3, and adopts the networking mode of PC simulation Controller and switch HP5900AF-48G-4XG-2QSFP switch. Based on the detailed study of protocol conformance testing mechanism and OpenFlow module standard, this paper discusses the structure of TTCN3, designs and implements an OpenFlow protocol conformance testing system encoded by TTCN3. And the protocol conformance test is carried out. The main contents of this paper are as follows: firstly, the working principle of the switch and Controller controller in OpenFlow protocol, the message exchange and packet encapsulation format are understood, and the OpenFlow protocol is deeply studied. Secondly, the principle of protocol conformance testing is studied, and the process of protocol conformance testing is explained, and the structure of TTCN3 language is introduced. Then, we analyze and design the test system in OpenFlow protocol conformance test, analyze the requirements of the test system, design test cases, message templates and process functions. Finally, TTCN3 script coding is used to complete the protocol conformance test, and the protocol conformance test report is output.
【學(xué)位授予單位】:山東大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2015
【分類號(hào)】:TP393.04
【參考文獻(xiàn)】
相關(guān)碩士學(xué)位論文 前3條
1 彭林;測(cè)試用例的設(shè)計(jì)與實(shí)現(xiàn)[D];電子科技大學(xué);2007年
2 郭闖;協(xié)議一致性測(cè)試原理及其應(yīng)用[D];西華大學(xué);2008年
3 徐輝;基于LLDP的協(xié)議一致性測(cè)試系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)[D];重慶大學(xué);2012年
,本文編號(hào):2093102
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/2093102.html
最近更新
教材專著