CN108880837A - The method, apparatus and SDN controller architecture of network element configuration parameter are corrected in SDN network - Google Patents
The method, apparatus and SDN controller architecture of network element configuration parameter are corrected in SDN network Download PDFInfo
- Publication number
- CN108880837A CN108880837A CN201710324030.1A CN201710324030A CN108880837A CN 108880837 A CN108880837 A CN 108880837A CN 201710324030 A CN201710324030 A CN 201710324030A CN 108880837 A CN108880837 A CN 108880837A
- Authority
- CN
- China
- Prior art keywords
- network element
- configuration parameter
- configuration
- parameter
- actual
- 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
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
-
- 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/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses the method and device that network element configuration parameter is corrected in a kind of SDN network and a kind of SDN network controller bay construction systems.The method of correction network element configuration parameter includes in the SDN network:Network element is locked;Judge it is whether identical between the network element actual configuration parameter and the requirement configuration parameter of the currently stored network element, if it is not, correcting the actual configuration parameter of the network element using the requirement configuration parameter of the currently stored network element as foundation;Release the locking to the network element.Using the above method, solve the problems, such as that the existing configuration distributing by mistake leads to service disconnection to network element.
Description
Technical field
The present invention relates to network technologies, and in particular to the method and device of network element configuration parameter is corrected in a kind of SDN network.
Present invention simultaneously relates to a kind of SDN network controller bay construction systems.
Background technique
In SDN network, in order to make control plane more independent, more flexible centralized control is realized, it will be distributed
Control function focuses in the controller of concentration, so that more thorough simplified data forwarding plane, enhances data forwarding plane
Stabilization, the real-time configuration parameter for needing to keep to constitute in the network element of Forwarding plane is identical as controller requirement configuration parameter.
Under the prior art, provides a kind of typical SDN (software defined network) network controller and realize framework ODL (such as
Described in Fig. 1), in ODL controller scheme, two data memory modules are devised, one is to require configuration parameter memory module
(Configuration DataStore), for save developer setting configuration parameter is required to network element (NE), another
For actual configuration parameter memory module (Operation DataStore), for saving configuration information when network element is really run.
ODL periodically can obtain actual configuration parameter from network element, update into actual configuration parameter memory module.By to require configuration join
The contrast difference of number memory module and actual configuration parameter memory module, discovery require configuration parameter relative to actual configuration parameter
There is newly-increased content, newly-increased configuration information is issued to network element, if configuration parameter is required to delete relative to actual configuration parameter
The content removed then issues the configuration information of deletion to network element.
But the update of actual configuration parameter memory module is not in real time, and there are time lags, if between this lag
It is inconsistent every the actual configuration parameter stored in network element actual configuration parameter in the period and actual configuration parameter memory module, then
Will be there is into mistake in the difference for requiring configuration parameter memory module and actual configuration parameter memory module to obtain after comparing, in turn
The configuration parameter of mistake is issued to network element, the configuration distributing by mistake to network element be it is extremely hazardous, may cause in business
It is disconnected.
Summary of the invention
The present invention provides a kind of method that network element configuration parameter is corrected in SDN network, to solve the existing configuration by mistake
It is issued to the problem of network element leads to service disconnection.
The method includes:
Network element is locked;
Judge between the network element actual configuration parameter and the requirement configuration parameter of the currently stored network element whether phase
Together, if it is not, using the requirement configuration parameter of the currently stored network element as foundation, the actual disposition ginseng of the network element is corrected
Number;
Release the locking to the network element.
Optionally, the method includes:
After the step of being locked to network element, when matching for the actual configuration parameter for having the pending modification network element
When setting task, by the task buffer to the corresponding task queue of the network element;
After the step of releasing to the locking of the network element, search the corresponding task queue of the network element whether there is to
The configuration task of execution;
If it exists, the pending configuration task is executed, realizes the update to the actual configuration parameter of the network element;
The requirement configuration parameter of the currently stored network element is updated.
Optionally, the method includes:
The method that network element configuration parameter is corrected in the SDN network is executed at a time interval.
Optionally, the requirement configuration parameter of judgement the network element actual configuration parameter and the currently stored network element
Between it is whether identical, including:
Obtain the actual configuration parameter of the network element;
Obtain the requirement configuration parameter of the currently stored network element;
The requirement configuration parameter of the actual configuration parameter of the network element and the currently stored network element is carried out pair
Than if it is different, the then requirement configuration parameter of the actual configuration parameter of the judgement network element and the currently stored network element
Between whether identical judging result is no.
Optionally, described using the requirement configuration parameter of the currently stored network element as foundation, correct the network element
Actual configuration parameter, including:
When the requirement configuration parameter in the actual configuration parameter of network element relative to the currently stored network element have it is more
When remaining configuration, configuration extra described in the network element is deleted;
When the requirement configuration parameter in the actual configuration parameter of network element relative to the currently stored network element have it is more
When remaining configuration, the configuration of the loss is re-write in the network element;
When same in the numerical value of actual configuration parameter of network element and the requirement configuration parameter of the currently stored network element
When the numerical value difference of one parameter, using requiring the parameter values in configuration parameter to modify the same ginseng in the actual configuration parameter
Several numerical value.
In addition the application provides the device that network element configuration parameter is corrected in a kind of SDN network, described device includes:
Network element unit is locked, for locking to network element;
Configuration unit is judged, for judging that the network element actual configuration parameter and the requirement of the currently stored network element are matched
It sets whether identical between parameter;
Correct configuration unit, for when judge the output of configuration unit for it is no when, with the currently stored network element
Requirement configuration parameter be foundation, correct the actual configuration parameter of the network element;
Unlock unit, for releasing the locking to the network element.
Optionally, described device further includes:
TU task unit is cached, for after locking network element unit work, when there is the real-time of pending modification network element to match
When setting the configuration task of parameter, by the task buffer to the corresponding task queue of the network element;
TU task unit is searched, for after the unit that unlocks, searching whether the corresponding task queue of the network element deposits
In pending configuration task;
TU task unit is executed, if the output for searching TU task unit is to execute the pending configuration task when being,
Realize the update to the actual configuration parameter of the network element;
Database Unit is updated, for the requirement after executing TU task unit, to the currently stored network element
Configuration parameter is updated.
Optionally, the judgement configuration unit, including:
Actual disposition subelement is obtained, for obtaining the actual configuration parameter of the network element;
It obtains and requires configuration subelement, user obtains the requirement configuration parameter of the currently stored network element;
Similarities and differences subelement is judged, for by the actual configuration parameter of the network element and the currently stored network element
It is required that configuration parameter compares, if it is different, the then actual configuration parameter of the judgement network element and currently stored described
Whether identical judging result is no between the requirement configuration parameter of network element.
Optionally, the correction configuration unit, including:
Configuration subelement is deleted, relative to the currently stored network element in the actual configuration parameter for working as network element
Requirement configuration parameter when having extra configuration, delete configuration extra described in the network element;
Configuration subelement is rewritten, relative to the currently stored network element in the actual configuration parameter for working as network element
Requirement configuration parameter when having extra configuration, the configuration of the loss is re-write in the network element;
Modification configuration subelement, numerical value and the currently stored network element for the actual configuration parameter when network element
Requirement configuration parameter in same parameters numerical value difference when, modify the reality using the parameter values that require in configuration parameter
The numerical value of same parameters in configuration parameter.
The application also provides a kind of SDN network controller bay construction system, and the architecture system includes:
Data memory module, the requirement configuration parameter sent for storing the change configuration module;
Configuration module is changed, for issuing the requirement configuration parameter of network element to network element and requiring configuration parameter to store for described
To data memory module;
Configuration module is corrected, for correcting the actual configuration parameter of the network element;
Southbound interface module for realizing change configuration module and corrects the data interaction between configuration module and network element.
Compared with prior art, the present invention has the following advantages that:
The application provides a kind of method that network element configuration parameter is corrected in SDN network, the method includes:
Network element is locked;Judge the requirement configuration of the network element actual configuration parameter and the currently stored network element
It is whether identical between parameter, if it is not, correcting the net using the requirement configuration parameter of the currently stored network element as foundation
The actual configuration parameter of member;Release the locking to the network element.
The method that network element configuration parameter is corrected in SDN network provided by the present application, when correcting network element configuration parameter by net
Member is set as lock state, the interference of other modification network element configuration parameter tasks is avoided, with the currently stored network element
Requirement configuration parameter be foundation, correct the actual configuration parameter of the network element, guarantee actual configuration parameter and control on network element
Device requirement configuration parameter processed is consistent, it is ensured that the actual configuration parameter on network element is correct, avoids the problem of service disconnection occurs, together
When reduce maintenance operation when database synchronization cost, reduce logical complexity, improve system reliability.
Detailed description of the invention
Fig. 1 is a kind of typical SDN network controller realization framework ODL.
Fig. 2 is a kind of schematic diagram for SDN network controller bay construction system that the application first embodiment provides.
Fig. 3 is the process that the method for network element configuration parameter is corrected in a kind of SDN network of the application second embodiment offer
Figure.
Fig. 4 is the schematic diagram for first specific example that the application second embodiment provides.
Fig. 5 is the schematic diagram for second specific example that the application second embodiment provides.
Fig. 6 be the application second embodiment provide judge the network element actual configuration parameter and the currently stored net
Member requirement configuration parameter between whether identical flow chart.
Fig. 7 is the device that network element configuration parameter is corrected in a kind of SDN network of the application 3rd embodiment offer.
Specific embodiment
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention.But the present invention can be with
Much it is different from other way described herein to implement, those skilled in the art can be without prejudice to intension of the present invention the case where
Under do similar popularization, therefore the present invention is not limited to the specific embodiments disclosed below.
Before introducing embodiment, first to this application involves relational language explain.
SDN:(Software Defined Networking, software defined network) is a kind of Novel net of Emulex network
Network innovates framework, is a kind of implementation of network virtualization, and core technology OpenFlow is by by network equipment control plane
It is separated with data surface, to realize the flexible control of network flow, network is made to become more intelligent as pipeline.
Control plane:For relative data Forwarding plane, it is responsible for the flat of the functions such as control, the network management of data forwarding
Face is made of single or multiple controllers.
Network element (NE:Network Element), it is responsible for the network functional entity of data forwarding, between network element and network element
Link network consisting Forwarding plane.
Controller:The control unit interacted with network element, single or multiple controller composition control planes;
ODL:(Open Day Light), a kind of Open Framework that network controller is realized.
After describing relational language, the introduction of the embodiment of the present application is carried out.The application first embodiment provides one
Kind SDN network controller bay construction system.Referring to FIG. 2, it illustrates a kind of SDN network controls that the application first embodiment provides
The schematic diagram of device architecture system processed.Wherein, the SDN network controller bay construction system includes:Data memory module 201, change
Configuration module 202 corrects configuration module 203, southbound interface module 204.
The data memory module 201, the requirement configuration parameter sent for storing the change configuration module;
The change configuration module 202, for issuing the requirement configuration parameter of network element to network element and configuring the requirement
Parameter is stored to data memory module;
The correction configuration module 203, for correcting the actual configuration parameter of the network element;
The southbound interface module 204, for realizing the number between change configuration module and correction parameter module and network element
According to interaction.
The SDN network controller bay construction system can be used to realize that the application second embodiment provides a kind of SDN net
The method that network element configuration parameter is corrected in network, the method is mainly by the correction configuration module in SDN network controller bay construction system
203 realize.Correction network element in the application SDN network is discussed in detail below in conjunction with the SDN network controller bay construction system to match
The method for setting parameter.
The application second embodiment provides a kind of method that network element configuration parameter is corrected in SDN network.Referring to FIG. 3,
It illustrates the flow charts for the method that network element configuration parameter is corrected in a kind of SDN network provided according to an embodiment of the present application.
It is described in detail below in conjunction with Fig. 2 and Fig. 3.This method is introduced in order to clearer simultaneously, during illustrating this method,
It is introduced in combination with two specific examples.
Example 1, as shown in figure 4, the current topology that is made of by one 5 network elements of A, B, C, D, E, have business need from A to
E, controller have found a paths A->D->C->E, controller needs the configuration distributing by path into network element, wherein updating D
When node configures, configuration failure is updated, but the message of D node notification controller failure is lost in transmission process, D node
Configuration do not come into force, therefore D->The path of C is abnormal, but controller does not know update failure.
Example 2, as shown in figure 5, in the topology being made of 5 network elements of A, B, C, D, E, remained on D node and be forwarded to C's
Configuration currently has business to need from A to E, and controller finds out path A->D->E is issued and is configured to A, D, E node, if D node
The remaining configuration preference level for being forwarded to C node than newly issue be forwarded to E node configuration it is high, the path of last practical efficiency is
A->D->C, it is final without arriving E.
Step S301, locks network element.
The network element refers to network element to be corrected.
During being corrected to network element configuration parameter, in order to guarantee that the configuration parameter of network element is not modified, by institute
It states network element and is set as lock state, i.e. the write-protect state of network element.
After setting lock state for the network element, controller can be just to the modification of the configuration parameter of the network element
Often execute;When pending if there is the task of the configuration parameter of other clients modification network element, since network element has been in write-protect shape
State, therefore cannot be immediately performed, it needs first for the configuration task to be cached to the corresponding task queue of the network element, wait to be locked
After state becomes open state, then execute the pending task.If there is reading the task of configuration parameter in network element, Ke Yizheng
Often execute.
In the specific implementation, network element is locked, can controller set network element parameter state value by way of, if
Lock is determined when parameter state value StateValue corresponding to network element is 1 to be lock state, and state value StateValue is when being 0
Network element state value StateValue is set as 1, is then locked to network element by open state, controller.
In example 1 and example 2, network element is locked, exactly node D network element is locked, when it is implemented, controller
Parameter state value StateValue corresponding to node D network element can be set as 1.
Step S302, judge the network element actual configuration parameter and the currently stored network element requirement configuration parameter it
Between it is whether identical, if it is not, execute step S303, if so, execute step S304.
The network element actual configuration parameter is often referred to configuration parameter when network element operation, may be with controller to network element
Configuration parameter is consistent, it is also possible to which change causes it inconsistent with the configuration parameter of controller requirement network element at runtime.
The requirement configuration parameter of the network element is often referred to the requirement configuration parameter that controller is handed down to network element.In example 1,
The requirement configuration parameter that controller is handed down to D node network element includes being forwarded to the configuration of C, and in example 2, controller is handed down to D node
The requirement configuration parameter of network element includes being forwarded to the configuration of E.
The requirement configuration parameter of the currently stored network element is often referred to controller and is handed down to mandate configuration ginseng
Number, network element actual parameter are stored in the requirement of the network element in configuration database after configuration parameter is updated successfully as requested
Configuration parameter.
In SDN network, since its actual configuration parameter often changes network element at runtime, lead to the reality of network element
There is inconsistent situation in the requirement configuration parameter of border configuration parameter and the currently stored network element, in order to keep controller with
Network element configuration parameter is consistent, and controller needs the task of start-up check network element configuration parameter, is corrected to network element configuration parameter,
It is corrected and is mainly realized by the correction configuration module 203 in Fig. 2.
The step S301 is being executed, i.e., after controller locks network element to be corrected, correction configuration module 203 is just
Can carry out correcting for network element configuration parameter, first determine whether the currently stored network element requirement configuration parameter and the net
Whether first actual configuration parameter is identical, if the two is different, illustrates that above-mentioned two configuration parameter is inconsistent, executes step
S303 realizes that two configuration parameters are consistent, completes correction, if the two is identical, without correction, is directly entered step S304.
It is between the judgement network element actual configuration parameter and the requirement configuration parameter of the currently stored network element
It is no identical, including:
Obtain the actual configuration parameter of the network element;
Obtain the requirement configuration parameter of the currently stored network element;
The requirement configuration parameter of the actual configuration parameter of the network element and the currently stored network element is carried out pair
Than if it is different, the then requirement configuration parameter of the actual configuration parameter of the judgement network element and the currently stored network element
Between whether identical judging result is no.
Fig. 6 is referred to, for the judgement network element actual configuration parameter that provides of first embodiment of the application and current
Storage the network element requirement configuration parameter between whether identical flow chart, specifically include step S302-1 to S302-3.
Step S302-1 obtains the actual configuration parameter of the network element.
The actual configuration parameter of network element can be obtained by Openflow agreement by correcting configuration module 203.When it is implemented,
Correction data module 203 can be sent to network element to be corrected by southbound interface module 204 and obtain the network element actual disposition
Its actual configuration parameter is returned to correction data module, the two by southbound interface module 204 by the order of parameter, the network element
Interactive process uses Openflow agreement.For example, the actual disposition ginseng of D node network element is obtained in example 2 by Openflow agreement
Number is including being forwarded to the configuration of C and being forwarded to the configuration of E.
OpenFlow agreement is the interface standard for describing the information that interaction is used between controller and network element, core
It is the set of OpenFlow protocol information.OpenFlow agreement supports three kinds of type of messages:controller-to-switch,
Asynchronous (asynchronous) and symmetric (symmetrical), and every a kind of message can possess multiple sub- type of messages.Its
In, controller-to-switch message is initiated by controller, for managing or obtaining the network element for supporting OpenFlow agreement
The state of (referring mainly to OpenFlow interchanger);Asynchronous message is used by supporting the network element of OpenFlow agreement to initiate
Network event or network element state variation are updated and arrive controller;Symmetric message can be initiated by interchanger or controller.
Step S302-2 obtains the requirement configuration parameter of the currently stored network element.
Correction configuration module 203 can (data memory module can be designed as configuring by reading data memory module 201
Database) storage presently described network element configuration data come obtain the currently stored network element requirement configuration ginseng
Number.For example, correcting configuration module in example 1 to obtain the requirement configuration parameter of the currently stored D node network element includes being forwarded to C
Configuration, it includes being forwarded to E that correction configuration module, which obtains the requirement configuration parameter of the currently stored D node network element, in example 2
Configuration.
It should be noted that step S302-1 and the sequence of step S302-2 are unrestricted, sequence be can be interchanged.
Step S302-3 configures the requirement of the actual configuration parameter of the network element and the currently stored network element
Parameter compares, if it is different, then the actual configuration parameter of the judgement network element and the currently stored network element are wanted
Ask between configuration parameter whether identical judging result is no.
Wanting for network element actual configuration parameter and the currently stored network element is obtained respectively in correction configuration module 203
After seeking configuration parameter, the two is compared, if comparing result is that the two is not identical, the reality of the judgement network element is matched
Set between parameter and the requirement configuration parameter of the currently stored network element whether identical judging result is no.
In example 2, the actual configuration parameter for obtaining D node network element includes the configuration for being forwarded to C and the configuration for being forwarded to E, is obtained
The requirement configuration parameter for taking the currently stored D node network element includes being forwarded to the configuration of E, and by comparison, both discoveries are no
Together, then judge between the actual configuration parameter of D node network element and the requirement configuration parameter of currently stored D node network element whether phase
Same judging result is no.
Step S303 corrects the network element using the requirement configuration parameter of the currently stored network element as foundation
Actual configuration parameter.
If judging the requirement configuration of the network element actual configuration parameter and the currently stored network element in step S302
It is not identical between parameter, then it needs to correct the net using the requirement configuration parameter of the currently stored network element as foundation
The actual configuration parameter of the network element, i.e., is changed to the requirement of the currently stored network element by the actual configuration parameter of member
Configuration parameter.
Situation is included the following three types when correcting the actual configuration parameter of the network element:Wherein the first situation is:Work as net
When requirement configuration parameter in the actual configuration parameter of member relative to the currently stored network element has extra configuration, delete
Except configuration extra described in the network element;Second situation is:When in the actual configuration parameter of network element relative to described current
When the requirement configuration parameter of the network element of storage has the configuration of loss, the configuration of the loss is re-write into the network element
In;The third situation is:When the requirement of the numerical value and the currently stored network element of the actual configuration parameter of network element configures
In parameter when the numerical value difference of same parameters, modified in the actual configuration parameter using the parameter values required in configuration parameter
Same parameters numerical value.
For the first situation by taking example 2 as an example, the actual configuration parameter that correction configuration module obtains D node network element includes being forwarded to
The configuration of E and the configuration for being forwarded to C, the requirement configuration parameter for obtaining the currently stored D node network element includes being forwarded to E's
Configuration finds that the requirement of the corresponding currently stored network element in D node network element actual configuration parameter is matched by comparison
Setting parameter has the extra configuration for being forwarded to C, then controller deletes the configuration for being forwarded to C extra in the network element, completes school
Just.
For second situation by taking example 1 as an example, correction configuration module obtains the actual configuration parameter of D node network element and currently stored
The requirement configuration parameter of D node network element found corresponding described current in D node network element actual configuration parameter by comparison
The requirement configuration parameter of the network element of storage has the configuration for being forwarded to C of loss, then controller will be forwarded to the configuration of C again
It is written in D node network element, the requirement of D node network element actual configuration parameter and the currently stored network element at this time, which configures, to be joined
Number has reached consistent, completes correction.
For example, the third situation, the value of a in the requirement configuration parameter of the currently stored network element is 1, network element
The value of actual configuration parameter a is 2, then the value of network element actual configuration parameter a is revised as 1.
By correction, the requirement configuration parameter of network element actual configuration parameter Yu the currently stored network element ensure that
Unanimously, business runs well, and improves system reliability.
Step S204 releases the locking to the network element.
After having corrected the configuration parameter of network element, need to release the locking to the network element, so as to by network element
New requirement configurable write enters network element.
The locking to the network element is released, i.e., the network element is set on state, setup parameter value can be passed through
Mode, such as set state value StateValue as 0, then relieve the locking to the network element.
In example 1 and example 2, the locking to the network element is released, i.e., node D network element is set on state, it is specific real
Parameter state value StateValue corresponding to node D network element can be set as 0 by Shi Shi, controller.
After the step of releasing the locking to the network element, require to look up whether the corresponding task queue of the network element deposits
In pending configuration task;If it exists, it executes the pending configuration task and updates network element actual configuration parameter;Then right
The requirement configuration parameter of the currently stored network element is updated, keep the actual configuration parameter of network element with it is currently stored
The network element requirement configuration parameter it is consistent.
It, can be in order to guarantee that network element actual configuration parameter is consistent with the requirement configuration parameter of the currently stored network element
Start by set date corrects the task of element configuration data, and timing carries out the correction of element configuration data, to avoid network element actual disposition
Parameter and the requirement configuration parameter of the currently stored network element are inconsistent, and then generation the case where lead to service disconnection.It can be with
A very short time interval is set by the period of timing, for example, 1 minute.
So far, the method that network element configuration parameter is corrected in SDN network provided by the embodiments of the present application has been carried out specifically
It is bright.The application joins by comparing the time configuration of the mandate configuration parameter and the network element that store in configuration database
Number whether there is difference, if so, the network element time configuration parameter to be changed to the net stored in the configuration database
Member requires configuration parameter, completes the configuration correction to network element, by correcting controller delete in network element extra configuration or
The configuration of loss is re-write, has repaired the configuration error of network element in time, the actual configuration parameter and controller for making network element are to net
Member requires configuration parameter to maintain unanimously, avoids service disconnection, ensure that business operates normally.
Corresponding with the correction method of network element configuration parameter in a kind of above-mentioned SDN network, present invention also provides one kind
The device of network element configuration parameter is corrected in SDN network.Since the embodiment of described device is substantially similar to the embodiment of method, institute
To describe fairly simple, the relevent part can refer to the partial explaination of embodiments of method.Installation practice described below is only
It is only illustrative.The Installation practice that network element configuration parameter is corrected in the SDN network is as follows:
Referring to FIG. 7, it illustrates the device for correcting network element configuration parameter in a kind of SDN network, described device, including:
Locking network element unit 701 judges that configuration unit 702, correction configuration unit 703, unlock unit 704.
Network element unit 701 is locked, for locking to network element;
Configuration unit 702 is judged, for judging wanting for the network element actual configuration parameter and the currently stored network element
Ask whether identical between configuration parameter;
Correct configuration unit 703, for when judge the output of configuration unit for it is no when, with the currently stored net
The requirement configuration parameter of member is foundation, corrects the actual configuration parameter of the network element;
Unlock unit 704, for releasing the locking to the network element.
Optionally, described device further includes:
TU task unit is cached, for after locking network element unit work, when there is the real-time of pending modification network element to match
When setting the task of parameter, by the task buffer to the corresponding task queue of the network element;
TU task unit is searched, for after the unit that unlocks, searching whether the corresponding task queue of the network element deposits
In pending configuration task;
TU task unit is executed, if the output for searching TU task unit is to execute the pending configuration task when being,
Realize the update to the actual configuration parameter of the network element;
Database Unit is updated, for the requirement after executing TU task unit, to the currently stored network element
Configuration parameter is updated.
Optionally, the judgement configuration unit, including:
Actual disposition subelement is obtained, for obtaining the actual configuration parameter of the network element;
It obtains and requires configuration subelement, user obtains the requirement configuration parameter of the currently stored network element;
Similarities and differences subelement is judged, for by the actual configuration parameter of the network element and the currently stored network element
It is required that configuration parameter compares, if it is different, the then actual configuration parameter of the judgement network element and currently stored described
Whether identical judging result is no between the requirement configuration parameter of network element.
Optionally, the correction configuration unit, including:
Configuration subelement is deleted, relative to the currently stored network element in the actual configuration parameter for working as network element
Requirement configuration parameter when having extra configuration, delete configuration extra described in the network element;
Configuration subelement is rewritten, relative to the currently stored network element in the actual configuration parameter for working as network element
Requirement configuration parameter when having extra configuration, the configuration of the loss is re-write in the network element;
Modification configuration subelement, numerical value and the currently stored network element for the actual configuration parameter when network element
Requirement configuration parameter in same parameters numerical value difference when, modify the reality using the parameter values that require in configuration parameter
The numerical value of same parameters in configuration parameter.
Although the present invention is disclosed as above with preferred embodiment, it is not for limiting the present invention, any this field skill
Art personnel without departing from the spirit and scope of the present invention, can make possible variation and modification, therefore guarantor of the invention
Shield range should be subject to the range that the claims in the present invention are defined.
Claims (10)
1. correcting the method for network element configuration parameter in a kind of SDN network, which is characterized in that including:
Network element is locked;
Judge it is whether identical between the network element actual configuration parameter and the requirement configuration parameter of the currently stored network element, if
It is no, using the requirement configuration parameter of the currently stored network element as foundation, correct the actual configuration parameter of the network element;
Release the locking to the network element.
2. correcting the method for network element configuration parameter in SDN network according to claim 1, which is characterized in that including:
After the step of being locked to network element, when the configuration for the actual configuration parameter for having the pending modification network element is appointed
When business, by the task buffer to the corresponding task queue of the network element;
After the step of releasing the locking to the network element, the corresponding task queue of the network element is searched with the presence or absence of pending
Configuration task;
If it exists, the pending configuration task is executed, realizes the update to the actual configuration parameter of the network element;
The requirement configuration parameter of the currently stored network element is updated.
3. correcting the method for network element configuration parameter in SDN network according to claim 1, which is characterized in that including:
The method that network element configuration parameter is corrected in the SDN network is executed at a time interval.
4. correcting the method for network element configuration parameter in SDN network according to claim 1, which is characterized in that the judgement
It is whether identical between the network element actual configuration parameter and the requirement configuration parameter of the currently stored network element, including:
Obtain the actual configuration parameter of the network element;
Obtain the requirement configuration parameter of the currently stored network element;
The actual configuration parameter of the network element and the requirement configuration parameter of the currently stored network element are compared, if
Difference is then between the actual configuration parameter of the judgement network element and the requirement configuration parameter of the currently stored network element
No identical judging result is no.
5. correcting the method for network element configuration parameter in SDN network according to claim 1, which is characterized in that described with institute
The requirement configuration parameter for stating the currently stored network element is foundation, corrects the actual configuration parameter of the network element, including:
When the requirement configuration parameter in the actual configuration parameter of network element relative to the currently stored network element have it is extra
When configuration, configuration extra described in the network element is deleted;
When the requirement configuration parameter in the actual configuration parameter of network element relative to the currently stored network element have it is extra
When configuration, the configuration of the loss is re-write in the network element;
When same ginseng in the numerical value of actual configuration parameter of network element and the requirement configuration parameter of the currently stored network element
When several numerical value differences, using requiring the parameter values in configuration parameter to modify same parameters in the actual configuration parameter
Numerical value.
6. correcting the device of network element configuration parameter in a kind of SDN network, which is characterized in that including:
Network element unit is locked, for locking to network element;
Configuration unit is judged, for judging that the requirement of the network element actual configuration parameter and the currently stored network element configures ginseng
It is whether identical between number;
Correct configuration unit, for when judge the output of configuration unit for it is no when, with wanting for the currently stored network element
Seeking configuration parameter is foundation, corrects the actual configuration parameter of the network element;
Unlock unit, for releasing the locking to the network element.
7. correcting the device of network element configuration parameter in SDN network according to claim 6, which is characterized in that described device
Further include:
TU task unit is cached, is used for after locking network element unit work, when the real-time configuration ginseng for having pending modification network element
When several configuration tasks, by the task buffer to the corresponding task queue of the network element;
Search TU task unit, for after the unit that unlocks, search the corresponding task queue of the network element whether there is to
The configuration task of execution;
TU task unit is executed, if the output for searching TU task unit is to execute the pending configuration task when being, is realized
Update to the actual configuration parameter of the network element;
Database Unit is updated, for the requirement configuration after executing TU task unit, to the currently stored network element
Parameter is updated.
8. correcting the device of network element configuration parameter in SDN network according to claim 6, which is characterized in that the judgement
Configuration unit, including:
Actual disposition subelement is obtained, for obtaining the actual configuration parameter of the network element;
It obtains and requires configuration subelement, user obtains the requirement configuration parameter of the currently stored network element;
Similarities and differences subelement is judged, for by the requirement of the actual configuration parameter of the network element and the currently stored network element
Configuration parameter compares, if it is different, the then actual configuration parameter and the currently stored network element of the judgement network element
Requirement configuration parameter between whether identical judging result is no.
9. correcting the device of network element configuration parameter in SDN network according to claim 6, which is characterized in that the correction
Configuration unit, including:
Configuration subelement is deleted, is wanted in the actual configuration parameter for working as network element relative to the currently stored network element
When configuration parameter being asked to have extra configuration, configuration extra described in the network element is deleted;
Configuration subelement is rewritten, is wanted in the actual configuration parameter for working as network element relative to the currently stored network element
When configuration parameter being asked to have extra configuration, the configuration of the loss is re-write in the network element;
Modification configuration subelement, for working as the numerical value of actual configuration parameter and the wanting for the currently stored network element of network element
When seeking the numerical value difference of same parameters in configuration parameter, the actual disposition is modified using the parameter values required in configuration parameter
The numerical value of same parameters in parameter.
10. a kind of SDN network controller bay construction system, which is characterized in that including:
Data memory module, the requirement configuration parameter sent for storing the change configuration module;
Configuration module is changed, for issuing the requirement configuration parameter of network element to network element and requiring configuration parameter storage to number for described
According to memory module;
Configuration module is corrected, for correcting the actual configuration parameter of the network element;
Southbound interface module for realizing change configuration module and corrects the data interaction between configuration module and network element.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710324030.1A CN108880837A (en) | 2017-05-10 | 2017-05-10 | The method, apparatus and SDN controller architecture of network element configuration parameter are corrected in SDN network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710324030.1A CN108880837A (en) | 2017-05-10 | 2017-05-10 | The method, apparatus and SDN controller architecture of network element configuration parameter are corrected in SDN network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108880837A true CN108880837A (en) | 2018-11-23 |
Family
ID=64287623
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710324030.1A Pending CN108880837A (en) | 2017-05-10 | 2017-05-10 | The method, apparatus and SDN controller architecture of network element configuration parameter are corrected in SDN network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108880837A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110377661A (en) * | 2019-06-27 | 2019-10-25 | 浪潮思科网络科技有限公司 | A kind of method of OpenDaylight automatic synchronization Firewall device data |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080291944A1 (en) * | 2004-02-12 | 2008-11-27 | Liu Chenglong | Method for Real-Time Synchronizing Configuration Data Between Element Management Systems and Network Elements |
CN104767635A (en) * | 2015-01-12 | 2015-07-08 | 武汉烽火网络有限责任公司 | Method for sharing mirror image by multiple devices based on dynamic command line replacement |
CN105959148A (en) * | 2016-06-15 | 2016-09-21 | 上海斐讯数据通信技术有限公司 | Method for network management system to control network equipment |
-
2017
- 2017-05-10 CN CN201710324030.1A patent/CN108880837A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080291944A1 (en) * | 2004-02-12 | 2008-11-27 | Liu Chenglong | Method for Real-Time Synchronizing Configuration Data Between Element Management Systems and Network Elements |
CN104767635A (en) * | 2015-01-12 | 2015-07-08 | 武汉烽火网络有限责任公司 | Method for sharing mirror image by multiple devices based on dynamic command line replacement |
CN105959148A (en) * | 2016-06-15 | 2016-09-21 | 上海斐讯数据通信技术有限公司 | Method for network management system to control network equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110377661A (en) * | 2019-06-27 | 2019-10-25 | 浪潮思科网络科技有限公司 | A kind of method of OpenDaylight automatic synchronization Firewall device data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Canini et al. | A distributed and robust SDN control plane for transactional network updates | |
US8942834B2 (en) | Method and apparatus for communicating transactions between an industrial controller and a programming interface | |
CN109831500B (en) | Synchronization method for configuration file and Pod in Kubernetes cluster | |
US9984140B1 (en) | Lease based leader election system | |
US10326828B2 (en) | Method, apparatus, and system for executing distributed transaction resources | |
US20070299906A1 (en) | Server change management | |
CN106162639B (en) | SDN wireless network management platform and authentication method based on Floodlight | |
US7925761B2 (en) | System and method for implementing a dead man dependency technique for cluster resources | |
US9367298B1 (en) | Batch configuration mode for configuring network devices | |
CN105159783A (en) | System task distribution method | |
US11831746B2 (en) | Time consistency synchronization method for distributed simulation | |
US20220283822A1 (en) | State machine processing method, state processing method, electronic device, and storage medium | |
CN107577780A (en) | A kind of data center's cloud resource synchronous method and device | |
CN106470121A (en) | The upgrade method of virtual switch unit VSU system, device and VSU system | |
US20110125810A1 (en) | Operating a Network Using Relational Database Methodology | |
CN108880837A (en) | The method, apparatus and SDN controller architecture of network element configuration parameter are corrected in SDN network | |
CN117220926A (en) | Firewall policy configuration method and system | |
CN112804087B (en) | Method, device, equipment and storage medium for realizing operation of alliance network | |
CN102540909B (en) | Factory automation system and data synchronization method for same | |
CN103077231B (en) | A kind of method and system of database synchronization | |
CN103118072B (en) | A kind of method and system of database update | |
CN113194124A (en) | Distributed real-time database-based DCS background multi-node inter-node directory synchronization method | |
CN109995848A (en) | A kind of system configuration data management method based on block chain and intelligent contract | |
US20060028985A1 (en) | Topology handler | |
CN116346601A (en) | Method and device for guaranteeing configuration consistency of network element equipment |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200324 Address after: 200040 room 1013, No. 250, JIANGCHANG Third Road, Jing'an District, Shanghai Applicant after: Shanghai layer peak Network Technology Co., Ltd Address before: 310012 506, room 4, 998 West Wen Yi Road, Wuchang Street, Yuhang District, Hangzhou, Zhejiang. Applicant before: HANGZHOU DAHU TECHNOLOGY Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181123 |