CN115801579A - Network equipment configuration checking method, equipment and medium based on SDN - Google Patents

Network equipment configuration checking method, equipment and medium based on SDN Download PDF

Info

Publication number
CN115801579A
CN115801579A CN202211445620.7A CN202211445620A CN115801579A CN 115801579 A CN115801579 A CN 115801579A CN 202211445620 A CN202211445620 A CN 202211445620A CN 115801579 A CN115801579 A CN 115801579A
Authority
CN
China
Prior art keywords
configuration
network equipment
specified
information
displaying
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
Application number
CN202211445620.7A
Other languages
Chinese (zh)
Inventor
丁宇桐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Cisco Networking Technology Co Ltd
Original Assignee
Inspur Cisco Networking Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Inspur Cisco Networking Technology Co Ltd filed Critical Inspur Cisco Networking Technology Co Ltd
Priority to CN202211445620.7A priority Critical patent/CN115801579A/en
Publication of CN115801579A publication Critical patent/CN115801579A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a network device configuration checking method, device and medium based on SDN, wherein the method comprises the following steps: the method comprises the steps that an SDN controller receives a configuration viewing request for a specified network device; searching configuration management information of specified network equipment in a preset configuration management database; connecting the appointed network equipment according to the configuration management information to acquire the configuration information of the appointed network equipment; displaying the configuration information on a front-end user interface; receiving a selected command of a designated row in the configuration information, and searching a configuration table of the designated network equipment in a configuration management database according to the equipment model of the designated network equipment; in the configuration table, matching the specified line, and determining the configuration annotation of the specified line; and displaying the configuration annotation in a preset area of the designated line. The SDN controller can provide configuration translation corresponding to the information according to the equipment configuration information selected by the operation and maintenance personnel, so that the operation and maintenance personnel can know the function explanation of the configuration.

Description

Network equipment configuration checking method, equipment and medium based on SDN
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, a device, and a medium for checking network device configuration based on an SDN.
Background
With the continuous development of Network technology, in cooperation with the progress of virtualization technology, more and more cloud-based data centers are provided, so that in a scenario where a large number of Network-related devices are included, such as a data center, a Software Defined Network (SDN) controller is introduced to be deployed in the data center, and functions such as automatic configuration, regulation and control of Network devices are performed through the SDN controller.
In the process of building the data center, operation and maintenance personnel need to consume a large amount of time and distinguish configuration information of each network device of different manufacturers because the network devices of the manufacturers are used and the command line formats are different, so that the efficiency is low when the network devices are operated.
Disclosure of Invention
The embodiment of the application provides a network device configuration checking method, device and medium based on an SDN (software defined network), which are used for solving the problem of low efficiency when a network device is operated.
The embodiment of the application adopts the following technical scheme:
in one aspect, an embodiment of the present application provides a method for viewing a configuration of a network device based on an SDN, where the method includes: the method comprises the steps that an SDN controller receives a configuration viewing request for a specified network device; retrieving configuration management information of the specified network device from a preset configuration management database; the configuration management information comprises a user name, a password corresponding to the user name, a management network IP (Internet protocol) which can be reached by the SDN controller and simple network management SNMP (simple network management protocol) configuration; connecting the appointed network equipment according to the configuration management information to acquire the configuration information of the appointed network equipment; the configuration information includes a plurality of rows of commands for configuring each functional module; displaying the configuration information on the front-end user interface according to a preset display layout; receiving a selected command of a designated row in the configuration information, and searching a configuration table of the designated network equipment in the configuration management database according to the equipment model of the designated network equipment; the configuration table comprises factory configuration information corresponding to the equipment model of the specified network equipment under a corresponding manufacturer and a configuration comment of the factory configuration information; the factory configuration information comprises a plurality of rows of factory commands for configuring each functional module; in the configuration table, matching the specified line, and determining a configuration annotation of the specified line; the configuration annotation refers to a functional explanation of the specified line; and displaying the configuration annotation in a preset area of the specified line in a preset display mode.
In an example, the matching the specified line in the configuration table to determine the configuration annotation of the specified line specifically includes: in the configuration table, judging whether the specified row has the same row in the factory configuration information; if yes, in the factory configuration information, upwards inquiring at the starting point of the specified row until determining the function module to which the specified row belongs; determining a configuration annotation of the specified row in the functional module.
In one example, after the configuration annotation is displayed in a preset display manner in a preset area of the designated line, the method further includes: receiving an association searching request for the specified row, and determining a functional module to which the specified row belongs in the configuration table; judging whether the functional module supports correlation search or not; if so, connecting the appointed network equipment, and acquiring configuration information in the functional module in the appointed network equipment; and displaying the configuration information in the functional module on the front-end user interface.
In one example, after the configuration annotation is displayed in a preset display manner in a preset area of the designated line, the method further includes: receiving an information comparison request for the designated row, and judging whether comparison network equipment with the same equipment type exists in the configuration management database according to the equipment type of the designated network equipment; if yes, retrieving the configuration table of the comparison network equipment, and detecting whether the configuration table of the comparison network equipment has the same row or not; if yes, displaying the comparison network equipment on the front-end user interface; receiving a selected command of the comparison network equipment, and determining a comparison function module corresponding to the same row in a configuration table of the comparison network equipment; connecting the comparison network equipment to acquire comparison configuration information of the comparison network equipment aiming at the comparison functional module; and displaying the comparison configuration information on the front-end user interface.
In one example, after the configuration annotation is displayed in a preset display manner in a preset area of the designated line, the method further includes: receiving a deletion request for the specified line, and judging whether the specified line supports deletion; if yes, determining the function module to which the specified row belongs in the configuration table; connecting to the specified network equipment, and deleting the specified line in the functional module in the specified network equipment; and acquiring a row deleting result, and displaying the row deleting result on the front-end user interface.
In one example, after the configuration annotation is displayed in a preset display manner in a preset area of the designated line, the method further includes: receiving a block deletion request for the specified row, and determining a functional module to which the specified row belongs in the configuration table; judging whether the functional module supports block deletion; if yes, connecting the appointed network equipment, and deleting the block modules in the functional modules in the appointed network equipment; and acquiring a block deletion result, and displaying the block deletion result on the front-end user interface.
In an example, after the displaying the configuration annotation in a preset display manner in the preset area of the specified row, the method further includes: receiving a function closing request for the specified row, and determining a function module to which the specified row belongs in the configuration table; judging whether the function module supports function closing operation or not; if so, connecting the appointed network equipment, and deleting the functional module in the appointed network equipment; and acquiring a function module deleting result, and displaying the function module deleting result on the front-end user interface.
In one example, before the SDN controller receives a configuration view request for a specified network device, the method further comprises: determining that deployment is completed in the networking of the data center, and converting a front-end user interface into an available interface state; acquiring configuration management information of the network equipment to be managed through the front-end user interface; verifying the configuration management information; if the verification is passed, the configuration management information is stored in a configuration management database; and marking the network device to be managed as a managed network device.
In another aspect, an embodiment of the present application provides a network device configuration viewing device based on an SDN, which is applied to an SDN controller, and includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to: receiving a configuration viewing request for a specified network device; retrieving configuration management information of the specified network device from a preset configuration management database; the configuration management information comprises a user name, a password corresponding to the user name, a management network IP (Internet protocol) which can be reached by the SDN controller and simple network management SNMP (simple network management protocol) configuration; connecting the appointed network equipment according to the configuration management information to acquire the configuration information of the appointed network equipment; the configuration information includes a plurality of rows of commands for configuring each functional module; displaying the configuration information on the front-end user interface according to a preset display layout; receiving a selected command of a designated row in the configuration information, and searching a configuration table of the designated network equipment in the configuration management database according to the equipment model of the designated network equipment; the configuration table comprises factory configuration information corresponding to the equipment model of the specified network equipment under a corresponding manufacturer and a configuration comment of the factory configuration information; the factory configuration information comprises a plurality of rows of factory commands for configuring each functional module; in the configuration table, matching the specified line, and determining a configuration annotation of the specified line; the configuration annotation refers to a functional explanation of the specified line; and displaying the configuration annotation in a preset area of the specified line in a preset display mode.
In another aspect, an embodiment of the present application provides a non-volatile computer storage medium for configuration check of a network device based on an SDN, where the non-volatile computer storage medium stores computer-executable instructions, and is applied to an SDN controller, where the computer-executable instructions are configured to: receiving a configuration viewing request for a specified network device; retrieving configuration management information of the specified network device from a preset configuration management database; the configuration management information comprises a user name, a password corresponding to the user name, a management network IP which can be reached by the SDN controller, and Simple Network Management (SNMP) protocol configuration; connecting the appointed network equipment according to the configuration management information to acquire the configuration information of the appointed network equipment; the configuration information includes a plurality of lines of commands for configuring each functional module; displaying the configuration information on the front-end user interface according to a preset display layout; receiving a selected command of a designated row in the configuration information, and searching a configuration table of the designated network equipment in the configuration management database according to the equipment model of the designated network equipment; the configuration table comprises factory configuration information corresponding to the equipment model of the specified network equipment under a corresponding manufacturer and a configuration comment of the factory configuration information; the factory configuration information comprises a plurality of rows of factory commands for configuring each functional module; in the configuration table, matching the specified line, and determining a configuration annotation of the specified line; the configuration annotation refers to a functional explanation of the specified line; and displaying the configuration annotation in a preset area of the specified line in a preset display mode.
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects:
and the data center operation and maintenance personnel can check and manage the currently managed network equipment configuration of each manufacturer through the SDN controller. Configuration information of network equipment of each manufacturer in a support range can be checked through a configuration management function provided by a front-end user interface of the SDN controller, and the SDN controller can provide configuration translation corresponding to the information according to the equipment configuration information selected by operation and maintenance personnel, so that the operation and maintenance personnel can know the configured function words. In addition, through the comparison, correlation search, current line deletion, block deletion, function deletion and other operations provided by the SDN controller, operation and maintenance personnel can perform operation and maintenance operations with higher efficiency on configuration of each network device in the environment by means of the SDN controller, and through the automatic management capability of the SDN controller on the configuration of the network devices, the daily operation and maintenance operations such as troubleshooting, routing inspection or service change are assisted to be completed, so that the operation and maintenance efficiency of the data center is improved, and the reliability is greatly enhanced.
Drawings
In order to more clearly explain the technical solutions of the present application, some embodiments of the present application will be described in detail below with reference to the accompanying drawings, in which:
fig. 1 is a schematic diagram of a framework of a system for viewing a configuration of a network device based on an SDN according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for viewing a configuration of a network device based on an SDN according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a network device configuration viewing device based on an SDN according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following embodiments and accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of a framework of a SDN-based network device configuration viewing system according to an embodiment of the present disclosure.
In fig. 1, the system comprises an SDN controller, an SDN control node, an SDN front-end UI interface, an SDN database, and a nanotube network device.
The SDN controller is deployed in a data center networking. During deployment, various pieces of information of management network equipment of the SDN controller, including a management network IP, a management user name and a password, SNMP-related configuration, and the like, which are reachable by the SDN controller, need to be confirmed. And then, after the SDN controller is deployed successfully, the SDN controller converts the front-end UI interface into an available state, operation and maintenance personnel can access a specific address through a browser and enter the front-end UI interface, and management information input operation is performed on various network devices in the front-end UI interface. The network devices include switches, routers, and the like.
The SDN controller verifies the filled information in an SSH or SNMP mode, the equipment information is stored in an SDN database after the information is verified to be correct, equipment management entry is completed, the network equipment completing the management information entry is marked as a managed state in the SDN controller and can be accessed by the SDN controller on behalf of the equipment, and the SDN controller can acquire the state and configuration information of the network equipment through an SDN control node and adjust the configuration of the network equipment through a command line or an API mode.
It should be noted that the front-end UI interface refers to a front-end user interface, and the SDN database refers to a configuration management database.
After the network equipment is managed through a front-end user interface of the SDN controller, operation and maintenance personnel can use a configuration management function in the front-end user interface to select corresponding network equipment to view corresponding configuration information, and after the SDN controller receives a viewing request of specified network equipment, the SDN controller is connected to the specified network equipment according to the information of the specified network equipment provided during management, acquires the configuration information of the current specified network equipment, and then displays the acquired configuration information in the front-end user interface for the operation and maintenance personnel to view.
The network device configuration viewing process is described in detail with reference to fig. 2, and is applied to the system of fig. 1.
Fig. 2 is a schematic flowchart of a method for viewing network device configuration based on an SDN according to an embodiment of the present disclosure. The method can be applied to different business fields, such as the field of internet financial business, the field of electric business, the field of instant messaging business, the field of game business, the field of official business and the like. Certain input parameters or intermediate results in the procedure allow for manual intervention adjustments to help improve accuracy.
The process in fig. 2 comprises the following steps:
s201: the SDN controller receives a configuration view request for a specified network device.
In some embodiments of the present application, the SDN controller needs to pre-host the network device.
Based on the configuration, the deployment completion in the data center networking is determined, and the front-end user interface is converted into an available interface state.
And then, acquiring configuration management information of the network equipment to be managed through a front-end user interface, and verifying the configuration management information.
If the verification is passed, the configuration management information is stored in a configuration management database, and the network equipment to be managed is marked as managed network equipment.
S202: and searching the configuration management information of the specified network equipment in a preset configuration management database.
The configuration management information comprises a user name, a password corresponding to the user name, a management network IP (Internet protocol) which can be reached by the SDN controller and SNMP (simple network management protocol) configuration.
S203: and connecting the appointed network equipment according to the configuration management information so as to acquire the configuration information of the appointed network equipment.
Wherein the configuration information comprises a plurality of rows of commands for configuring each functional module.
S204: and displaying the configuration information on the front-end user interface according to a preset display layout.
And determining the display layout of the configuration information on the front-end user interface by specifying the display layout of the network equipment, so that the display layout of the configuration information is the same as that of the front-end user interface.
S205: and receiving a selected command of a specified row in the configuration information, and searching a configuration table of the specified network equipment in the configuration management database according to the equipment model of the specified network equipment.
The configuration table comprises factory configuration information corresponding to the equipment model of the specified network equipment under a corresponding manufacturer and a configuration comment of the factory configuration information; the factory configuration information includes a plurality of rows of factory commands for configuring each functional module.
Note that the designated line includes one or more lines.
S206: in the configuration table, matching the specified line, and determining a configuration annotation of the specified line; the configuration annotation refers to a functional interpretation of the specified line.
That is, the configuration annotations are: the method is characterized in that the method is preset in a configuration management database of the SDN controller in advance, and the description contents of the functions and the use modes of the SDN controller are made according to configuration command lines commonly used in a data center network by different manufacturer equipment.
In some embodiments of the present application, there may be the same command line but the function is different, as in different functions.
Based on this, it is determined whether the designated row has the same row in the factory configuration information in the configuration table.
If yes, in the factory configuration information, upward inquiry is carried out by using a starting point of the specified line until the function module to which the specified line belongs is determined, so that the configuration annotation of the specified line in the function module is determined.
If not, the configuration annotation for the specified row may be determined directly.
S207: and displaying the configuration annotation in a preset display mode in a preset area of the specified line.
For example, a front-end user interface of the SDN controller selects a side of a designated row and displays the side in a configuration information display frame manner, so that operation and maintenance personnel can know the purpose of the designated row according to content injected in the configuration information display frame.
In some embodiments of the present application, a user clicks on the selected specified line content on the SDN controller front-end user interface, which triggers a pop-up selection box. In the selection box of the popup, information comparison, association search, command deletion, command block deletion and function deletion operation to which the command belongs can be used.
Based on the above, if receiving the association search request of the designated row, determining the function module to which the designated row belongs in the configuration table; judging whether the functional module supports correlation search or not;
and if so, connecting the network equipment to the appointed network equipment, acquiring the configuration information in the functional module in the appointed network equipment, and displaying the configuration information in the functional module on a front-end user interface.
If not, returning no permission to search to the user.
Based on the above, if an information comparison request for the designated row is received, whether the comparison network device with the same device model exists is judged in the configuration management database according to the device model of the designated network device.
If not, returning no-permission comparison to the user.
If yes, retrieving and comparing the configuration table of the network equipment, and detecting whether the configuration table of the network equipment has the same row or not; and if so, displaying the comparison network equipment on the front-end user interface.
Receiving a selected command of the comparison network equipment, and determining a comparison function module corresponding to the same row in a configuration table of the comparison network equipment.
And connecting the comparison network equipment to acquire comparison configuration information of the comparison network equipment aiming at the comparison function module, and displaying the comparison configuration information on a front-end user interface.
If the configuration table of the comparison network device does not have the same row, the unauthorized comparison is returned to the user.
Based on this, a deletion request for the specified line is received, and it is determined whether the specified line supports deletion.
If not, returning to the user for deletion of the unauthorized line.
If yes, determining the function module of the designated row in the configuration table; connecting to the appointed network equipment, and deleting the appointed line in the functional module in the appointed network equipment;
and acquiring a row deleting result, and displaying the row deleting result on a front-end user interface.
Based on the above, a block deletion request for the specified row is received, and the functional module to which the specified row belongs is determined in the configuration table.
Then, it is determined whether the functional module supports block deletion.
If not, returning the deletion of the unauthorized block to the user.
If yes, connecting to the appointed network equipment, and deleting the block modules in the functional modules in the appointed network equipment.
And acquiring a block deletion result, and displaying the block deletion result on a front-end user interface.
Based on the function closing request, the function closing request for the specified row is received, and the function module to which the specified row belongs is determined in the configuration table.
Then, whether the function module supports the function shutdown operation is judged.
If not, returning the closing of the no-permission function to the user.
If yes, connecting to the appointed network equipment, and deleting the functional module in the appointed network equipment; and acquiring a function module deleting result, and displaying the function module deleting result on a front-end user interface.
It should be noted that, although the embodiment of the present application describes step S201 to step S207 sequentially with reference to fig. 2, this does not mean that step S201 to step S207 must be executed in strict order. The embodiment of the present application sequentially describes steps S201 to S207 according to the sequence shown in fig. 2, so as to facilitate those skilled in the art to understand the technical solutions of the embodiment of the present application. In other words, in the embodiment of the present application, the sequence between step S201 and step S207 may be appropriately adjusted according to actual needs.
By the method of fig. 2, the operation and maintenance staff of the data center can check and manage the configuration of the network devices of each manufacturer currently managed through the SDN controller, and can check the configuration information of the network devices of each manufacturer within the support range through the configuration management function provided by the front-end user interface of the SDN controller, and the SDN controller can provide the configuration translation corresponding to the information according to the device configuration information selected by the operation and maintenance staff, so that the operation and maintenance staff can know the configuration function. In addition, through the comparison, correlation search, current line deletion, block deletion, function deletion and other operations provided by the SDN controller, operation and maintenance personnel can perform operation and maintenance operations with higher efficiency on configuration of each network device in the environment by means of the SDN controller, and through the automatic management capability of the SDN controller on the configuration of the network devices, the daily operation and maintenance operations such as troubleshooting, routing inspection or service change are assisted to be completed, so that the operation and maintenance efficiency of the data center is improved, and the reliability is greatly enhanced.
Based on the same idea, some embodiments of the present application further provide a device and a non-volatile computer storage medium corresponding to the above method.
Fig. 3 is a schematic structural diagram of a network device configuration viewing device based on an SDN according to an embodiment of the present application, where the structural diagram includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
receiving a configuration viewing request for a specified network device;
retrieving configuration management information of the specified network device from a preset configuration management database; the configuration management information comprises a user name, a password corresponding to the user name, a management network IP which can be reached by the SDN controller, and Simple Network Management (SNMP) protocol configuration;
connecting the appointed network equipment according to the configuration management information to acquire the configuration information of the appointed network equipment; the configuration information includes a plurality of rows of commands for configuring each functional module;
displaying the configuration information on the front-end user interface according to a preset display layout;
receiving a selected command of a designated row in the configuration information, and searching a configuration table of the designated network equipment in the configuration management database according to the equipment model of the designated network equipment; the configuration table comprises factory configuration information corresponding to the equipment model of the specified network equipment under a corresponding manufacturer and a configuration comment of the factory configuration information; the factory configuration information comprises a plurality of rows of factory commands for configuring each functional module;
in the configuration table, matching the specified line, and determining a configuration annotation of the specified line; the configuration annotation refers to a functional explanation of the specified line;
and displaying the configuration annotation in a preset area of the specified line in a preset display mode.
Some embodiments of the present application provide a SDN based network device configuration viewing non-volatile computer storage medium storing computer-executable instructions configured to:
receiving a configuration viewing request for a specified network device;
retrieving configuration management information of the specified network device from a preset configuration management database; the configuration management information comprises a user name, a password corresponding to the user name, a management network IP which can be reached by the SDN controller, and Simple Network Management (SNMP) protocol configuration;
connecting the appointed network equipment according to the configuration management information to acquire the configuration information of the appointed network equipment; the configuration information includes a plurality of rows of commands for configuring each functional module;
displaying the configuration information on the front-end user interface according to a preset display layout;
receiving a selected command of a designated row in the configuration information, and searching a configuration table of the designated network equipment in the configuration management database according to the equipment model of the designated network equipment; the configuration table comprises factory configuration information corresponding to the equipment model of the specified network equipment under a corresponding manufacturer and a configuration comment of the factory configuration information; the factory configuration information comprises a plurality of rows of factory commands for configuring each functional module;
in the configuration table, matching the specified line, and determining a configuration annotation of the specified line; the configuration annotation refers to a functional explanation of the specified line;
and displaying the configuration annotation in a preset area of the specified line in a preset display mode.
The embodiments in the present application are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device and media embodiments, the description is relatively simple, as it is substantially similar to the method embodiments, and reference may be made to some description of the method embodiments for relevant points.
The device and the medium provided by the embodiment of the application correspond to the method one to one, so the device and the medium also have the similar beneficial technical effects as the corresponding method, and the beneficial technical effects of the method are explained in detail above, so the beneficial technical effects of the device and the medium are not repeated herein.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that 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 a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the technical principle of the present application shall fall within the protection scope of the present application.

Claims (10)

1. An SDN-based network device configuration viewing method, the method comprising:
the method comprises the steps that an SDN controller receives a configuration viewing request for a specified network device;
retrieving configuration management information of the specified network device from a preset configuration management database; the configuration management information comprises a user name, a password corresponding to the user name, a management network IP which can be reached by the SDN controller, and Simple Network Management (SNMP) protocol configuration;
connecting the appointed network equipment according to the configuration management information to acquire the configuration information of the appointed network equipment; the configuration information includes a plurality of lines of commands for configuring each functional module;
displaying the configuration information on the front-end user interface according to a preset display layout;
receiving a selected command of a designated row in the configuration information, and searching a configuration table of the designated network equipment in the configuration management database according to the equipment model of the designated network equipment; the configuration table comprises factory configuration information corresponding to the equipment model of the specified network equipment under a corresponding manufacturer and a configuration comment of the factory configuration information; the factory configuration information comprises a plurality of rows of factory commands for configuring each functional module;
in the configuration table, matching the specified line, and determining a configuration annotation of the specified line; the configuration annotation refers to a functional explanation of the specified line;
and displaying the configuration annotation in a preset area of the specified line in a preset display mode.
2. The method according to claim 1, wherein the matching the specified line in the configuration table to determine the configuration annotation of the specified line specifically comprises:
in the configuration table, judging whether the specified row has the same row in the factory configuration information;
if yes, in the factory configuration information, upwards inquiring at the starting point of the specified row until determining the function module to which the specified row belongs;
determining a configuration annotation of the specified line in the functional module.
3. The method according to claim 1, wherein after displaying the configuration comment in a preset display manner in a preset area of the specified row, the method further comprises:
receiving an association searching request for the specified row, and determining a functional module to which the specified row belongs in the configuration table;
judging whether the function module supports correlation search or not;
if so, connecting the appointed network equipment, and acquiring configuration information in the functional module in the appointed network equipment;
and displaying the configuration information in the functional module on the front-end user interface.
4. The method according to claim 1, wherein after displaying the configuration annotation in a preset display manner in a preset area of the designated line, the method further comprises:
receiving an information comparison request for the designated row, and judging whether comparison network equipment with the same equipment type exists in the configuration management database according to the equipment type of the designated network equipment;
if yes, retrieving the configuration table of the comparison network equipment, and detecting whether the configuration table of the comparison network equipment has the same row or not;
if yes, displaying the comparison network equipment on the front-end user interface;
receiving a selected command of the comparison network equipment, and determining a comparison function module corresponding to the same row in a configuration table of the comparison network equipment;
connecting the comparison network equipment to acquire comparison configuration information of the comparison network equipment aiming at the comparison functional module;
and displaying the comparison configuration information on the front-end user interface.
5. The method according to claim 1, wherein after displaying the configuration annotation in a preset display manner in a preset area of the designated line, the method further comprises:
receiving a deletion request for the specified line, and judging whether the specified line supports deletion;
if yes, determining the function module to which the designated row belongs in the configuration table;
connecting to the specified network equipment, and deleting the specified line in the functional module in the specified network equipment;
and acquiring a row deleting result, and displaying the row deleting result on the front-end user interface.
6. The method according to claim 1, wherein after displaying the configuration annotation in a preset display manner in a preset area of the designated line, the method further comprises:
receiving a block deletion request for the specified row, and determining a functional module to which the specified row belongs in the configuration table;
judging whether the functional module supports block deletion;
if yes, connecting the appointed network equipment, and deleting the block modules in the functional modules in the appointed network equipment;
and acquiring a block deleting result, and displaying the block deleting result on the front-end user interface.
7. The method according to claim 1, wherein after displaying the configuration annotation in a preset display manner in a preset area of the designated line, the method further comprises:
receiving a function closing request for the specified row, and determining a function module to which the specified row belongs in the configuration table;
judging whether the function module supports function closing operation or not;
if so, connecting the appointed network equipment, and deleting the functional module in the appointed network equipment;
and acquiring a function module deleting result, and displaying the function module deleting result on the front-end user interface.
8. The method of claim 1, wherein prior to the SDN controller receiving a configuration view request for a specified network device, the method further comprises:
determining that deployment is completed in the networking of the data center, and converting a front-end user interface into an available interface state;
acquiring configuration management information of the network equipment to be managed through the front-end user interface;
verifying the configuration management information;
if the verification is passed, the configuration management information is stored in a configuration management database;
and marking the network device to be managed as a managed network device.
9. A network device configuration viewing device based on SDN, applied to an SDN controller, comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
receiving a configuration viewing request for a specified network device;
retrieving configuration management information of the specified network device from a preset configuration management database; the configuration management information comprises a user name, a password corresponding to the user name, a management network IP which can be reached by the SDN controller, and Simple Network Management (SNMP) protocol configuration;
connecting the appointed network equipment according to the configuration management information to acquire the configuration information of the appointed network equipment; the configuration information includes a plurality of lines of commands for configuring each functional module;
displaying the configuration information on the front-end user interface according to a preset display layout;
receiving a selected command of a designated row in the configuration information, and searching a configuration table of the designated network equipment in the configuration management database according to the equipment model of the designated network equipment; the configuration table comprises factory configuration information corresponding to the equipment model of the specified network equipment under a corresponding manufacturer and configuration annotations of the factory configuration information; the factory configuration information comprises a plurality of rows of factory commands for configuring each functional module;
in the configuration table, matching the specified line, and determining a configuration annotation of the specified line; the configuration annotation refers to a functional explanation of the specified line;
and displaying the configuration annotation in a preset area of the specified line in a preset display mode.
10. An SDN-based network device configuration view non-transitory computer storage medium storing computer-executable instructions for an SDN controller, the computer-executable instructions configured to:
receiving a configuration viewing request for a specified network device;
retrieving configuration management information of the specified network device from a preset configuration management database; the configuration management information comprises a user name, a password corresponding to the user name, a management network IP (Internet protocol) which can be reached by the SDN controller and simple network management SNMP (simple network management protocol) configuration;
connecting the appointed network equipment according to the configuration management information to acquire the configuration information of the appointed network equipment; the configuration information includes a plurality of lines of commands for configuring each functional module;
displaying the configuration information on the front-end user interface according to a preset display layout;
receiving a selected command of a designated row in the configuration information, and searching a configuration table of the designated network equipment in the configuration management database according to the equipment model of the designated network equipment; the configuration table comprises factory configuration information corresponding to the equipment model of the specified network equipment under a corresponding manufacturer and a configuration comment of the factory configuration information; the factory configuration information comprises a plurality of rows of factory commands for configuring each functional module;
in the configuration table, matching the specified line, and determining a configuration annotation of the specified line; the configuration annotation refers to a functional explanation of the specified line;
and displaying the configuration annotation in a preset area of the specified line in a preset display mode.
CN202211445620.7A 2022-11-18 2022-11-18 Network equipment configuration checking method, equipment and medium based on SDN Pending CN115801579A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211445620.7A CN115801579A (en) 2022-11-18 2022-11-18 Network equipment configuration checking method, equipment and medium based on SDN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211445620.7A CN115801579A (en) 2022-11-18 2022-11-18 Network equipment configuration checking method, equipment and medium based on SDN

Publications (1)

Publication Number Publication Date
CN115801579A true CN115801579A (en) 2023-03-14

Family

ID=85438783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211445620.7A Pending CN115801579A (en) 2022-11-18 2022-11-18 Network equipment configuration checking method, equipment and medium based on SDN

Country Status (1)

Country Link
CN (1) CN115801579A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160056571A (en) * 2014-11-12 2016-05-20 삼성에스디에스 주식회사 Method and apparatus for Software-Defined Network configuration using legacy network equipments
CN106293694A (en) * 2015-06-29 2017-01-04 发那科株式会社 The ladder program edition device of network annotations can be shown
CN109684521A (en) * 2018-12-30 2019-04-26 深圳互联先锋科技有限公司 Linux system configuration information inspection method, device and computer readable storage medium
CN115174398A (en) * 2022-06-24 2022-10-11 浪潮卓数大数据产业发展有限公司 Network equipment configuration method, equipment and medium based on python interactive shell
CN115277402A (en) * 2021-04-29 2022-11-01 慧与发展有限责任合伙企业 Method and system for facilitating automatic annotation and dynamic display of switch configurations

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160056571A (en) * 2014-11-12 2016-05-20 삼성에스디에스 주식회사 Method and apparatus for Software-Defined Network configuration using legacy network equipments
CN106293694A (en) * 2015-06-29 2017-01-04 发那科株式会社 The ladder program edition device of network annotations can be shown
CN109684521A (en) * 2018-12-30 2019-04-26 深圳互联先锋科技有限公司 Linux system configuration information inspection method, device and computer readable storage medium
CN115277402A (en) * 2021-04-29 2022-11-01 慧与发展有限责任合伙企业 Method and system for facilitating automatic annotation and dynamic display of switch configurations
CN115174398A (en) * 2022-06-24 2022-10-11 浪潮卓数大数据产业发展有限公司 Network equipment configuration method, equipment and medium based on python interactive shell

Similar Documents

Publication Publication Date Title
CN109783388B (en) UI (user interface) automatic testing method and device and electronic equipment
CN108768728A (en) O&M task processing method, device, computer equipment and storage medium
US10572371B2 (en) Generating valid use cases from a parsed configuration file describing use case options
CN106411970B (en) A kind of fault handling method based on service call, device and system
CN110507986B (en) Animation information processing method and device
CN112988605B (en) Method and device for realizing WEB application automatic test
CN112597014A (en) Automatic testing method, device, medium and electronic equipment based on data driving
CN113032264A (en) Method and device for detecting page view control
CN110532056A (en) A kind of control recognition methods and device applied in user interface
US11422917B2 (en) Deriving software application dependency trees for white-box testing
CN104252413A (en) Automatic script generation method, device and system
US11106571B2 (en) Identification of input object in a graphical user interface
CN113760730A (en) Automatic testing method and device
CN115801579A (en) Network equipment configuration checking method, equipment and medium based on SDN
CN105988785A (en) RPC (remote procedure call) service development method and device
CN115525545A (en) Docker-based automatic testing method, system, equipment and medium
CN115987821A (en) Gateway routing test method and device
CN115470152A (en) Test code generation method, test code generation device, and storage medium
CN114329495A (en) Endogenous security based asset vulnerability static analysis method and device
CN114218072A (en) Test script generation method and device, storage medium and computer equipment
CN113468446A (en) Method, system and equipment for supporting identification of third-party two-dimensional code data
CN106775629B (en) Search file generation method and device
CN112416442A (en) Equipment process control method, equipment and medium
CN110515905A (en) A kind of method, apparatus and server of the configuration of routing
CN117130946B (en) Test scene generation method and device, electronic equipment and readable storage medium

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