| With the development of network information technology and the continuous upgrading of infrastructure,the Internet has played an indispensable role in social production and personal life.Diverse network service requirements,the explosive growth of network access devices,and the massive amounts of data generated by them require the current network landscape to develop in a more automated and intelligent direction.On the one hand,NETCONF is a network configuration management protocol proposed by the standardization organization IETF.Compared with the CLI and the traditional SNMP protocol,NETCONF has the advantages of strong scalability,higher ease of use,and higher security.NETCONF describes the configuration data and status data of network devices with YANG,which greatly improves the automation of the network.On the other hand,after Software Defined Networking(SDN),Intent-Based Networking(IBN)is called“the next big thing in the network world”,providing new ideas and solutions for network intelligence.The operation of the entire network is driven by intent,and the input of the entire network system changes from “how”to “what”,which greatly simplifies the expression of upper-layer service requirements.The core of IBN is intent,but there is currently no unified specification and definition for the intent.In this thesis,the intent is used as the entry point,and the YANG model is used to model the intent.Aiming at the widely used L3 VPN service today,the key problems involved in the adaptation process from service model to specific device model are studied.At the same time,for the heterogeneity problem of the YANG model existing at the device model level,indepth research and corresponding solutions are given in the thesis.This thesis uses the YANG model throughout the adaptation and translation of network services.The main research work of this thesis is as follows:(1)The definition and representation of intent are studied,the different attributes describing intent are abstracted,the intent is modeled using YANG language,and the overall logical framework for intent-driven network service deployment is given.(2)A general network service adaptation framework is proposed,and the adaptation work from abstract services to specific network device configurations is studied for L3 VPN services that are widely used in the industry.In this thesis,the configuration template is generated according to the YANG model at the network level and the device level.Combined with the network topology description and service description information,the final complete configuration content is obtained through relationship mapping,resource selection,and configuration decomposition.(3)A general translation framework for heterogeneous YANG models called Mediator is designed,which solves the problem of semantic understanding of heterogeneous YANG models at the device layer and implements end-to-end translation of NETCONF messages.In the specific implementation process,a conversion scheme called“compute-translate-compare”is creatively proposed,and a method for automatic generation of translation templates is provided,which improves the overall network configuration delivery efficiency.In summary,this thesis uses the YANG language to model intent and then drives the adaptation and translation of network services.A general network service adaptation framework is proposed,and the L3 VPN service is analyzed and practiced in detail.The general translation framework Mediator is designed and implemented to solve the problem of semantic understanding of heterogeneous YANG models,and the proposed configuration update algorithm improves the overall network configuration delivery efficiency.This thesis provides an adaptation and translation scheme from upper-level intent to underlying device configuration,which has theoretical and practical significance for network service implementation and network configuration generation. |