CN105591804B - A kind of configuration change processing method and processing device - Google Patents

A kind of configuration change processing method and processing device Download PDF

Info

Publication number
CN105591804B
CN105591804B CN201510607596.6A CN201510607596A CN105591804B CN 105591804 B CN105591804 B CN 105591804B CN 201510607596 A CN201510607596 A CN 201510607596A CN 105591804 B CN105591804 B CN 105591804B
Authority
CN
China
Prior art keywords
configuration
change
sdn controller
reporting message
controller
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.)
Active
Application number
CN201510607596.6A
Other languages
Chinese (zh)
Other versions
CN105591804A (en
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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201510607596.6A priority Critical patent/CN105591804B/en
Publication of CN105591804A publication Critical patent/CN105591804A/en
Application granted granted Critical
Publication of CN105591804B publication Critical patent/CN105591804B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of configuration change processing method and processing device, this method comprises: SDN controller receives the configuration change reporting message that the network equipment is sent, the configuration change reporting message, which is the network equipment, to change monitoring to be locally configured, and determine the change be not triggered by SDN controller when send, include the configuration that changes in the configuration change reporting message;The SDN controller carries out alarming processing according to the configuration change reporting message.Network stabilization can be improved using the embodiment of the present invention.

Description

A kind of configuration change processing method and processing device
Technical field
The present invention relates to network communication technology field more particularly to a kind of configuration change processing method and processing devices.
Background technique
At present in the layout that large-scale data center's interior layout is all using big double layer network, big two layers of technology of mainstream It mainly include SDN (Software Defined Network, software defined network) Overlay technology.SDN Overlay technology Using the network virtualization of VxLAN (Virtual Extensible Local Area Network, virtual expansible local area network) The virtualization technologies such as technology and calculating/storage construct the virtualization of data center network together.SDN controller is (hereinafter referred to as Controller) management platform as SDN Overlay network virtualization, the management deployment window of SDN Overlay network is provided.
When big double layer network needs are communicated with traditional three-layer network, need in SDN Overlay network edge frame If one is supported that the gateway (Gateway, abbreviation GW) of two or three layers of forwarding is communicated with outside, schematic diagram can be such as figure Shown in 1, in which:
VTEP (VxLAN Tunnel End Point, VxLAN tunneling termination) equipment as Layer 2 switch access device, For server to be accessed VxLAN network (i.e. SDN Overlay network);
VxLAN IP (Internet Protocol, Internet protocol) GW equipment (hereinafter referred to as GW equipment) one end connects VxLAN network is connect, one end connects common three-layer network (non-virtualized network).
Between controller (being not shown) and VTEP equipment and GW equipment establish have openflow (opening stream) and Netconf (network configuration) connection, wherein controller is connected to VTEP equipment and GW equipment by the openflow and issues stream Table, and connected by netconf to VTEP equipment and GW equipment and issue configuration.
However practice discovery, when the configuration in equipment (including VTEP equipment and GW equipment) changes, and the change is not It is to be triggered by controller, i.e., by the change of non-controlling device, (the undesigned faulty operation of user has other to the configuration in equipment Issue configuration software such as MIB (Management Information Base, management information bank) etc. and issued configuration) when, so that it may The function problem of controller can be will lead to, the serious flow for also resulting in whole network is obstructed.
Summary of the invention
The present invention provides a kind of configuration change processing method and processing device, to solve in the prior art since control cannot perceive The function problem of controller, even results in the stream of whole network caused by the configuration change for the non-controlling device triggering that equipment occurs Measure obstructed problem.
According to a first aspect of the embodiments of the present invention, a kind of configuration change processing method is provided, comprising:
SDN controller receives the configuration change reporting message that the network equipment is sent, and the configuration change reporting message is institute It states the network equipment and changes monitoring to be locally configured, and determine that described change is not the when transmission triggered by SDN controller , it include the configuration to change in the configuration change reporting message;
The SDN controller carries out alarming processing according to the configuration change reporting message.
According to a second aspect of the embodiments of the present invention, a kind of configuration change processing method is provided, comprising:
When the network equipment, which monitors to be locally configured, to change, judge whether the change is triggered by SDN controller;
If it is not, the network equipment sends configuration change reporting message to the SDN controller, so that the SDN is controlled Device carries out alarming processing according to the configuration change reporting message;It wherein, include changing in the configuration change reporting message The configuration of change.
According to a third aspect of the embodiments of the present invention, a kind of configuration change processing unit is provided, SDN controller is applied to, Include:
Receiving unit, for receiving the configuration change reporting message of network equipment transmission, the configuration change reporting message Being the network equipment changes monitoring to be locally configured, and determine the change be not triggered by SDN controller when It sends, includes the configuration to change in the configuration change reporting message;
Processing unit, for carrying out alarming processing according to the configuration change reporting message.
According to a fourth aspect of the embodiments of the present invention, a kind of configuration change processing unit is provided, the network equipment, packet are applied to It includes:
Judging unit, for when described device is monitored to be locally configured and be changed, judging the change whether by SDN Controller triggering;
Transmission unit, for sending configuration to the SDN controller and changing when the judging result of the judging unit is no Become reporting message, so that the SDN controller carries out alarming processing according to the configuration change reporting message;Wherein, described to match Set the configuration changed in reporting message including changing.
Using the embodiment of the present invention, non-SDN controller occurs due to being locally configured when SDN controller receives the network equipment The change of triggering and when the configuration change reporting message sent, alarming processing is carried out according to the configuration change reporting message, is avoided Since the configuration change of non-SDN controller triggering occurs for the network equipment, and SDN controller does not perceive, caused SDN controller The flow of the problem of function or network is obstructed, improves the stability of network.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram of a scenario that big double layer network is communicated with three-layer network in the prior art;
Fig. 2 is one of the flow diagram of configuration change processing method provided in an embodiment of the present invention;
Fig. 3 is the two of the flow diagram of configuration change processing method provided in an embodiment of the present invention;
Fig. 4 is the three of the flow diagram of configuration change processing method provided in an embodiment of the present invention;
Fig. 5 is a kind of one of the structural schematic diagram of configuration change processing unit provided in an embodiment of the present invention;
Fig. 6 is a kind of second structural representation of configuration change processing unit provided in an embodiment of the present invention;
Fig. 7 is a kind of third structural representation of configuration change processing unit provided in an embodiment of the present invention;
Fig. 8 is a kind of hardware structure diagram of equipment where configuration change processing unit provided in an embodiment of the present invention;
Fig. 9 is one of the structural schematic diagram of another configuration change processing unit provided in an embodiment of the present invention;
Figure 10 is the second structural representation of another configuration change processing unit provided in an embodiment of the present invention;
Figure 11 is the third structural representation of another configuration change processing unit provided in an embodiment of the present invention;
Figure 12 is another hardware structure diagram of equipment where configuration change processing unit provided in an embodiment of the present invention.
Specific embodiment
Technical solution in embodiment in order to enable those skilled in the art to better understand the present invention, and make of the invention real The above objects, features, and advantages for applying example can be more obvious and easy to understand, with reference to the accompanying drawing to technical side in the embodiment of the present invention Case is described in further detail.
It referring to fig. 2, is a kind of configuration change processing method provided in an embodiment of the present invention, as shown in Fig. 2, this method can be with Include:
Step 201, SDN controller receive the configuration change reporting message that the network equipment is sent, which, which reports, disappears Breath, which is the network equipment, to change monitoring to be locally configured, and determine change be not triggered by SDN controller when send, It include the configuration to change in the configuration change reporting message.
In the embodiment of the present invention, the executing subject of method flow described in Fig. 2 can control for SDN controller or SDN Processing unit in device, such as CPU (Center Process Unit, central processing unit), for ease of description, following this method Executing subject be SDN controller (abbreviation controller) for be illustrated.
In the embodiment of the present invention, the network equipment (referred to as equipment) can include but is not limited to VTEP equipment or GW equipment Deng.
In the embodiment of the present invention, it is contemplated that occur not being the change triggered by controller when the configuration in equipment, and control When device does not perceive the configuration change, the function problem of controller may result in, the flow for even resulting in whole network is obstructed, It therefore, can be with the configuration monitoring capability of enabled device, to cause the device to be monitored to being locally configured, and when monitoring local match When setting and change, and determining that the configuration is not by controller triggering, configuration change reporting message is sent to controller, so that The change that the triggering of non-controlling device has occurred is locally configured in control awareness apparatus.
In the embodiment of the present invention, the configuration monitoring capability of above-mentioned enabled device can be realized by way of static state setting, A kind of inherent function that monitoring capability is set as equipment will be configured;It can also be realized by way of dynamic setting.
As an implementation, in embodiments of the present invention, when the configuration monitoring capability of enabled device is to pass through dynamic When the mode of setting is realized, in above-mentioned steps 201, before the configuration change reporting message that receiving device is sent, can also include:
The enabled instruction of configuration monitoring is sent to equipment, so that the equipment monitors enabled instruction to being locally configured according to the configuration It is monitored.
In this embodiment, after establishing openflow and netconf connection between controller and equipment, controller It can be connected by the netconf to equipment and send the enabled instruction of configuration monitoring, to enable the configuration monitoring capability of equipment.Equipment After the enabled instruction of configuration monitoring for receiving controller transmission, can be monitored according to the configuration enabled instruction to be locally configured into Row monitoring.For example, equipment can start a process to configuration take-effective database (configuration take-effective database of equipment on backstage Middle record has the executed configuration of equipment) it is monitored in real time.
Further, in one embodiment, controller can issue a registration to equipment by netconf connection Instruction, netconf interface corresponding to this process registers newly started above equipment.Equipment receive the register instruction it Afterwards, the process registers netconf interface that above-mentioned backstage can be started, and by the IP (Internet of the netconf Protocol, Internet protocol) address notify be to controller, such as the IP address of notification controller netconf interface 192.168.212.1。
Correspondingly, it after the enabled configuration monitoring capability of equipment, can be monitored to being locally configured, when monitoring local match It sets when changing, equipment can match the configuration that this changes with controller by what the netconf interface registered issued It sets and is compared, judge whether the configuration to change is that controller triggers, that is, judge whether to be issued according to controller Configuration changed to being locally configured.When equipment determines that the configuration that changes is controller triggering, equipment can be with The configuration is not handled;When equipment determines that the configuration to change is not controller triggering, equipment can pass through note The netconf interface of volume sends configuration change reporting message to controller, is locally configured and is had occurred with the notification controller equipment The change of non-controlling device triggering.
Step 202, SDN controller carry out alarming processing according to the configuration change reporting message.
It, can be according to this after controller receives the configuration change reporting message of equipment transmission in the embodiment of the present invention Configuration change reporting message knows that the change that the triggering of non-controlling device has occurred is locally configured in the equipment, and therefore, controller can be into Row alarming processing, with the generation for notifying user configuration to change.
As an implementation, in embodiments of the present invention, alarming processing is carried out according to configuration change reporting message, it can With specifically includes the following steps:
11) configuration to change for including in configuration change reporting message, is obtained;
12), according to the grade of preset configuration, the grade of the configuration to change is determined;
13), according to the grade of the configuration to change, the grade and alarming processing strategy of pre-stored configuration are inquired Corresponding relationship, to determine the corresponding alarming processing strategy of grade of the configuration to change;
14) alarming processing, is carried out according to the corresponding alarming processing strategy of grade of the configuration to change.
In this embodiment, the grade and the configuration of each grade that can preset configuration are corresponding when changing Alarming processing strategy, that is, the corresponding relationship of the grade configured and alarming processing strategy.When controller receives matching for equipment transmission It sets after changing reporting message, the configuration to change for including in the available configuration change reporting message, and determining should The grade of the configuration to change, and then carried out at alarm according to the corresponding alarming processing strategy of the grade of the configuration to change Reason.
For example, configuration can be divided into three grades in advance: the first order is configured to matching for influence SDN network flow It sets, that is, may result in SDN network not available configuration when changing, may include the relevant configuration of VxLAN, tunnel VLAN in relevant configuration and VTEP equipment on (tunnel) mouth on VM (Virtual Machine, virtual machine) access port (Virtual Local Area Network, virtual LAN) information configuration etc.;The second level is configured to influence SDN network prison The configuration for controlling function, i.e., do not influence the normal operation of SDN network, but will affect the monitoring and maintenance of SDN network, can wrap Include QoS (Quality of Service, the service quality) configuration on physical interface, LLDP (Link Layer in equipment Discovery Protocol, Link Layer Discovery Protocol) information configuration etc.;The flow of the third level being configured to SDN network Do not have influential configuration with monitoring function, may include in SDN network not using interface on configuration, Routing Protocol phase Close configuration etc..
Accordingly for the configuration of the first order, when the configuration change of non-controlling device triggering occurs, at corresponding alarm Managing strategy can be transmission Critical (crucial) warning information;Configuration for the second level is triggered when non-controlling device occurs Configuration change when, corresponding alarming processing strategy can for send Serious (serious) warning information;For the third level Configuration, when the configuration change of non-controlling device triggering occurs, corresponding alarming processing strategy can be (logical to send Info Know) warning information.
It should be appreciated that non-controlling device occurs for the Provisioning Policy of the above-mentioned grade to configuration and different grades of configuration Corresponding alarming processing strategy is only a kind of specific example of technical solution provided in an embodiment of the present invention when triggering, rather than Limiting the scope of the present invention, on the basis of the embodiment of the present invention, those skilled in the art are not paying creative labor To the Provisioning Policy of the grade of configuration, or/and the modification to alarming processing strategy under the premise of dynamic, protection of the present invention should belong to Range.
Further, as an implementation, in embodiments of the present invention, accused according to configuration change reporting message After alert processing, can also include:
Respective handling is carried out to the configuration to change according to preset processing strategie.
In this embodiment, corresponding processing plan when the configuration change that the triggering of non-controlling device occurs can be preset It slightly, can be according to the preset processing strategie to generation when controller receives the configuration change reporting message of equipment transmission The configuration of change carries out respective handling.
In this embodiment, preset processing strategie can include but is not limited to: the configuration to change is reverted to The configuration that controller issues, or, retaining the configuration etc. to change.
As an implementation, in embodiments of the present invention, when the configuration change of non-controlling device triggering occurs for setting When corresponding processing strategie, it can also be configured according to the grade of the configuration to change.
For example, by taking configuration is divided into above three grade as an example, configuration for the first order and the second level, when it When the change of non-controlling device triggering occurs, corresponding default processing strategie can be that the configuration to change is reverted to control The configuration that device issues;Configuration for the third level, when the change of non-controlling device triggering occurs in it, corresponding default processing plan The configuration that can slightly change for reservation.
Correspondingly, controller receives the configuration change reporting message of equipment transmission, and according to the configuration to change After grade carries out corresponding alarming processing, corresponding processing strategie can also be determined according to the grade of the configuration to change, And reason strategy carries out respective handling according to this.
Wherein, when the processing strategie that controller determines is the configuration that the configuration that will be changed reverts to that controller issues When, controller can send configuration to equipment and restore instruction, match so that equipment restores instruction according to the configuration by what is changed It sets and reverts to the configuration that controller issues;Wherein, which restores the configuration that can include but is not limited to need to restore in instruction Mark and the configuration that issues of corresponding controller.
As it can be seen that, by the configuration monitoring capability of enabled device, making equipment in local in the method flow described in Fig. 2 Configuration occurs to send configuration change reporting message when the change of non-controlling device triggering;When receive configuration change reporting message it Afterwards, alarming processing can be carried out according to configuration change reporting message, avoided since the configuration of non-controlling device triggering occurs for equipment Change, the flow of the problem of and controller does not perceive, caused controller function or network is obstructed, improves the steady of network It is qualitative.
It is a kind of configuration change processing method provided in an embodiment of the present invention referring to Fig. 3, as shown in figure 3, this method can be with Include:
Step 301, when the network equipment is monitored to be locally configured and be changed, judge the change whether by SDN controller Triggering.If so, terminating current process;Otherwise, step 302 is gone to.
In the embodiment of the present invention, the executing subject of method flow described in Fig. 3 can include but is not limited to VTEP equipment, The processing unit of GW equipment or VTEP equipment or GW equipment, such as CPU, for ease of description, following executing subject in this way To be illustrated for the network equipment (referred to as equipment).
In the embodiment of the present invention, it is contemplated that occur not being the change triggered by controller when the configuration in equipment, and control When device does not perceive the configuration change, the function problem of controller may result in, the flow for even resulting in whole network is obstructed, It therefore, can be with the configuration monitoring capability of enabled device, to cause the device to be monitored to being locally configured, and when monitoring local match When setting and change, and determining that the configuration is not by controller triggering, configuration change reporting message is sent to controller, so that The change that the triggering of non-controlling device has occurred is locally configured in control awareness apparatus.
In the embodiment of the present invention, the configuration monitoring capability of above-mentioned enabled device can be realized by way of static state setting, A kind of inherent function that monitoring capability is set as equipment will be configured;It can also be realized by way of dynamic setting.
As an implementation, in embodiments of the present invention, when the configuration monitoring capability of enabled device is to pass through dynamic It when the mode of setting is realized, in above-mentioned steps 301, changes when the network equipment monitors to be locally configured, judges that the change is It is no by SDN controller triggering before, can with the following steps are included:
21) the enabled instruction of configuration monitoring that controller is sent, is received;
22), enabled instruction is monitored according to the configuration to be monitored to being locally configured.
In this embodiment, after establishing openflow and netconf connection between controller and equipment, controller It can be connected by the netconf to equipment and send the enabled instruction of configuration monitoring, to enable the configuration monitoring capability of equipment.Equipment After the enabled instruction of configuration monitoring for receiving controller transmission, can be monitored according to the configuration enabled instruction to be locally configured into Row monitoring.For example, equipment can start a process to configuration take-effective database (configuration take-effective database of equipment on backstage Middle record has the executed configuration of equipment) it is monitored in real time.
Further, in one embodiment, controller can issue a registration to equipment by netconf connection Instruction, netconf interface corresponding to this process registers newly started above equipment.Equipment receive the register instruction it Afterwards, the process registers netconf interface that above-mentioned backstage can be started, and by the IP (Internet of the netconf Protocol, Internet protocol) address notify be to controller, such as the IP address of notification controller netconf interface 192.168.212.1。
Correspondingly, it after the enabled configuration monitoring capability of equipment, can be monitored to being locally configured, when monitoring local match It sets when changing, equipment can match the configuration that this changes with controller by what the netconf interface registered issued It sets and is compared, judge whether the configuration to change is that controller triggers, that is, judge whether to be issued according to controller Configuration changed to being locally configured.
Step 302, the network equipment send configuration change reporting message to SDN controller, so that SDN controller is matched according to this It sets and changes reporting message progress alarming processing;It wherein, include the configuration occurred in the configuration change reporting message.
In the embodiment of the present invention, when equipment determines that the configuration to change is controller triggering, equipment can not be right The configuration is handled.
When equipment determines that the configuration to change is not controller triggering, equipment can pass through the netconf of registration Interface sends configuration change reporting message to controller, is locally configured with the notification controller equipment and the triggering of non-controlling device has occurred Change.
It, can be according to the configuration change reporting message after controller receives the configuration change reporting message of equipment transmission Know that the change that the triggering of non-controlling device has occurred is locally configured in the equipment, therefore, controller can carry out alarming processing, with notice The generation that user configuration changes.
Wherein, controller may refer to above-mentioned steps according to the specific implementation that configuration change reporting message carries out alarming processing Associated description in 202, details are not described herein for the embodiment of the present invention.
Further, in embodiments of the present invention, when can also preset the configuration change that the triggering of non-controlling device occurs Corresponding processing strategie can be according to the preset place when controller receives the configuration change reporting message of equipment transmission Reason strategy carries out respective handling to the configuration to change.
In the embodiment of the present invention, preset processing strategie be can include but is not limited to: the configuration to change is reverted to The configuration that controller issues, or, retaining the configuration etc. to change.
Wherein, the specific implementation of corresponding processing strategie may refer to when the configuration change of non-controlling device triggering occurs for setting Associated description in above-mentioned steps 202, details are not described herein for the embodiment of the present invention.
As an implementation, in embodiments of the present invention, configuration change reporting message is sent to controller, so that control After device processed carries out alarming processing according to configuration change reporting message, can also include:
31) it, receives the configuration that controller is sent and restores instruction;
32) instruction, is restored according to configuration, the configuration to change is reverted into the configuration that controller issues.
In this embodiment, when the processing strategie that controller determines is to revert to the configuration to change under controller When the configuration of hair, controller can send configuration to equipment and restore instruction, so that equipment, which will restore instruction according to the configuration, to be occurred The configuration of change reverts to the configuration that controller issues;Wherein, which restores to can include but is not limited to need in instruction extensive The configuration that the mark of multiple configuration and corresponding controller issue.
As it can be seen that, by the configuration monitoring capability of enabled device, monitoring equipment in the method flow described in Fig. 3 The configuration for changing, and changing to being locally configured is not to send configuration change to controller when being triggered by controller Reporting message avoids so that controller carries out alarming processing according to the configuration change reporting message since non-control occurs for equipment The flow of the problem of configuration change of device processed triggering, and controller does not perceive, caused controller function or network is obstructed, Improve the stability of network.
It referring to fig. 4, is a kind of configuration change processing method provided in an embodiment of the present invention, as shown in figure 4, this method can be with Include:
Step 401, SDN controller send the enabled instruction of configuration monitoring to the network equipment.
Step 402, the network equipment receive the enabled instruction of configuration monitoring, and monitor enabled instruction to local according to the configuration Configuration is monitored.
In the embodiment of the present invention, after establishing openflow and netconf connection between controller and equipment, controller It can be connected by the netconf to equipment and send the enabled instruction of configuration monitoring, to enable the configuration monitoring capability of equipment.Equipment After the enabled instruction of configuration monitoring for receiving controller transmission, can be monitored according to the configuration enabled instruction to be locally configured into Row monitoring.For example, equipment can start a process to configuration take-effective database (configuration take-effective database of equipment on backstage Middle record has the executed configuration of equipment) it is monitored in real time.
Further, in one embodiment, controller can issue a registration to equipment by netconf connection Instruction, netconf interface corresponding to this process registers newly started above equipment.Equipment receive the register instruction it Afterwards, the process registers netconf interface that above-mentioned backstage can be started, and by the IP (Internet of the netconf Protocol, Internet protocol) address notify be to controller, such as the IP address of notification controller netconf interface 192.168.212.1。
Correspondingly, it after the enabled configuration monitoring capability of equipment, can be monitored to being locally configured.
Step 403, when the network equipment is monitored to be locally configured and be changed, judge the change whether by SDN controller Triggering.If so, terminating current process;Otherwise, step 404 is gone to.
In the embodiment of the present invention, when equipment monitoring to be locally configured change when, what equipment can change this It configures and is compared with controller by the configuration that the netconf interface registered issues, whether judge the configuration to change It is that controller triggers, that is, judges whether to be the configuration that is issued according to controller to be changed to being locally configured.
In the embodiment of the present invention, when equipment determines that the configuration to change is controller triggering, equipment can not be right The configuration is handled.
Step 404, the network equipment send configuration change reporting message to SDN controller, in the configuration change reporting message Including the configuration to change.
In the embodiment of the present invention, when equipment determines that the configuration to change is not controller triggering, equipment can lead to The netconf interface for crossing registration sends configuration change reporting message to controller, and with notification controller, hair is locally configured in the equipment The change of non-controlling device triggering is given birth to.
Step 405, SDN controller carry out alarming processing according to configuration change reporting message.
It, can be according to this after controller receives the configuration change reporting message of equipment transmission in the embodiment of the present invention Configuration change reporting message knows that the change that the triggering of non-controlling device has occurred is locally configured in the equipment, and therefore, controller can be into Row alarming processing, with the generation for notifying user configuration to change.
Wherein, controller may refer to above-mentioned steps according to the specific implementation that configuration change reporting message carries out alarming processing Associated description in 202, details are not described herein for the embodiment of the present invention.
Step 406, SDN controller carry out respective handling to the configuration to change according to preset processing strategie.
In the embodiment of the present invention, corresponding processing plan when the configuration change that the triggering of non-controlling device occurs can be preset It slightly, can be according to the preset processing strategie to generation when controller receives the configuration change reporting message of equipment transmission The configuration of change carries out respective handling.
Wherein, controller can join according to the specific implementation that preset processing strategie handles the configuration to change See the associated description in above-mentioned steps 202, details are not described herein for the embodiment of the present invention.
Through above description as can be seen that in technical solution provided in an embodiment of the present invention, pass through matching for enabled device Monitoring capability is set, makes equipment monitoring to transmission configuration change reporting message when the change that the triggering of non-controlling device occurs is locally configured; When receiving configuration change reporting message, alarming processing is carried out according to the configuration change reporting message, is avoided due to equipment The configuration change of non-controlling device triggering occurs, the stream of the problem of and controller does not perceive, caused controller function or network It measures obstructed, improves the stability of network.
Fig. 5 is referred to, is a kind of one of structural schematic diagram of configuration change processing unit provided in an embodiment of the present invention, In, which can be applied in the SDN controller in above method embodiment, as shown in figure 5, the device May include:
Receiving unit 510, for receiving the configuration change reporting message of network equipment transmission, the configuration change, which reports, to disappear Breath, which is the network equipment, to change monitoring to be locally configured, and determines that described change is triggered by SDN controller When send, include the configuration to change in the configuration change reporting message;
Processing unit 520, for carrying out alarming processing according to the configuration change reporting message.
Fig. 6 is referred to, is a kind of second structural representation of configuration change processing unit provided in an embodiment of the present invention, it should For embodiment on the basis of aforementioned embodiment illustrated in fig. 5, processing unit 520 may include: acquisition subelement in described device 521, subelement 522 and processing subelement 523 are determined;Wherein:
Obtain subelement 521, for obtain include in the configuration change reporting message described in the configuration that changes;
Determine subelement 522, for the grade according to preset configuration, determine described in change configuration etc. Grade;
The determining subelement 522, the ranked queries for the configuration for being also used to change according to are pre-stored to match Set the grade of message and the corresponding relationship of alarming processing strategy, the corresponding alarm of the grade of the configuration to change described in determination Processing strategie;
Subelement 523 is handled, the grade of the configuration for changing according to carries out alarming processing.
In one embodiment, the processing unit 520 can be also used for being carried out at alarm according to configuration change reporting message After reason, respective handling is carried out to the configuration to change according to preset processing strategie.
In one embodiment, the preset processing strategie includes: that the configuration to change is reverted to controller The configuration issued, or, the configuration to change described in retaining.
Fig. 7 is referred to, is a kind of third structural representation of configuration change processing unit provided in an embodiment of the present invention, it should For embodiment on the basis of earlier figures 5 or 6 illustrated embodiment, described device can also include (in aforementioned embodiment illustrated in fig. 5 On the basis of optimize for): transmission unit 530;Wherein:
Transmission unit 530, for sending the enabled instruction of configuration monitoring to the network equipment, so that the network equipment is according to institute It states the enabled instruction of configuration monitoring and is monitored to being locally configured.
Fig. 8 is referred to, for a kind of hardware configuration of equipment where configuration change processing unit provided in an embodiment of the present invention Figure, including processor 810 and nonvolatile memory 820, processor 810 are connected with nonvolatile memory 820 by bus. Wherein, processor 810 is used to execute the machine readable instructions module of the storage of nonvolatile memory 820.Nonvolatile memory 820 are stored with the executable machine readable instructions module of processor 810.When the instruction being stored in nonvolatile memory 820 , it can be achieved that the function of aforementioned receiving unit 510, processing unit 520 and transmission unit 530 when module is executed by processor 810.
Fig. 9 is referred to, is one of the structural schematic diagram of another configuration change processing unit provided in an embodiment of the present invention, Wherein, which can be applied in the network equipment in above method embodiment, which can be with Including but not limited to VTEP equipment or GW equipment, as shown in figure 9, the apparatus may include:
Judging unit 910, for when described device is monitored to be locally configured and be changed, judge it is described change whether by The triggering of SDN controller;
Transmission unit 920, for matching to SDN controller transmission when the judging result of the judging unit is no Change reporting message is set, so that the SDN controller carries out alarming processing according to the configuration change reporting message;Wherein, institute Stating includes the configuration to change in configuration change reporting message.
Referring to Figure 10, for another configuration change processing unit provided in an embodiment of the present invention structural schematic diagram it Two, for the embodiment on the basis of aforementioned embodiment illustrated in fig. 9, described device can also include: the first receiving unit 930 and prison Survey unit 940;Wherein:
First receiving unit 930, for receiving the enabled instruction of configuration monitoring of SDN controller transmission;
Monitoring unit 940 is monitored for monitoring enabled instruction according to the configuration to being locally configured.
Referring to Figure 11, for another configuration change processing unit provided in an embodiment of the present invention structural schematic diagram it Three, for the embodiment on the basis of earlier figures 9 or 10 illustrated embodiment, described device can also include (wherein, in earlier figures For being optimized on the basis of 9 illustrated embodiments): the second receiving unit 950 and processing unit 960;Wherein:
Second receiving unit 950 restores instruction for receiving the configuration that the SDN controller is sent;
Processing unit 960, the configuration for will be changed according to the configuration recovery instruction revert to controller and issue Configuration.
Referring to Figure 12, for another hardware knot of equipment where configuration change processing unit provided in an embodiment of the present invention Composition, including processor 1210 and nonvolatile memory 1220, processor 1210 and nonvolatile memory 1220 pass through total Line is connected.Wherein, processor 1210 is used to execute the machine readable instructions module of the storage of nonvolatile memory 1220.It is non-volatile Property memory 1220 be stored with the executable machine readable instructions module of processor 1210.When being stored in nonvolatile memory , it can be achieved that aforementioned judging unit 910, transmission unit 920, first receive when instruction module in 1220 is executed by processor 810 The function of unit 930, monitoring unit 940, the second receiving unit 950 and processing unit 960.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize the present invention program.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
As seen from the above-described embodiment, by the configuration monitoring capability of enabled device, occur that equipment monitoring to being locally configured Configuration change reporting message is sent when the change of non-controlling device triggering;When receiving configuration change reporting message, matched according to this It sets and changes reporting message and carry out alarming processing, avoid since the configuration change of non-controlling device triggering, and controller occur for equipment It does not perceive, the problem of caused controller function or the flow of network is obstructed, improves the stability of network.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (16)

1. a kind of configuration change processing method characterized by comprising
Software defined network SDN controller receives the configuration change reporting message that the network equipment is sent, and the configuration change reports Message, which is the network equipment, to change monitoring to be locally configured, and determines that described change is triggered by SDN controller When send, include the configuration to change in the configuration change reporting message;
The SDN controller carries out alarming processing according to the configuration change reporting message.
2. the method according to claim 1, wherein the SDN controller reports according to the configuration change and disappears Breath carries out alarming processing, comprising:
The SDN controller obtains the configuration to change for including in the configuration change reporting message;
The SDN controller according to the grade of preset configuration, determine described in the grade of configuration that changes;
The grade and announcement of the pre-stored configuration message of the ranked queries for the configuration that the SDN controller changes according to The corresponding relationship of alert processing strategie, the corresponding alarming processing strategy of the grade of the configuration to change described in determination;
The corresponding alarming processing strategy of the grade for the configuration that the SDN controller changes according to carries out alarming processing.
3. the method according to claim 1, wherein the SDN controller according to configuration change reporting message into After row alarming processing, further includes:
The SDN controller carries out respective handling to the configuration to change according to preset processing strategie.
4. according to the method described in claim 3, it is characterized in that, the preset processing strategie includes: to change described The configuration of change reverts to the configuration that controller issues, or, the configuration to change described in retaining.
5. method according to claim 1-4, which is characterized in that the SDN controller receives network equipment hair Before the configuration change reporting message sent, further includes:
The SDN controller sends the enabled instruction of configuration monitoring to the network equipment, so that the network equipment is according to the configuration The enabled instruction of monitoring is monitored to being locally configured.
6. a kind of configuration change processing method characterized by comprising
When the network equipment, which monitors to be locally configured, to change, judge whether the change is controlled by software defined network SDN Device triggering;
If it is not, the network equipment sends configuration change reporting message to the SDN controller, so that the SDN controller root Alarming processing is carried out according to the configuration change reporting message;It wherein, include changing in the configuration change reporting message Configuration.
7. according to the method described in claim 6, it is characterized in that, described change when the network equipment monitors to be locally configured Become, before judging the change whether by the triggering of SDN controller, further includes:
The network equipment receives the enabled instruction of configuration monitoring that SDN controller is sent;
The network equipment monitors enabled instruction according to the configuration and is monitored to being locally configured.
8. method according to claim 6 or 7, which is characterized in that the network equipment is matched to SDN controller transmission Change reporting message is set, so as to also wrap after the SDN controller carries out alarming processing according to the configuration change reporting message It includes:
The network equipment receives the configuration that the SDN controller is sent and restores instruction;
The network equipment restores the configuration that instruction will change according to the configuration and reverts to the configuration that controller issues.
9. a kind of configuration change processing unit is applied to software defined network SDN controller characterized by comprising
Receiving unit, for receiving the configuration change reporting message of network equipment transmission, the configuration change reporting message is institute It states the network equipment and changes monitoring to be locally configured, and determine that described change is not the when transmission triggered by SDN controller , it include the configuration to change in the configuration change reporting message;
Processing unit, for carrying out alarming processing according to the configuration change reporting message.
10. device according to claim 9, which is characterized in that the processing unit includes:
Obtain subelement, for obtain include in the configuration change reporting message described in the configuration that changes;
Determine subelement, for the grade according to preset configuration, the grade of the configuration to change described in determination;
The determining subelement, the pre-stored configuration message of the ranked queries for the configuration for being also used to change according to The corresponding relationship of grade and alarming processing strategy, the corresponding alarming processing plan of the grade of the configuration to change described in determination Slightly;
Subelement is handled, the corresponding alarming processing strategy of the grade of the configuration for changing according to carries out at alarm Reason.
11. device according to claim 9, which is characterized in that
The processing unit, after being also used to carry out alarming processing according to configuration change reporting message, according to preset processing plan Respective handling slightly is carried out to the configuration to change.
12. device according to claim 11, which is characterized in that the preset processing strategie includes: by the generation The configuration of change reverts to the configuration that controller issues, or, the configuration to change described in retaining.
13. according to the described in any item devices of claim 9-12, which is characterized in that described device further include:
Transmission unit, for setting the enabled instruction of monitoring to setting the delivery of network preparation, so that the network equipment is according to the configuration The enabled instruction of monitoring is monitored to being locally configured.
14. a kind of configuration change processing unit is applied to the network equipment characterized by comprising
Judging unit, for when described device is monitored to be locally configured and be changed, judging whether the change is determined by software Adopted network SDN controller triggering;
Transmission unit, for being sent on configuration change to the SDN controller when the judging result of the judging unit is no Message is reported, so that the SDN controller carries out alarming processing according to the configuration change reporting message;Wherein, the configuration changes Becoming includes the configuration to change in reporting message.
15. device according to claim 14, which is characterized in that described device further include:
First receiving unit, for receiving the enabled instruction of configuration monitoring of SDN controller transmission;
Monitoring unit is monitored for monitoring enabled instruction according to the configuration to being locally configured.
16. device according to claim 14 or 15, which is characterized in that described device further include:
Second receiving unit restores instruction for receiving the configuration that the SDN controller is sent;
Processing unit reverts to the configuration that controller issues for restoring the configuration that instruction will change according to the configuration.
CN201510607596.6A 2015-09-22 2015-09-22 A kind of configuration change processing method and processing device Active CN105591804B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510607596.6A CN105591804B (en) 2015-09-22 2015-09-22 A kind of configuration change processing method and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510607596.6A CN105591804B (en) 2015-09-22 2015-09-22 A kind of configuration change processing method and processing device

Publications (2)

Publication Number Publication Date
CN105591804A CN105591804A (en) 2016-05-18
CN105591804B true CN105591804B (en) 2019-02-19

Family

ID=55931063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510607596.6A Active CN105591804B (en) 2015-09-22 2015-09-22 A kind of configuration change processing method and processing device

Country Status (1)

Country Link
CN (1) CN105591804B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106972973B (en) * 2017-04-14 2020-04-21 新华三技术有限公司 Control method, controller and switch
CN108259213B (en) 2017-05-26 2020-05-12 新华三技术有限公司 NETCONF session state detection method and device
CN107360043A (en) * 2017-08-25 2017-11-17 中国联合网络通信集团有限公司 A kind of method and device that forwarding unit configuration information is changed in SDN

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202322A (en) * 2014-09-04 2014-12-10 国家电网公司 OpenFlow exchanger message security monitor and control method based on OpenFlow protocol

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9621969B2 (en) * 2013-11-11 2017-04-11 Infinera Corporation Management and control of software defined networking enabled open transport networks
US9413634B2 (en) * 2014-01-10 2016-08-09 Juniper Networks, Inc. Dynamic end-to-end network path setup across multiple network layers with network service chaining

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202322A (en) * 2014-09-04 2014-12-10 国家电网公司 OpenFlow exchanger message security monitor and control method based on OpenFlow protocol

Also Published As

Publication number Publication date
CN105591804A (en) 2016-05-18

Similar Documents

Publication Publication Date Title
US11677622B2 (en) Modifying resource allocation or policy responsive to control information from a virtual network function
EP3353955B1 (en) Non-intrusive method for testing and profiling network service functions
US10164873B1 (en) All-or-none switchover to address split-brain problems in multi-chassis link aggregation groups
US10454806B2 (en) SDN controller, data center system, and routing connection method
US10542577B2 (en) Connectivity checks in virtualized computing environments
US11636229B2 (en) Scalable application level monitoring for SDN networks
US9064216B2 (en) Identifying likely faulty components in a distributed system
US9722917B2 (en) Traffic recovery in openflow networks
US9100298B2 (en) Host visibility as a network service
US8289839B2 (en) Scaling BFD sessions for neighbors using physical / sub-interface relationships
US9692637B2 (en) Fault protection method and fault protection apparatus in a multi-domain network
WO2017089933A1 (en) A method and apparatus for autonomously relaying statistics to a network controller in a software-defined networking network
EP3573292A1 (en) Forwarding detection of an aggregated interface
CN107306215B (en) Data processing method, system and node
WO2015184739A1 (en) Fault detection method and device
US9866436B2 (en) Smart migration of monitoring constructs and data
US10237124B2 (en) Network operation, administration, and maintenance (OAM) method, apparatus, and system
WO2014202026A1 (en) Method and system for virtual network mapping protection and computer storage medium
US10862735B2 (en) Method and apparatus for implementing operation, administration, and maintenance function
EP3629535B1 (en) Method, device, and system for implementing mux machine
WO2015026809A1 (en) Network management layer - configuration management
CN105591804B (en) A kind of configuration change processing method and processing device
CN109981450B (en) Path communication maintenance method, device and system
WO2022078338A1 (en) Path determination method and apparatus, and computer storage medium
CN107707429A (en) The method and system that a kind of discovery IP routes are interrupted

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant