CN103516628A - Method, device and system of updating network strategy - Google Patents

Method, device and system of updating network strategy Download PDF

Info

Publication number
CN103516628A
CN103516628A CN201210209744.5A CN201210209744A CN103516628A CN 103516628 A CN103516628 A CN 103516628A CN 201210209744 A CN201210209744 A CN 201210209744A CN 103516628 A CN103516628 A CN 103516628A
Authority
CN
China
Prior art keywords
network strategy
version
renewal
vsi type
vsi
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.)
Granted
Application number
CN201210209744.5A
Other languages
Chinese (zh)
Other versions
CN103516628B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210209744.5A priority Critical patent/CN103516628B/en
Publication of CN103516628A publication Critical patent/CN103516628A/en
Application granted granted Critical
Publication of CN103516628B publication Critical patent/CN103516628B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention relates to a method, device and system of updating network strategies. The method comprises the steps of obtaining updated version information of network strategies of a VSI Type, the updated version information including updated versions of the network strategies of the VSI Type; sending the updated version information of the network strategies of the VSI Type to a virtual switch; and conducting network strategies, corresponding to the updated versions, of the VSI Type, and indicating that the virtual switch carries out configuration of the network strategies, corresponding to the updated versions, of the VSI Type. Through the method, device and system of the embodiment of the invention, the utilization rate of network resources can be effectively increased.

Description

A kind of method, Apparatus and system of realizing network strategy renewal
Technical field
The present invention relates to the communications field, relate in particular to a kind of method, Apparatus and system that network strategy is upgraded of realizing.
Background technology
Along with making rapid progress of network Development, the utilance that improves Internet resources more and more becomes part and parcel in network technology.In order to improve the utilance of Internet resources, industry has proposed server virtualization technology at present.Server virtualization can be abstracted into logical resource by server physical resource, allow a station server become several even up to a hundred virtual servers of mutually isolating, or allowing several station servers become a station server uses, allow the hardware such as processor, internal memory, disk become can dynamic management " resource pool ", make server no longer be subject to restriction physically, thereby realize Server Consolidation, improve the utilance of resource, simplify system management.
Yet, above-mentioned server virtualization also can bring a lot of problems: at the net environment of current server virtualization, conventionally by manually creating a virtual switch (English: vSwitch) upper direct connecting virtual machine (English: Virtual Machine for certain network scenarios, be called for short: (the English: Virtual Station Interface of fictitious host computer interface VM), be called for short: VSI), and configure corresponding network strategy for VM corresponding to this VSI, be virtual machine host policing type (English: VSI Type) corresponding network strategy, this network strategy comprises VLAN (English: Virtual Local Area Network, be called for short: VLAN), service quality (English: Quality of Service, be called for short: QoS), limit bandwidth etc., and the corresponding network strategy of described VSI Type is stored in policy database, by manual type, created the virtual machine of this VSI Type of a collection of use and come into operation again.But, when revised the corresponding network strategy of described VSI Type based on some reason after, described vSwitch and the edge switch being connected by virtual link with this vSwitch but cannot be known the modification of the corresponding network strategy of described VSI Type, this just causes cannot on network, implementing for the new network strategy of VM, make described server virtualization network underaction in utilization process, and then greatly affected the utilance of Internet resources.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method, Apparatus and system that network strategy is upgraded of realizing, and can make virtual switch and edge switch know the network strategy of upgrading for VM, and then has effectively improved the utilance of Internet resources.
The technical scheme that the embodiment of the present invention provides is as follows:
First aspect present invention realize method that network strategy upgrades wherein a kind of possible realization comprise: obtain the renewal version information of the network strategy of virtual machine host policing type VSI Type, described renewal version packets of information is drawn together the version after the renewal of network strategy of described VSI Type; The renewal version information of the network strategy of described VSI Type is sent to virtual switch; Carry out the network strategy of the described VSI Type that version after described renewal is corresponding, and indicate described virtual switch to carry out the configuration of the network strategy of the described VSI Type that version after described renewal is corresponding.
Wherein, the renewal version information that obtains the network strategy of VSI Type described in preferred specifically comprises:
Receive the notification message of the policy database transmission of storage networking strategy; From described notification message, extract the renewal version information that VSI Type sign and described VSI Type identify corresponding network strategy; Or
To policy database, send version querying message, in described version querying message, carry the original version information of the network strategy of the sign of described VSI Type and the sign correspondence of described VSI Type; Receive the version response message that described policy database sends, in described version response message, carry the renewal version information of the network strategy of described VSI Type; The version response message sending according to described policy database is obtained the renewal version information of the network strategy of described VSI Type.
Wherein, the preferred described renewal version information exchange by the network strategy of described VSI Type is known to virtual switch and is specifically comprised: the VSI Type sign inquiry local VSI contingency table corresponding according to the version after described renewal; While there is the associated data of described VSI Type in described VSI contingency table, the renewal version information exchange of the network strategy of described VSI Type is crossed to response message and send to described virtual switch.
Wherein, obtain described in preferred after the renewal version information of network strategy of VSI Type, described method further comprises: the renewal version information that records the network strategy of described VSI Type; The described renewal version information by the network strategy of described VSI Type sends to virtual switch specifically to comprise: after receiving the request message of described virtual switch transmission, send the response message of the renewal version information of the network strategy of carrying described VSI Type to this virtual switch.
Preferably, the associated message of solution that the response message of renewal version information that carries the network strategy of described VSI Type described in is expansion.
Preferably, the network strategy of the described VSI Type that the described execution version after upgrading is corresponding specifically comprises: judge whether according to network strategy corresponding to original version information to be that described VSI Type distributes or reserved resource; When, according to network strategy corresponding to original version information, be that described VSI Type is when distributing or having reserved resource, described in judgement, distributed or whether reserved resource meets the resource requirement of the network strategy that version after upgrading is corresponding, if met, according to described, distributed or reserved resource is configured; If do not met, according to the reserved resource of network strategy corresponding to the version after upgrading.
The present invention realize on the other hand device that network strategy upgrades wherein a kind of possible realization comprise: acquiring unit, notification unit and performance element; Wherein, described acquiring unit is for obtaining the renewal version information of network strategy of virtual machine host policing type VSI Type, and described renewal version packets of information is drawn together the version after the renewal of network strategy of described VSI Type; Described notification unit sends to virtual switch for the renewal version information of the network strategy of described VSI Type that described acquiring unit is got; Described performance element is for carrying out the network strategy of the VSI Type that version after the renewal that described acquiring unit gets is corresponding, and indicates described virtual switch to carry out the configuration of the network strategy of the corresponding VSI Type of version after described renewal.
Wherein, preferred described acquiring unit comprises: the first receiver module and the first extraction module; Wherein, the notification message that described the first receiver module sends for receiving the policy database of storage networking strategy; The renewal version information that described the first extraction module extracts VSI Type sign for the notification message receiving from described the first receiver module and described in this, VSI Type identifies corresponding network strategy.
Wherein, preferred described acquiring unit comprises: the first enquiry module, the second receiver module and the second extraction module; Wherein, described the first enquiry module, for sending version querying message to policy database, carries the original version information of the network strategy of the sign of described VSI Type and the sign correspondence of described VSI Type in described version querying message; The version response message that described the second receiver module sends for receiving described policy database, carries the renewal version information of the network strategy of described VSI Type in described version response message; Described the second extraction module obtains the renewal version information of the network strategy of described VSI Type for the version response message receiving according to described the second receiver module.
Wherein, preferred described notification unit comprises: the second enquiry module and the first sending module; Wherein, described the second enquiry module is used for the VSI Type sign inquiry local VSI contingency table corresponding according to the version after described renewal, and Query Result is notified to described the first sending module; Described the first sending module is for receiving the Query Result of described the second enquiry module, while there is the associated data of described VSI Type in described VSI association, the renewal version information exchange of the network strategy of described VSI Type is crossed to response message and send to described virtual switch.
Wherein, preferred described device also comprises the renewal version recording of information module of the network strategy that records described VSI Type; Described notification unit also comprises: described the second sending module, for after receiving the request message that described virtual switch sends, to this virtual switch, send the response message of renewal version information of the network strategy of the VSI Type that carries logging modle record.
Wherein, preferred described performance element comprises: the first judge module, the second judge module and processing module; Wherein, described the first judge module is used for judging whether according to network strategy corresponding to original version information, to be that described VSI Type distributes or reserved resource, and judged result is notified to described the second judge module; Described the second judge module is for receiving the judged result of described the first judge module, and according to network strategy corresponding to original version information, be that described VSI Type is when distributing or having reserved resource when, described in judgement, distributed or whether reserved resource meets the resource requirement of the network strategy that version after upgrading is corresponding, and judged result has been notified to processing module; Described processing module is for receiving the judged result of described the second judge module, and distributed or reserved resource meets the resource requirement of the network strategy that version after renewal is corresponding when described, according to described, distributed or reserved resource is configured; When described, distributed or when reserved resource does not meet the resource requirement of the network strategy that version after upgrading is corresponding, according to the reserved resource of network strategy corresponding to the version after upgrading.
The present invention realize on the other hand system that network strategy upgrades wherein a kind of possible realization comprise: policy database, edge switch and virtual switch; Wherein, described policy database is for the network strategy of storing VSI Type, and the renewal version information exchange of described network strategy is known to described edge switch, and described renewal version packets of information is drawn together the version after the renewal of network strategy of described VSI Type; Described edge switch is for obtaining described renewal version information from described policy database, and this renewal version information is sent to described virtual switch, carry out network strategy corresponding to version after this renewal, indicate described virtual switch to carry out the configuration of the network strategy of the described VSI Type that version after this renewal is corresponding simultaneously; Described virtual switch is for obtaining described renewal version information from described edge switch, and carries out the configuration of the network strategy of the described VSI Type that version after upgrading is corresponding.
Can find out, adopt method, the Apparatus and system of the embodiment of the present invention, by edge switch, obtain the renewal version information of VSI Type network strategy, and network strategy corresponding to this renewal version is notified to virtual switch, so that can carrying out, edge switch and virtual switch upgrade network strategy corresponding to version, and then make VM can carry out the network strategy of renewal, effectively improved the utilance of Internet resources.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet figure that the embodiment of the present invention realizes network strategy update method;
Fig. 2 is another schematic flow sheet that the embodiment of the present invention realizes network strategy update method;
Fig. 3 is the another schematic flow sheet that the embodiment of the present invention realizes network strategy update method;
Fig. 4 is that the embodiment of the present invention realizes the apparatus structure schematic diagram that network strategy is upgraded.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out to clear, complete description, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is that the embodiment of the present invention realizes the method flow schematic diagram that network strategy is upgraded; As shown in Figure 1, the method comprises:
Step 110: edge switch obtains the renewal version information of the network strategy of VSI Type, the version after the network strategy that described renewal version packets of information is drawn together described VSI Type is upgraded.
Wherein, edge switch is deployed in the edge access layer of data center network, and under virtual scene, edge switch is the network equipment nearest apart from virtualized server.VSI Type refers to virtual machine host policing type, and the VSI that belongs to same VSI Type need to carry out identical network strategy, and VSI Type can by specific sign, (English: identifier abridges: ID) represent.In various embodiments of the present invention, VSI Type ID is for identifying different VSIType.The network strategy of VSI Type refers to that all VSI that belong to this VSI Type all need the network strategy of carrying out.In Intel Virtualization Technology, VSI is different from General Physics switch ports themselves, and itself and VM are the relations coexisting, if therefore do not connect VM, VSI is non-existent.When system, (for example, vCenter) created a VM, and selected after a VSI Type for the empty network interface card of this VM, system will create a VSI on vSwitch, and gives corresponding VSI Type for it.
In actual application, described edge switch can obtain the renewal version information of the network strategy of VSI Type in several ways, only in following two kinds of modes, is illustrated in the present embodiment, but is not limited to this:
A, adopt passive receive mode to obtain: when the network strategy of VSI Type changes, policy database (for example VSI Manager or VSI Type Database) can be initiatively by the change notification of the network strategy of described VSI Type to edge switch; Described edge switch receives the notification message of described policy database, and from this notification message, extracts the renewal version information of VSI Type ID and network strategy corresponding to this VSI Type ID;
B, employing active inquiry mode are obtained: described edge switch sends version querying message to described policy database, carries the original version information of the network strategy that VSI Type ID and VSI Type ID are corresponding in described version querying message; If the network strategy of VSI Type changes described in described policy database, described policy database sends version response message to described edge switch, carries the renewal version information of the network strategy of described VSI Type in described version response message; The version response message that described edge switch sends according to described policy database can be known the renewal version information of the network strategy of described VSI Type; If the network strategy of VSI Type does not change described in described policy database, described policy database can not send version response message to described edge switch, also can send version response message to described edge switch, in this case, in this version response message, carry the original version information of the network strategy of this VSIType.
Step 120: edge switch sends to virtual switch by the renewal version information of the network strategy of described VSI Type;
Concrete, when described edge switch gets after the renewal version information of network strategy of described VSI Type, it can send to virtual switch by this renewal version information in several ways, as the following two kinds of modes in the present embodiment, but is not limited to this:
1), when described edge switch gets after the renewal version information of network strategy of described VSI Type, the VSI Tyep ID(sign corresponding according to the version after this renewal) inquire about local VSI contingency table, if there is the associated data of this VSI Type in described VSI contingency table, the renewal version information exchange of the network strategy of described VSI Type is crossed to response message and send to described virtual switch; If there is not the associated data of this VSI Type in described VSI contingency table, end operation.
2), when described edge switch gets after the renewal version information of network strategy of described VSI Type, record the renewal version information of the network strategy of this VSI Type; After receiving the request message of described virtual switch transmission, the response message that sends the renewal version information of the network strategy of carrying described VSI Type to this virtual switch, the renewal version information exchange with this by the network strategy of described VSI Type is known to described virtual switch.
Wherein it should be noted that, in the present embodiment, the response message of the renewal version information of the network strategy of carrying described VSI Type that described edge switch sends to described virtual switch can be the associated message of the solution of expansion, can certainly be other response messages, the present embodiment repeat them here.
Step 130: edge switch is carried out the network strategy of the described VSI Type that version after described renewal is corresponding, and indicate described virtual switch to carry out the configuration operation of the network strategy of the described VSI Type that version after described renewal is corresponding.
Concrete, when described edge switch sends to the renewal version information of described VSI Type network strategy after described virtual switch, described edge switch is used the network strategy of the described VSIType in policy database described in the version querying after described renewal, and carries out the network strategy of the described VSI Type inquiring; And described virtual switch receives after the renewal version information of network strategy of the described VSI Type that described edge switch sends, utilize the version after described renewal to initiate associated request or pre-association request to this edge switch; Edge switch receives after the association request or pre-association request of virtual switch initiation, the response message of the network strategy that comprises the described VSI Type that version after renewal is corresponding to its transmission, to indicate described virtual switch to carry out the configuration operation of the network strategy of the described VSI Type that version after this renewal is corresponding.
It should be noted that, the network strategy of the VSI Type that described edge switch is carried out in the present embodiment generally includes but is not limited to resource distribution mode: if distribute or reserved resource for this VSI Type according to network strategy corresponding to original version information, judgement has distributed or whether reserved resource meets the resource requirement of the network strategy that version after upgrading is corresponding, if met, according to distributing or reserved resource is configured; If do not met, according to the reserved resource of network strategy corresponding to the version after upgrading; And, when reserved resource, can make full use of and distribute or reserved resource; Such as reserved the bandwidth of 100k according to the network strategy of original version, and the corresponding network strategy of version after upgrading needs 150k bandwidth, and the resource that only need reserve again 50k when reserved resource can meet the demands.
Below by concrete example, the above-mentioned method that realizes network strategy renewal is described in detail; As shown in Figure 2, the method comprises:
S210: when the VSI Type network strategy in policy database changes, the version value of this VSI Type network strategy also changes; As shown in the table, table 1 is the network strategy that the original version of VSI Type 1001 is corresponding, and table 2 is network strategy corresponding to version after VSI Type 1001 upgrades.Wherein, a record in table 1 or table 2 is exactly a network strategy.
After the network strategy of VSI Type is upgraded, the network strategy that original version is corresponding still can be retained in policy database, usings the reference information when being configured according to network strategy corresponding to version after upgrading as edge switch or virtual machine.
Table 1
VSI Type ID Version VLAN Priority Bandwidth
1001 001 10 5 100K
Table 2
VSI Type ID Version VLAN Priority Bandwidth
1001 001 10 5 100K
1001 002 11 4 200K
S220: when the network strategy of VSI Type changes, policy database sends a notification message to edge switch, for notifying the renewal version information of the network strategy of VSI Type described in edge switch, in this notification message, carry the renewal version information that VSIType ID and this VSI Type identify corresponding network strategy, described renewal version packets of information is drawn together the version after the renewal of network strategy of described VSI Type.
S230: when described edge switch gets after the renewal version information of network strategy of described VSI Type, if there is the associated data of this VSI Type in local contingency table, the renewal version information exchange of the network strategy of described VSI Type is crossed to the associated response message of solution and sent to described virtual switch; If there is not the associated data of this VSI Type in described VSI association/pre-association table, end operation;
S240: described edge switch is used the policy information of VSI Type described in policy database described in the version querying after described renewal, if according to original version information map network strategy for this VSI Type distributes or reserved resource, judgement has distributed or whether reserved resource meets the resource requirement of the network strategy that version after upgrading is corresponding, if met, according to distributing or reserved resource is configured; If do not met, according to the reserved resource of network strategy corresponding to the version after upgrading;
S250: virtual switch receive described edge switch in step S230 by separating after the renewal version information of network strategy of the described VSI Type that associated response message sends, utilize the version after described renewal to initiate associated request or pre-association request to this edge switch; In described associated request or pre-association request, carry the renewal version information of the network strategy of VSI Type ID and described VSI Type ID.
S260: edge switch receives after the association request or pre-association request of virtual switch initiation, the associated response message of solution of the network strategy that comprises the described VSI Type that version after renewal is corresponding to its transmission, to indicate virtual switch to carry out the configuration operation of the network strategy of the described VSI Type that version after this renewal is corresponding;
Below by another concrete example, the above-mentioned method that realizes network strategy renewal is described in detail; As shown in Figure 3, the method comprises:
S310: when the network strategy of the VSI Type in policy database changes, the version value of the network strategy of this VSI Type also changes; Wherein, as shown in Table 1, network strategy corresponding to version after VSI Type 1001 upgrades is as above shown in table 2 for network strategy corresponding to VSI Type 1001 original versions.
S320: the policy information of the described VSI Type in the original version information inquiry policy database of the network strategy of edge switch use VSI Type.
Specifically, edge switch sends version querying message to policy database, carries the original version information of the network strategy that the sign (VSI Type ID) of described VSI Type and described VSI Type ID are corresponding in described version querying message.
S330: described policy database sends the renewal version information of VSI Type ID and network strategy corresponding to this VSI Type ID to described edge switch;
Specifically, described policy database sends version response message to described edge switch, in described version response message, carry the renewal version information of the network strategy of described VSI Type, in described version response message, carry the renewal version information of the network strategy that VSIType ID and this VSI Type ID are corresponding.
S340: described edge switch obtains after the renewal version information of network strategy of the described VSI Type in described policy database, if distribute or reserved resource for this VSI Type according to network strategy corresponding to original version information, judgement has distributed or whether reserved resource meets the resource requirement of the network strategy that version after upgrading is corresponding, if met, according to distributing or reserved resource is configured; If do not met, according to the reserved resource of network strategy corresponding to the version after upgrading.
S350: virtual switch is initiated associated request or pre-association request to edge switch; In described associated request or pre-association request, carry the renewal version information of the network strategy of VSI Type ID and described VSI Type ID.
S360: edge switch receives after the association request or pre-association request of virtual switch initiation, the associated response message of solution of the network strategy that comprises the described VSI Type that version after renewal is corresponding to its transmission, to indicate virtual switch to carry out the configuration operation of the network strategy of the described VSI Type that version after this renewal is corresponding.
Can find out, adopt the method for the embodiment of the present invention, by edge switch, obtain the renewal version information of the network strategy of VSI Type, and network strategy corresponding to version after upgrading is notified to virtual switch, so that edge switch and virtual switch can be carried out network strategy corresponding to version after renewal, and then make VM can carry out the network strategy after renewal, effectively raise the utilance of Internet resources.
Same design based on said method embodiment, the embodiment of the present invention has also proposed a kind of device that network strategy is upgraded of realizing, for realizing said method of the present invention.As shown in Figure 4, this device 400 comprises: acquiring unit 410, notification unit 420 and performance element 430; Wherein,
Described acquiring unit 410 is for obtaining the renewal version information of the network strategy of VSI Type, the version after the network strategy that described renewal version packets of information is drawn together described VSI Type is upgraded; Described notification unit 420 sends to virtual switch for the renewal version information of the network strategy of described VSI Type that described acquiring unit 410 is got; The network strategy of the VSI Type that the version of described performance element 430 after for the renewal of carrying out described acquiring unit 410 and getting is corresponding, and indicate described virtual switch to carry out the configuration operation of the network strategy of the corresponding VSI Type of version after described renewal.
Wherein, described acquiring unit 410 also can comprise (not shown): the first receiver module and the first extraction module; Wherein, when the network strategy of VSI Type changes, policy database (for example VSI Manager or VSI Type Database) can be initiatively by the change notification of the network strategy of described VSI Type to edge switch; The notification message that described the first receiver module sends for receiving the policy database of storage networking strategy; Described the first extraction module extracts for the notification message that receives from described the first receiver module the renewal version information that VSI Type sign and described VSI Type identify corresponding network strategy.
In addition, described acquiring unit 410 also can comprise (not shown): described the first enquiry module, for sending version querying message to policy database, carries the original version information of the network strategy of the sign of described VSI Type and the sign correspondence of described VSI Type in described version querying message; If the network strategy of VSI Type changes described in described policy database, described policy database sends version response message to described edge switch, carries the renewal version information of the network strategy of described VSI Type in described version response message; The version response message that described the second receiver module sends for receiving described policy database, carries the renewal version information of the network strategy of described VSI Type in described version response message; Described the second extraction module obtains the renewal version information of the network strategy of described VSI Type for the version response message receiving according to described the second receiver module; If the network strategy of VSI Type does not change described in described policy database, described policy database can not send version response message to described edge switch, also can send version response message to described edge switch, in this case, in this version response message, carry the original version information of the network strategy of this VSI Type.
Preferably, described notification unit 420 also can comprise (not shown): the second enquiry module and the first sending module; Wherein, described the second enquiry module is used for the VSI Type sign inquiry local VSI contingency table corresponding according to the version after described renewal, and Query Result is notified to described the first sending module; Described the first sending module is for receiving the Query Result of described the second enquiry module, while there is the associated data of this VSI Type in described VSI contingency table, the renewal version information exchange of the network strategy of described VSIType is crossed to response message and send to described virtual switch; If there is not the associated data of this VSI Type in described VSI contingency table, end operation.
In addition, described device 400 also can comprise that (not shown) records the renewal version recording of information module of the network strategy of described VSI Type; Described notification unit 420 also can comprise (not shown): described the second sending module, for after receiving the request message that described virtual switch sends, to this virtual switch, send the response message of renewal version information of the network strategy of the VSI Type that carries logging modle record.
It should be noted that, in the present embodiment, the response message of the renewal version information of the network strategy of carrying described VSI Type that described the first sending module or the second sending module send to described virtual switch can be the associated message of the solution of expansion, can certainly be other response messages, the present embodiment repeat them here.
In addition, described performance element 430 also can comprise (not shown): the first judge module, the second judge module and processing module; Wherein, described the first judge module is used for judging whether according to network strategy corresponding to original version information, to be that described VSI Type distributes or reserved resource, and judged result is notified to described the second judge module; Described the second judge module is for receiving the judged result of described the first judge module, and according to network strategy corresponding to original version information, be that described VSI Type is when distributing or having reserved resource when, described in judgement, distributed or whether reserved resource meets the resource requirement of the network strategy that version after upgrading is corresponding, and judged result has been notified to processing module; Described processing module is for receiving the judged result of described the second judge module, and distributed or reserved resource meets the resource requirement of the network strategy that version after renewal is corresponding when described, according to described, distributed or reserved resource is configured; When described, distributed or when reserved resource does not meet the resource requirement of the network strategy that version after upgrading is corresponding, according to the reserved resource of network strategy corresponding to the version after upgrading.
It should be noted that; in above-described embodiment, realize device that network strategy upgrades when realizing network strategy and upgrade conventionally and policy database and virtual switch carry out information interaction; therefore comprise the present embodiment and realize within the system of device, policy database and virtual switch that network strategy upgrades also should be included in the application's protection range, do not repeat them here.
It should be noted that; those skilled in the art readily understand; the part that the device of realizing network strategy renewal described in above-described embodiment also can be used as other system exists; and in system, realize aspect network strategy renewal consistent with the description in above embodiment; thereby comprise within the other system of realizing the equipment that network strategy upgrades in above embodiment also should be included in the application's protection range, do not repeat them here.
Professional can also further should be able to recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software is clearly described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds the scope of the embodiment of the present invention.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to carry out, or the combination of the two is implemented.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the embodiment of the present invention.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can be in the situation that do not depart from the spirit or scope of the embodiment of the present invention, realization in other embodiments.Therefore, the embodiment of the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.
These are only the preferred embodiment of the embodiment of the present invention; not in order to limit the embodiment of the present invention; all within the spirit and principle of the embodiment of the present invention, any modification of doing, be equal to replacement, improvement etc., within all should being included in the protection range of the embodiment of the present invention.

Claims (13)

1. realize the method that network strategy is upgraded, it is characterized in that, comprising:
Obtain the renewal version information of the network strategy of virtual machine host policing type VSI Type, described renewal version packets of information is drawn together the version after the renewal of network strategy of described VSI Type;
The renewal version information of the network strategy of described VSIType is sent to virtual switch;
Carry out the network strategy of the described VSI Type that version after described renewal is corresponding, and indicate described virtual switch to carry out the configuration of the network strategy of the described VSI Type that version after described renewal is corresponding.
2. method according to claim 1, is characterized in that, described in obtain the network strategy of VSI Type renewal version information specifically comprise:
Receive the notification message of the policy database transmission of storage networking strategy;
From described notification message, extract the renewal version information that VSI Type sign and described VSI Type identify corresponding network strategy; Or
To policy database, send version querying message, in described version querying message, carry the original version information of the network strategy of the sign of described VSI Type and the sign correspondence of described VSI Type;
Receive the version response message that described policy database sends, in described version response message, carry the renewal version information of the network strategy of described VSI Type;
The version response message sending according to described policy database is obtained the renewal version information of the network strategy of described VSI Type.
3. method according to claim 1 and 2, is characterized in that, the described renewal version information exchange by the network strategy of described VSI Type is known to virtual switch and specifically comprised:
The VSI Type sign inquiry local VSI contingency table corresponding according to the version after described renewal;
While there is the associated data of described VSI Type in described VSI contingency table, the renewal version information exchange of the network strategy of described VSI Type is crossed to response message and send to described virtual switch.
4. method according to claim 1 and 2, is characterized in that,
After the renewal version information of the described network strategy of obtaining VSI Type, described method further comprises: the renewal version information that records the network strategy of described VSI Type;
The described renewal version information by the network strategy of described VSI Type sends to virtual switch specifically to comprise: after receiving the request message of described virtual switch transmission, send the response message of the renewal version information of the network strategy of carrying described VSI Type to this virtual switch.
5. according to the method described in claim 3 or 4, it is characterized in that:
The associated message of solution that the response message of the renewal version information of described network strategy of carrying described VSI Type is expansion.
6. according to the method described in any one in claim 1-5, it is characterized in that, the network strategy of the described VSI Type that version after described execution is upgraded is corresponding specifically comprises:
Judge whether according to network strategy corresponding to original version information to be that described VSI Type distributes or reserved resource;
When, according to network strategy corresponding to original version information, be that described VSI Type is when distributing or having reserved resource, described in judgement, distributed or whether reserved resource meets the resource requirement of the network strategy that version after upgrading is corresponding, if met, according to described, distributed or reserved resource is configured; If do not met, according to the reserved resource of network strategy corresponding to the version after upgrading.
7. realize the device that network strategy is upgraded, it is characterized in that, comprising: acquiring unit, notification unit and performance element; Wherein,
Described acquiring unit is for obtaining the renewal version information of network strategy of virtual machine host policing type VSI Type, and described renewal version packets of information is drawn together the version after the renewal of network strategy of described VSI Type;
Described notification unit sends to virtual switch for the renewal version information of the network strategy of described VSI Type that described acquiring unit is got;
Described performance element is for carrying out the network strategy of the VSI Type that version after the renewal that described acquiring unit gets is corresponding, and indicates described virtual switch to carry out the configuration of the network strategy of the corresponding VSI Type of version after described renewal.
8. device according to claim 7, is characterized in that, described acquiring unit comprises: the first receiver module and the first extraction module; Wherein,
The notification message that described the first receiver module sends for receiving the policy database of storage networking strategy;
Described the first extraction module extracts for the notification message that receives from described the first receiver module the renewal version information that VSI Type sign and described VSI Type identify corresponding network strategy.
9. device according to claim 7, is characterized in that, described acquiring unit comprises: the first enquiry module, the second receiver module and the second extraction module; Wherein,
Described the first enquiry module, for sending version querying message to policy database, carries the original version information of the network strategy of the sign of described VSI Type and the sign correspondence of described VSI Type in described version querying message;
The version response message that described the second receiver module sends for receiving described policy database, carries the renewal version information of the network strategy of described VSI Type in described version response message;
Described the second extraction module obtains the renewal version information of the network strategy of described VSIType for the version response message receiving according to described the second receiver module.
10. according to the device described in claim 7 to 9 any one, it is characterized in that, described notification unit comprises: the second enquiry module and the first sending module; Wherein,
Described the second enquiry module is used for the VSI Type sign inquiry local VSI contingency table corresponding according to the version after described renewal, and Query Result is notified to described the first sending module;
Described the first sending module is for receiving the Query Result of described the second enquiry module, while there is the associated data of described VSI Type in described VSI association, the renewal version information exchange of the network strategy of described VSI Type is crossed to response message and send to described virtual switch.
11. according to the device described in claim 7 to 9 any one, it is characterized in that:
Described device also comprises the renewal version recording of information module of the network strategy that records described VSI Type;
Described notification unit also comprises: described the second sending module, for after receiving the request message that described virtual switch sends, to this virtual switch, send the response message of renewal version information of the network strategy of the VSI Type that carries logging modle record.
12. according to the device described in claim 7 to 11 any one, it is characterized in that, described performance element comprises: the first judge module, the second judge module and processing module; Wherein,
Described the first judge module is used for judging whether according to network strategy corresponding to original version information, to be that described VSIType distributes or reserved resource, and judged result is notified to described the second judge module;
Described the second judge module is for receiving the judged result of described the first judge module, and according to network strategy corresponding to original version information, be that described VSIType is when distributing or having reserved resource when, described in judgement, distributed or whether reserved resource meets the resource requirement of the network strategy that version after upgrading is corresponding, and judged result has been notified to processing module;
Described processing module is for receiving the judged result of described the second judge module, and distributed or reserved resource meets the resource requirement of the network strategy that version after renewal is corresponding when described, according to described, distributed or reserved resource is configured; When described, distributed or when reserved resource does not meet the resource requirement of the network strategy that version after upgrading is corresponding, according to the reserved resource of network strategy corresponding to the version after upgrading.
Realize the system that network strategy is upgraded for 13. 1 kinds, it is characterized in that, comprising: policy database, edge switch and virtual switch; Wherein,
Described policy database is for the network strategy of storing VSI Type, and the renewal version information exchange of described network strategy is known to described edge switch, and described renewal version packets of information is drawn together the version after the renewal of network strategy of described VSI Type;
Described edge switch is for obtaining described renewal version information from described policy database, and this renewal version information is sent to described virtual switch, carry out network strategy corresponding to version after this renewal, indicate described virtual switch to carry out the configuration of the network strategy of the described VSI Type that version after this renewal is corresponding simultaneously;
Described virtual switch is for obtaining described renewal version information from described edge switch, and carries out the configuration of the network strategy of the described VSI Type that version after upgrading is corresponding.
CN201210209744.5A 2012-06-25 2012-06-25 A kind of realize network strategy update method, Apparatus and system Active CN103516628B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210209744.5A CN103516628B (en) 2012-06-25 2012-06-25 A kind of realize network strategy update method, Apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210209744.5A CN103516628B (en) 2012-06-25 2012-06-25 A kind of realize network strategy update method, Apparatus and system

Publications (2)

Publication Number Publication Date
CN103516628A true CN103516628A (en) 2014-01-15
CN103516628B CN103516628B (en) 2016-12-21

Family

ID=49898688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210209744.5A Active CN103516628B (en) 2012-06-25 2012-06-25 A kind of realize network strategy update method, Apparatus and system

Country Status (1)

Country Link
CN (1) CN103516628B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486299A (en) * 2014-11-28 2015-04-01 杭州华三通信技术有限公司 ACL (Access Control List) issuing method and equipment
CN104539520A (en) * 2014-12-27 2015-04-22 宁波江东远通计算机有限公司 Message sending management method and device
WO2016045082A1 (en) * 2014-09-26 2016-03-31 华为技术有限公司 Policy implementation method, device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090245137A1 (en) * 2008-03-03 2009-10-01 Green Hills Software, Inc. Highly available virtual stacking architecture
CN102055667A (en) * 2009-11-04 2011-05-11 丛林网络公司 Methods and apparatus for configuring a virtual network switch
CN102136931A (en) * 2010-09-20 2011-07-27 华为技术有限公司 Method for configuring virtual port network strategies, network management center and related equipment
CN102316001A (en) * 2011-10-13 2012-01-11 杭州华三通信技术有限公司 Virtual network connection configuration realizing method and network equipment
CN102412978A (en) * 2010-09-21 2012-04-11 杭州华三通信技术有限公司 Method for carrying out network configuration for VM and system thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090245137A1 (en) * 2008-03-03 2009-10-01 Green Hills Software, Inc. Highly available virtual stacking architecture
CN102055667A (en) * 2009-11-04 2011-05-11 丛林网络公司 Methods and apparatus for configuring a virtual network switch
CN102136931A (en) * 2010-09-20 2011-07-27 华为技术有限公司 Method for configuring virtual port network strategies, network management center and related equipment
CN102412978A (en) * 2010-09-21 2012-04-11 杭州华三通信技术有限公司 Method for carrying out network configuration for VM and system thereof
CN102316001A (en) * 2011-10-13 2012-01-11 杭州华三通信技术有限公司 Virtual network connection configuration realizing method and network equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王旭阳 等: "《数据链路层拓扑发现关键技术研究》", 《中国优秀硕士学位论文全文数据库 信息科技辑》, no. 6, 15 June 2009 (2009-06-15) *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016045082A1 (en) * 2014-09-26 2016-03-31 华为技术有限公司 Policy implementation method, device and system
CN105659526A (en) * 2014-09-26 2016-06-08 华为技术有限公司 Policy implementation method, device and system
CN105659526B (en) * 2014-09-26 2019-02-01 华为技术有限公司 A kind of strategy implementation method and device and system
CN104486299A (en) * 2014-11-28 2015-04-01 杭州华三通信技术有限公司 ACL (Access Control List) issuing method and equipment
CN104486299B (en) * 2014-11-28 2018-07-24 新华三技术有限公司 A kind of method and apparatus that ACL is issued
CN104539520A (en) * 2014-12-27 2015-04-22 宁波江东远通计算机有限公司 Message sending management method and device

Also Published As

Publication number Publication date
CN103516628B (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN112187545B (en) Network slice deployment method and device
CN107924383B (en) System and method for network function virtualized resource management
WO2021017301A1 (en) Management method and apparatus based on kubernetes cluster, and computer-readable storage medium
US10270648B2 (en) Configuration information management method, device, network element management system and storage medium
JP6332774B2 (en) Network function virtualized NFV failure management apparatus, device, and method
CN104079630A (en) Business server side load balancing method, client side, server side and system
US20220004410A1 (en) Method For Deploying Virtual Machine And Container, And Related Apparatus
CN105049268A (en) Distributed computing resource allocation system and task processing method
CN106301829A (en) A kind of method and apparatus of Network dilatation
CN105453485A (en) System and method for service embedding and resource orchestration
JP2016535895A (en) Software update method, system and device
CN102316043B (en) Port virtualization method, switch and communication system
CN106134141A (en) A kind of method and device updating network service describer NSD
WO2019100266A1 (en) Mobile edge host-machine service notification method and apparatus
US10705740B2 (en) Managing of storage resources
CN111090495A (en) Node management method, device, equipment, storage medium and system
JP2017509055A (en) Method and apparatus for processing data packets based on parallel protocol stack instances
CN105871570A (en) Method and device of managing virtualized network function (VNF)
CN104320347A (en) Method and device for initiatively updating LLDP
CN111767139A (en) Cross-region multi-data-center resource cloud service modeling method and system
CN103516628A (en) Method, device and system of updating network strategy
CN106911741B (en) Method for balancing virtual network management file downloading load and network management server
CN105493444A (en) Fault management apparatus, device and method for network function virtualization (nfv)
CN103684838A (en) A method, an apparatus, a system for configuring a network strategy of a virtual machine
CN108574592B (en) Resource management method and device based on telecommunication cloud

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant