CN114844756A - Method for managing network equipment based on NETCONF proxy server - Google Patents
Method for managing network equipment based on NETCONF proxy server Download PDFInfo
- Publication number
- CN114844756A CN114844756A CN202210497630.9A CN202210497630A CN114844756A CN 114844756 A CN114844756 A CN 114844756A CN 202210497630 A CN202210497630 A CN 202210497630A CN 114844756 A CN114844756 A CN 114844756A
- Authority
- CN
- China
- Prior art keywords
- netconf
- proxy server
- transmission format
- server
- network equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000005540 biological transmission Effects 0.000 claims abstract description 46
- 238000007726 management method Methods 0.000 claims description 25
- 238000006243 chemical reaction Methods 0.000 claims description 9
- 230000007246 mechanism Effects 0.000 claims description 9
- 238000013507 mapping Methods 0.000 claims description 2
- 238000011161 development Methods 0.000 description 5
- 238000010276 construction Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/04—Network management architectures or arrangements
- H04L41/046—Network management architectures or arrangements comprising network management agents or mobile agents therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0226—Mapping or translating multiple network management protocols
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Abstract
The invention discloses a method for managing network equipment based on a NETCONF proxy server. Then, the NETCONF proxy server is involved in an RESTCONF server of the network equipment, the XML transmission format of the NETCONF is converted into the JSON transmission format of the RESTCONF, and finally the purpose of managing the network equipment through the RESTCONF server is achieved. The method not only ensures that the network equipment only needs to maintain one RESTCONF server, but also supports two RESTCONF/NETCONF network equipment management schemes, greatly reduces the complexity of the equipment server and improves the stability of the system. The method has strong practical application significance.
Description
Technical Field
The invention relates to the technical field of data network center equipment management, in particular to a method for managing network equipment based on a NETCONF proxy server.
Background
Under the wave of the national vigorous development of new capital construction, the data center construction becomes the development key project of the new capital construction. With the large-scale deployment of data centers, large data center cluster plans to accommodate even more than 100 million servers.
Most of the existing management schemes for data center Network devices adopt NETCONF/YANG, NETCONF (Network Configuration Protocol) selects an XML language readable by human and machine in a data transmission format, and YANG (yet antenna Next generation) is a data modeling language for defining data transmitted through Network management protocols such as NETCONF and restcon. YANG is a modular language that represents data structures in an XML tree format with many data types built in. Additional application-specific data types may be derived from the built-in data types.
RESTCONF is another IETF standard, which implements NETCONF functions on the basis of RESTful interfaces, and RESTCONF supports XML or JSON as codes and YANG as data modeling language, and because of the rapid development of the internet and the widespread application of RESTful interfaces, the management of network devices is more and more inclined to adopt the scheme of RESTCONF/YANG.
With the development of technology, RESTCONF/YANG is adopted by more and more manufacturers to manage network devices, for example, the current popular network operating system of an open source switch, namely, the network operating system, SONIC, only supports RESTCONF/YANG management devices, but does not support NETCONF/YANG. However, some of the traditional equipment manufacturers, such as Huaye, Zhongxing, Sharp, etc., choose to use the old NETCONF/YANG to manage the equipment. Therefore, a network operating system is required to maintain two sets of RESTCONF/NETCONF systems at a server side at the same time, so that the complexity of the system is greatly increased, and the development and maintenance difficulty of a network management system is improved.
Disclosure of Invention
According to the embodiment of the invention, the method for managing the network equipment based on the NETCONF proxy server is provided, which comprises the following steps:
establishing a NETCONF transmission method SSH and an XML transmission format;
establishing a NETCONF proxy server, and sending information in an XML transmission format to the NETCONF proxy server through SSH;
converting the XML transmission format message into a JSON transmission format message through a message conversion mechanism in the NETCONF proxy server, mapping a NETCONF control method contained in the NETCONF proxy server to an RESTCONF control method, and then sending the JSON transmission format message to an REST server of the network equipment through an HTTP transmission method;
and the REST server analyzes the message in the JSON transmission format, and sends control information of the message in the SON transmission format to the network equipment to realize the control and management of the network equipment.
Further, if the user needs to send the RESTCONF management information, the RESTCONF management information is sent to the REST server through an HTTP transmission method.
Further, the RESTCONF management information is sent to the REST server through an HTTP transmission method without passing through a NETCONF proxy server.
Further, the network device includes: switch, router.
Furthermore, a standard Restful protocol and a Yang modeling language are adopted to analyze messages in the JSON transmission format.
Furthermore, a Yang modeling language and a NETCONF equipment management protocol are adopted to establish a NETCONF transmission method SSH and an XML transmission format.
Further, the XML transmission format includes network device node information and a network device management method.
Further, the message conversion mechanism is a message conversion mechanism from NETCONF to RESTCONF.
According to the method for managing the network equipment based on the NETCONF proxy server, the invention simultaneously supports two sets of RESTCONF/NETCONF network equipment management schemes on the aspect of ensuring the consistency of the interface, greatly reduces the complexity of the equipment server and improves the stability of the system, and has important significance in practical application.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and are intended to provide further explanation of the claimed technology.
Drawings
Fig. 1 is a schematic block diagram of a method for managing network devices based on a NETCONF proxy server according to an embodiment of the present invention.
Fig. 2 is a flowchart of a method for managing network devices based on a NETCONF proxy server according to an embodiment of the present invention.
Detailed Description
The present invention will be further explained by describing preferred embodiments of the present invention in detail with reference to the accompanying drawings.
First, a method for managing network devices based on a NETCONF proxy server according to an embodiment of the present invention will be described with reference to fig. 1 to 2, which is used for managing and using network devices and has a wide application range.
As shown in fig. 1 to 2, a method for managing network devices based on a NETCONF proxy server according to an embodiment of the present invention includes the following steps:
in S1, as shown in fig. 2, a NETCONF transmission method SSH and an XML transmission format are created. In this embodiment, a Yang modeling language and a NETCONF device management protocol are further used to create a NETCONF transmission method SSH and an XML transmission format, where the XML transmission format includes network device node information and a network device management method.
In S2, as shown in fig. 2, a NETCONF proxy server is created using a software programming language such as Python, and information in the XML transmission format is transmitted to the NETCONF proxy server via SSH using a NETCONF client.
In S3, as shown in fig. 2, the packet in the XML transmission format is converted into the packet in the JSON transmission format by using the packet conversion mechanism inside the NETCONF proxy server, the NETCONF control method included in the NETCONF proxy server is mapped to the REST control method, and then the packet in the JSON transmission format is sent to the REST server of the network device by using the HTTP transmission method. In this embodiment, the message conversion mechanism is a message conversion mechanism from NETCONF to RESTCONF.
In S4, as shown in fig. 2, the REST server parses the JSON transport format packet, and sends the control information of the SON transport format packet to the network device, thereby implementing control and management of the network device. In this embodiment, the network device includes: switch, router. And analyzing the message in the JSON transmission format by adopting a standard Restful protocol and a Yang modeling language.
Further, if the user needs to send the RESTCONF management information, the RESTCONF management information is sent to the REST server through an HTTP transmission method. And the RESTCONF management information is sent to the REST server through the HTTP transmission method without passing through a NETCONF proxy server.
In the above, with reference to fig. 1 to 2, a method for managing network devices based on a NETCONF proxy server according to an embodiment of the present invention is described, and the present invention supports two sets of network device management schemes of rest conf/NETCONF while ensuring the consistency of interfaces, thereby greatly reducing the complexity of device servers and improving the stability of a system, and having important significance in practical application.
It should be noted that, in the present specification, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
While the present invention has been described in detail with reference to the preferred embodiments, it should be understood that the above description should not be taken as limiting the invention. Various modifications and alterations to this invention will become apparent to those skilled in the art upon reading the foregoing description. Accordingly, the scope of the invention should be determined from the following claims.
Claims (8)
1. A method for managing network equipment based on a NETCONF proxy server is characterized by comprising the following steps:
establishing a NETCONF transmission method SSH and an XML transmission format;
establishing a NETCONF proxy server, and sending the information in the XML transmission format to the NETCONF proxy server through the SSH;
converting the XML transmission format message into a JSON transmission format message through a message conversion mechanism in the NETCONF proxy server, mapping a NETCONF control method contained in the NETCONF proxy server to an RESTCONF control method, and then sending the JSON transmission format message to an REST server of network equipment through an HTTP transmission method;
and the REST server analyzes the JSON transmission format message, and sends control information of the SON transmission format message to the network equipment to realize control and management of the network equipment.
2. The method for managing network devices based on a NETCONF proxy server of claim 1, wherein if a user needs to send REST conf management information, it is sent to the REST server through an HTTP transmission method.
3. The method of managing network devices based on a NETCONF proxy server of claim 2, wherein sending the REST conf management information to the REST server via an HTTP transmission method does not require passing through the NETCONF proxy server.
4. The method for managing network devices based on a NETCONF proxy server of claim 1, wherein the network device comprises: switch, router.
5. The method for managing network devices based on the NETCONF proxy server of claim 1, wherein the JSON transmission format message is parsed by using a standard Restful protocol and a Yang modeling language.
6. The method for managing network devices based on a NETCONF proxy server of claim 1, wherein a Yang modeling language and a NETCONF device management protocol are used to create a NETCONF transmission method SSH and XML transmission format.
7. The method for managing network devices based on NETCONF proxy server of claim 1, wherein the XML transmission format includes network device node information and a network device management method.
8. The method for managing network devices based on NETCONF proxy servers according to claim 1, wherein the message conversion mechanism is a NETCONF to RESTCONF message conversion mechanism.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210497630.9A CN114844756A (en) | 2022-05-09 | 2022-05-09 | Method for managing network equipment based on NETCONF proxy server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210497630.9A CN114844756A (en) | 2022-05-09 | 2022-05-09 | Method for managing network equipment based on NETCONF proxy server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114844756A true CN114844756A (en) | 2022-08-02 |
Family
ID=82570978
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210497630.9A Pending CN114844756A (en) | 2022-05-09 | 2022-05-09 | Method for managing network equipment based on NETCONF proxy server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114844756A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107872337A (en) * | 2016-09-26 | 2018-04-03 | 中国电信股份有限公司 | Information conversion method, device and system |
CN108092855A (en) * | 2017-12-29 | 2018-05-29 | 中国联合网络通信有限公司广东省分公司 | A kind of UTN flow monitoring systems and method based on SDN technologies |
CN109194519A (en) * | 2018-09-27 | 2019-01-11 | 锐捷网络股份有限公司 | Configuration method, device, controller and the computer storage medium of the network equipment |
CN109361550A (en) * | 2018-11-21 | 2019-02-19 | 国家计算机网络与信息安全管理中心 | The method, device and equipment of network equipments configuration management |
WO2020094045A1 (en) * | 2018-11-08 | 2020-05-14 | Huawei Technologies Co., Ltd. | Method for enhancing status communications in a sdn-based communication system |
CN111417037A (en) * | 2019-01-07 | 2020-07-14 | 中国移动通信有限公司研究院 | Management and control system of optical transport network |
-
2022
- 2022-05-09 CN CN202210497630.9A patent/CN114844756A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107872337A (en) * | 2016-09-26 | 2018-04-03 | 中国电信股份有限公司 | Information conversion method, device and system |
CN108092855A (en) * | 2017-12-29 | 2018-05-29 | 中国联合网络通信有限公司广东省分公司 | A kind of UTN flow monitoring systems and method based on SDN technologies |
CN109194519A (en) * | 2018-09-27 | 2019-01-11 | 锐捷网络股份有限公司 | Configuration method, device, controller and the computer storage medium of the network equipment |
WO2020094045A1 (en) * | 2018-11-08 | 2020-05-14 | Huawei Technologies Co., Ltd. | Method for enhancing status communications in a sdn-based communication system |
CN109361550A (en) * | 2018-11-21 | 2019-02-19 | 国家计算机网络与信息安全管理中心 | The method, device and equipment of network equipments configuration management |
CN111417037A (en) * | 2019-01-07 | 2020-07-14 | 中国移动通信有限公司研究院 | Management and control system of optical transport network |
Non-Patent Citations (7)
Title |
---|
A. BIERMAN; YUMAWORKS; M. BJORKLUND; TAIL-F SYSTEMS; K. WATSEN;: "RESTCONF Protocol", IETF * |
来份锅包肉: "一文读懂网管协议-SNMP, NETCONF, RESTCONF", Retrieved from the Internet <URL:https://www.cnblogs.com/michael9/p/14432935.html> * |
杨晓;阮宏玮;王长忠;王显荣;李华;: "基于YANG的连网需求的建模", 小型微型计算机系统, no. 11 * |
王明玉: "工业异构网络地址统一分配管理机制研究与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》, pages 4 * |
白煜: "基于NETCONF的网络设备配置与管理系统设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》, pages 3 * |
陈春霖: "基于NETCONF的通用设备配置管理系统的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》, pages 21 - 22 * |
黄志兰;陈楠;刘京松;关天强;林宝洪;: "基于OpenDaylight和白盒机的通用SDN系统设计与实现", 广东通信技术, no. 08 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7269602B2 (en) | Method and device for defining objects allowing establishment of a device management tree for mobile communication devices | |
EP1729444B1 (en) | A snmp-based asynchronous communication mechanism process method | |
EP2854374B1 (en) | Method and device for managing terminal in home network and home network | |
CN100499498C (en) | A device, system and method for realizing MIB adaptation | |
Choi et al. | XML‐Based Network Management for IP Networks | |
US20200314149A1 (en) | Method for providing wireless application privilege management | |
US20130297762A1 (en) | System and method for network management using extensible markup language | |
EP3432517A1 (en) | Device configuration method and apparatus based on network configuration protocol | |
KR20100050072A (en) | Method for digesting data and data communication system thereby | |
CN110971438A (en) | Method and device for configuring data | |
JP4317562B2 (en) | Web service providing apparatus, web service requesting apparatus, web service providing method, and web service requesting method | |
JP5248145B2 (en) | Information providing server, program, information providing method, and information providing system | |
CN114844756A (en) | Method for managing network equipment based on NETCONF proxy server | |
JP2009265718A (en) | Network device transmitting only difference data of network management information, server, program and method | |
WO2016070679A1 (en) | Network state synchronizing method and apparatus | |
CN115695512A (en) | Data subscription method, system, equipment and storage medium based on micro-service architecture | |
CN108512697A (en) | A kind of method and system automatically configuring home gateway | |
McCarthy et al. | Exploiting the power of OSI Management for the control of SNMP-capable resources using generic application level gateways | |
Klauck | Seamless integration of smart objects into the internet using XMPP and mDNS/DNS-SD | |
KR20090063504A (en) | Oma-dm system, device management server and terminal device | |
Wu et al. | Integrating SNMP agents and CLI with NETCONF-based network management systems | |
US8719395B2 (en) | Method and device for processing data for generating alarms within a communication network | |
Hemat | Study and Comparison of Low Bandwidth IoT Protocols | |
Gross et al. | Controlling and Monitoring Audio Systems with Simple Network Management Protocol (SNMP) | |
Klasman | Internet Access Possibilities in Bluetooth Low Energy Sensors |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Country or region after: China Address after: 3 / F, 665 Zhangjiang Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai Applicant after: Yunhe Zhiwang (Shanghai) Technology Co.,Ltd. Address before: 311203 floor 12, building 2, Purple Orange International Center, No. 39, Jincheng Road, Xiaoshan District, Hangzhou, Zhejiang Province Applicant before: Hangzhou yunhezhi Network Technology Co.,Ltd. Country or region before: China |
|
CB02 | Change of applicant information |