CN104025510A - Method, apparatus, and system for isolating virtual network devices - Google Patents

Method, apparatus, and system for isolating virtual network devices Download PDF

Info

Publication number
CN104025510A
CN104025510A CN201280002182.5A CN201280002182A CN104025510A CN 104025510 A CN104025510 A CN 104025510A CN 201280002182 A CN201280002182 A CN 201280002182A CN 104025510 A CN104025510 A CN 104025510A
Authority
CN
China
Prior art keywords
virtual network
network device
abnormal
forwarding
component
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
CN201280002182.5A
Other languages
Chinese (zh)
Other versions
CN104025510B (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
Publication of CN104025510A publication Critical patent/CN104025510A/en
Application granted granted Critical
Publication of CN104025510B publication Critical patent/CN104025510B/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

Landscapes

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

Abstract

Embodiments of the present invention provide a method, an apparatus, and a system for isolating virtual network devices. In a scenario where multiple virtual network devices share one same forwarding component, a management component monitors the virtual network devices; and when finding an abnormal virtual network device, isolates a forwarding core allocated to the abnormal virtual network device, wherein the forwarding core belongs to the forwarding component; releases a resource allocated to the abnormal virtual network device; and deals with items associated with the abnormal virtual network device. Through the embodiments of the present invention, when finding the abnormal virtual network device, the management component only isolates and releases the resource, such as the forwarding core, allocated to the abnormal virtual network device, and does not need to reset other forwarding cores in the forwarding component, thereby preventing one abnormal virtual network device from affecting other virtual network devices, and improving the system reliability.

Description

Method, apparatus, and system for isolating virtual network devices
A kind of methods, devices and systems technical field for isolating virtual network device
The present invention relates to field of network communication, more particularly to a kind of methods, devices and systems for isolating virtual network device.Background technology
The current all kinds of network equipments based on processor, such as router, interchanger, including entity physical equipment and virtual unit, the framework of a control assembly plus a forwarding component is mainly employed, the forwarding behavior of forwarding component is controlled by control assembly.Wherein, forwarding component can include one or more forwarding cores.
For physical network device, business is all deployed in the control assembly of the physical network device.Then for a user, it can only see the only one network equipment.Due to the network equipment only one of which control assembly, when the device fails, it is necessary to restart to the equipment.
Under virtualization scene, multiple virtual network devices can be fictionalized, each virtual network device takes fixed forwarding core and forwarding interface, and undertakes different network roles, for example, router, interchanger, gateway, fire wall etc..The multiple virtual network device can be located on same physical network device, it can also be located on different physical network devices, each virtual network device includes an independent control assembly, but the multiple virtual network device can share same forwarding component, respective business forwarding is realized.
The multiple virtual network device can be with concurrent working, when the multiple virtual network device shares same forwarding component, if a virtual network device occurs abnormal, need to reset the corresponding forwarding component of the virtual network device, because each virtual network device shares same forwarding component, resetting forwarding establishment causes other virtual network devices to be also required to reset.Therefore, the exception of a virtual network device can also cause the exception of other virtual network devices, and system reliability is low.The content of the invention
The embodiment of the present invention provides a kind of methods, devices and systems for isolating virtual network device, under the scene that multiple virtual network devices share same forwarding component, isolating the virtual network device broken down, improves the reliability of network.
On the one hand the embodiment of the present invention provides a kind of method for isolating virtual network device, and methods described is shared under the scene of same forwarding component applied to multiple virtual network devices, and methods described includes:Virtual network device is monitored;When the virtual network device noted abnormalities, the forwarding core of the abnormal virtual network device distribution is isolated into, the forwarding core belongs to the forwarding component;It is released to the resource of the abnormal virtual network device distribution;Processing and the exception The related list item of virtual network device.
In a kind of embodiment of above-mentioned first aspect, the forwarding core of abnormal virtual network device distribution includes described in the isolated bit:The forwarding core of the abnormal virtual network device distribution is retrieved as, abnormal interrupt is sent to the forwarding core, the forwarding core is in suspended state.
With reference to above-mentioned embodiment, before the forwarding core that abnormal virtual network device described in the isolated bit is distributed, methods described also includes:Isolate all communication interfaces of the abnormal virtual network device, abandon the message received in the communication interface.
Alternatively, the resource for being released to the abnormal virtual network device distribution includes:The global resource of the forwarding core application of the virtual network device distribution, the forwarding core are released to, and is the port of the abnormal virtual network device distribution.
Alternatively, the processing list item related to the abnormal virtual network device includes:Delete the list item related to the abnormal virtual network device;Or retain the list item related to the abnormal virtual network device, and the list item is set to unactivated state.
Alternatively, methods described also includes:Sent a notification message to the virtual controlling component of the abnormal virtual network device, so that the virtual controlling component is initialized or restarted.
Alternatively, methods described also includes:Receive the registration request that the virtual controlling component is sent when being initialized or being restarted, the virtual controlling component is associated with the forwarding component, again port is distributed for the virtual controlling component, completes restarting for the abnormal virtual network device.
Second aspect of the embodiment of the present invention provides a kind of device for isolating virtual network device, and described device is shared under the scene of same forwarding component applied to multiple virtual network devices, and described device includes:Monitoring unit, for being monitored to virtual network device;Isolated location, for noted abnormalities in the monitoring unit virtual network device when, be isolated into the forwarding core of the abnormal virtual network device distribution, the forwarding core belongs to the forwarding component;Releasing unit, the resource for being released to the abnormal virtual network device distribution;Processing unit, for handling the list item related to the abnormal virtual network device.
Alternatively, the isolated location sends abnormal interrupt specifically for being retrieved as the forwarding core that the abnormal virtual network device is distributed to the forwarding core, the forwarding core is in suspended state.
Alternatively, the isolated location is additionally operable to isolate all communication interfaces of the abnormal virtual network device, the message received in all communication interfaces for abandoning the virtual network device.
Alternatively, the releasing unit is specifically for being released to the global resource for forwarding core application that the virtual network device is distributed, the forwarding core, and the port distributed for the abnormal virtual network device. Alternatively, the processing unit specifically for:Delete the list item related to the abnormal virtual network device;Or retain the list item related to the abnormal virtual network device, and the list item is set to unactivated state.
Alternatively, described device also includes transmitting element, is sent a notification message for the virtual controlling component to the abnormal virtual network device, so that the virtual controlling component is initialized or restarted.
Alternatively, described device also includes generation unit, for receiving the registration request that the virtual controlling component is sent when being initialized or being restarted, the virtual controlling component is associated with the forwarding component, again port is distributed for the virtual controlling component, completes restarting for the abnormal virtual network device.
The third aspect of the embodiment of the present invention provides a kind of system for isolating virtual network device, and the system is shared under the scene of same forwarding component applied to multiple virtual network devices, and the system includes forwarding component, port assembly and management assembly;
The forwarding component includes multiple forwarding cores, and the port assembly includes multiple ports,
The management assembly is used to generate virtual controlling component, and the virtual controlling component is associated with the forwarding component, generates virtual network device, and the port distributed for virtual network device in the port assembly and the forwarding core in the forwarding component;
The management assembly is additionally operable to, and virtual network device is monitored;When the virtual network device noted abnormalities, the forwarding core of the abnormal virtual network device distribution is isolated into;It is released to the resource of the abnormal virtual network device distribution;The processing list item related to the abnormal virtual network device.
Alternatively, the management assembly is the device of the isolation virtual network device described in above-mentioned second aspect.
Fourth aspect of the embodiment of the present invention provides a kind of device for isolating virtual network device, and described device is shared under the scene of same forwarding component applied to multiple virtual network devices, and described device includes:Processor, communication interface, memory and bus;The processor, communication interface and memory complete mutual communication by the bus;The memory, for storage program;The processor, the program for performing the memory storage;Described program is used to realize the method described in first aspect of the embodiment of the present invention when executed.
The above embodiment of the present invention is by monitoring the state of each virtual network device, and in the virtual network device noted abnormalities, only isolate and be released to the resources such as the abnormal forwarding core of virtual network device distribution, without resetting other forwarding cores in forwarding component, the influence to other virtual network devices when a virtual network device occurs abnormal is avoided, the reliability of system is improved.Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, is used required in being described below to embodiment Accompanying drawing be briefly described, it should be evident that drawings in the following description are only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is system architecture diagram provided in an embodiment of the present invention;
Fig. 2 is the method flow diagram provided in an embodiment of the present invention for isolating virtual network device;
Fig. 3 is another method flow diagram for isolating virtual network device provided in an embodiment of the present invention;
Fig. 4 is the structural representation of the device of isolation virtual network device provided in an embodiment of the present invention;
Fig. 5 is the structural representation of the device of another isolation virtual network device provided in an embodiment of the present invention.Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
As shown in figure 1, being system architecture diagram provided in an embodiment of the present invention.The system includes a forwarding component 10, a port component 20 and a management assembly 30.The forwarding component 10 includes multiple forwarding cores, and the port assembly 20 includes multiple ports.The management assembly 30 is used to create virtual controlling component, and the virtual controlling component and the forwarding component 10 are associated, and forms a virtual network device, is each virtual network device distributing equipment mark Device ID and corresponding port.After the completion of port assignment, management assembly 30 is by corresponding port-mark(Port ID) record in resource distribution table, wherein, it can distribute one or more ports to a virtual network device.In addition, when virtual network device needs processing message, can be to the dynamic application forwarding core of management assembly 30, management assembly 30 is received after this application, distributed for the virtual network device after one or more forwarding cores, distribution forwarding core, accordingly core can also will be forwarded to identify(Core ID) record is in resource distribution table, and after the Message processing of the virtual network device is complete, the forwarding core of virtual network device distribution is just released to immediately, to realize effective utilization of forwarding core.In Fig. 1, the virtual network device that management assembly 30 is created includes virtual network device 41 ... 4n.Then an exemplary resource distribution table can be as shown in table 1.
Table 1
Device ID Core ID Port ID
41 1, 2 1
42 2, 3 Wherein, because sometime, virtual network device 42 need not handle message, therefore, the distribution forwarding core of virtual network device 42 is not given.
In order to carry out message forwarding, each virtual network device saves port table that the ARP table for including virtual network device study generation in a series of forward table, the forward table, routing table, and management assembly are issued etc..
The multiple virtual network device shares the forwarding component 10, and because each virtual network includes a virtual controlling component, therefore it may also be said that multiple virtual controlling components share the forwarding component 10.The multiple virtual network device can be located on identical physical network device, can also be located on different physical network devices.The management assembly 30 and the forwarding component 10 can be located on identical physical network device, can also be located on different physical network devices.
Virtual controlling component and forward table inside virtual network device are connected by P1 interfaces;Virtual network device is connected to other virtual network devices by P3 interfaces;Virtual network device is connected to the port distributed in port assembly 20 for it by P2 interfaces.
The management assembly 30 is additionally operable to the method for performing isolation virtual network device as shown in Figure 2, and methods described is shared under the scene of same forwarding component applied to multiple virtual network devices, and the forwarding component includes multiple forwarding cores.The virtual network device is generated by the management assembly, and the process of the management assembly generation virtual network device and the process of isolation virtual network device are to intersect to exist.Methods described is shared under the scene of same forwarding component applied to multiple virtual network devices, it is not to say that, following methods could be performed after multiple virtual network devices by only generating, and refer to, no matter generation one or multiple virtual network devices, these virtual network devices are all using a common forwarding component.It the described method comprises the following steps:
S201, virtual network device is monitored.
Management assembly can be monitored the virtual network device to note abnormalities to virtual network device in several ways.For example, monitoring in real time forwards whether core occurs performing exception, if forwarding core to occur in that performs exception, then it is assumed that described to forward the corresponding virtual network device of core abnormal, the execution exception, which includes, writes illegal memory, memory overwriting, except zero exception etc..For another example management assembly is periodically detected the occupation condition of each virtual network device, if some virtual network device occupies substantial amounts of resource extremely, or occupancy resource does not discharge always, then it is assumed that the virtual network device there occurs exception.Again for example, when the control assembly and forwarding component of virtual network device are located on different physical network devices, management assembly determine forwarding component where physical network device receive control assembly where the aberrant commands of the control assembly that issue of physical network device, you can think that the virtual network device occurs abnormal etc..
After the virtual network device that management assembly notes abnormalities, abnormal marking is carried out to the virtual network device, can be specifically for extremely in state table by the status indication of the virtual network device.The state table as shown in table 2, can be wrapped Include the device identification of each virtual network device and its corresponding state.
Table 2
5202nd, when the virtual network device noted abnormalities, it is isolated into the forwarding core of the abnormal virtual network device distribution.
The forwarding core belongs to the forwarding component.
The management assembly is isolated into the forwarding core of the abnormal virtual network device distribution, specifically includes:Management assembly is retrieved as the forwarding core of the virtual network device distribution, and abnormal interrupt is sent to the forwarding core, the forwarding core is in suspended state, so as to stop the business processing to the virtual network device.The forwarding core for being retrieved as the virtual network device distribution can be specifically that query resource allocation list is retrieved as the forwarding core that the virtual network device is distributed.
Before the forwarding core of virtual network device distribution abnormal described in isolated bit, methods described also includes all communication interfaces for isolating the abnormal virtual network device, specifically, the interface P1 that can isolate between the virtual controlling component of the virtual network device and Virtual Switch Instance, interface P2 between the Virtual Switch Instance and the port assembly 20, and the interface P3 between the virtual network device and other virtual network devices.
All communication interfaces of the isolation virtual network device, including the message received in all communication interfaces of the discarding virtual network device.
In addition, the step of methods described can further include the timer for stopping the virtual network device application.
5203rd, it is released to the resource of the abnormal virtual network device distribution.
The resource for being released to the abnormal virtual network device distribution is specifically included:The global resource of the forwarding core application of the virtual network device distribution is released to, and discharges the forwarding core.
When the virtual network device that management assembly notes abnormalities, the forwarding core distributed for the virtual network device can be hung up, for the global resource of the forwarding core application, first be discharged before core such as lock, internal memory etc., it is necessary to be forwarded as described in release.
The management assembly records the Device ID of the virtual network device and the Core ID of the forwarding core in the forwarding core application lock and internal memory., can be according to the Device ID or Core ID of forwarding core when discharging resource Find the resource of the forwarding core application and discharged.Then, the forwarding core that management assembly release is taken by the virtual network device.The resource for being released to the abnormal virtual network device distribution includes the corresponding list item of the virtual network device in deletion resource distribution table.
The step of methods described can also include being released to the port of described abnormal virtual network device distribution.
The step of methods described can also include discharging the timer of the virtual network device application.
The forwarding core of the abnormal virtual network device distribution that is released to includes the corresponding list item of the virtual network device in the corresponding forwarding core of the virtual network device in deletion resource distribution table or deletion resource distribution table.
After forwarding core and port are released, it is possible to be reassigned to other virtual network devices.
5204th, the related list item to the abnormal virtual network device is handled.
The list item includes the port table that the management assembly is issued to the virtual controlling component of the virtual network device, and virtual controlling component generation ARP table, routing table etc..These list items are all already associated with the Device ID of the virtual network device, therefore can quickly be found by Device ID when creating.
The processing can include following two methods:
First, the list item related to the abnormal virtual network device is deleted, i.e., is all deleted for the list item related to the abnormal virtual network device.Hereafter, when the virtual controlling component restarting of the virtual network device, management assembly directly issues interface table to the virtual network device, for other list items, then re-starts study.
2nd, retain the list item related to the abnormal virtual network device, and the list item is set to unactivated state.When the virtual controlling component restarting of the virtual network device, the list item is set to state of activation, it is possible to carry out the fast quick-recovery of business.
By above-mentioned steps, management assembly is realized to occurring the isolation of abnormal virtual network device.
When the virtual controlling component and Virtual Switch Instance of the virtual network device be not on same physical network device, as shown in figure 3, methods described further comprises:
5205th, sent a notification message to the virtual controlling component of the abnormal virtual network device, so that the virtual controlling component is initialized or restarted.
Management assembly sends a notification message after above-mentioned steps S201-S204 has been performed to the virtual controlling component of the abnormal virtual network device, so that the virtual controlling component is initialized or restarted.
After virtual controlling component is restarted, the management assembly receives the registration request of virtual controlling component, again the virtual controlling component is associated with the forwarding component, distributes port again for the virtual controlling component, complete restarting for the abnormal virtual network device.
In the embodiment of the present invention, management assembly monitors the state of each virtual network device, when the virtual network noted abnormalities During equipment, management assembly is only isolated and is released to the resources such as the abnormal forwarding core of virtual network device distribution, without resetting other forwarding cores in forwarding component, the influence to other virtual network devices when a virtual network device occurs abnormal is avoided, the reliability of system is improved.
The embodiment of the present invention further provides a kind of device 300 for isolating virtual network device, and described device 300 is shared under the scene of same forwarding component applied to multiple virtual network devices.As shown in figure 4, described device includes:Monitoring unit 301, isolated location 302, releasing unit 303, processing unit 304.
The monitoring unit 301 is used for the virtual network device for being monitored to note abnormalities to virtual network device.The virtual network device that the monitoring unit 301 is monitored to note abnormalities especially by various ways to virtual network device.The monitoring unit 301 is additionally operable to after the virtual network device noted abnormalities, and abnormal marking is carried out to the virtual network device.
The isolated location 302 is used in the virtual network device that the monitoring unit 301 notes abnormalities, and is isolated into the forwarding core of the abnormal virtual network device distribution, and the forwarding core belongs to the forwarding component.Specifically, the isolated location 302 is retrieved as the forwarding core of the abnormal virtual network device distribution, and abnormal interrupt is sent to the forwarding core, the forwarding core is in suspended state.The forwarding core for being retrieved as the virtual network device distribution can be specifically that query resource allocation list is retrieved as the forwarding core that the virtual network device is distributed.The resource distribution table is stored in memory (not shown in figure)On.
The isolated location 302 is additionally operable to isolate all communication interfaces of the abnormal virtual network device, the message received in all communication interfaces for abandoning the virtual network device.
The isolated location 302 is additionally operable to stop the timer of the abnormal virtual network device application.
The releasing unit 303 is used for the resource for being released to the abnormal virtual network device distribution.Specifically, the releasing unit is released to the global resource of the forwarding core application of the virtual network device distribution, and discharges the forwarding core.In addition, the releasing unit is additionally operable to be released to the port of described abnormal virtual network device distribution, or further discharge the timer of the abnormal virtual network device application.
The forwarding core that the releasing unit 303 is released to the abnormal virtual network device distribution includes the corresponding list item of the virtual network device in deletion resource distribution table.
The processing unit 304 is used to handle the list item related to the abnormal virtual network device, it can be specifically to delete the list item or reservation with the abnormal virtual network device related list item related to the abnormal virtual network device, and the list item is set to unactivated state.
Described device also includes generation unit 306, for generating the virtual network device.Specifically, the generation unit 306 creates virtual controlling component, and the virtual controlling component is associated with the forwarding component, generates virtual network Equipment, the device identification Device ID distributed for the virtual network device and corresponding resource, the resource includes the forwarding core of port and dynamically distributes, and the corresponding relation of the virtual network device, the forwarding core and the port is recorded in the resource distribution table.
The device of the isolation virtual network device can also include transmitting element 305, be sent a notification message for the virtual controlling component to the abnormal virtual network device, so that the virtual controlling component is initialized or restarted.
Further, the generation unit 306 is additionally operable to receive the registration request that the virtual controlling component is sent when being initialized or being restarted, the virtual controlling component is associated with the forwarding component, again port is distributed for the virtual controlling component, completes restarting for the abnormal virtual network device.
The device of the isolation virtual network device, can be the physical equipment of an individualism, or the management assembly shown in Fig. 1, and the management assembly is located on other physical equipments.
In the embodiment of the present invention, the device of the isolation virtual network device is after the virtual network device noted abnormalities, only isolate and be released to the resources such as the abnormal forwarding core of virtual network device distribution, and handle the list item related to the abnormal virtual network device, without resetting other forwarding cores in forwarding component, the influence to other virtual network devices when a virtual network device occurs abnormal is avoided, the reliability of system is improved.
The structural representation of the device for the isolation virtual network device that Fig. 5 provides for another embodiment of the present invention, described device is shared under the scene of same forwarding component applied to multiple virtual network devices.As shown in Figure 5, described device 500 can be the host server or the network equipment for including computing capability, or personal computer PC, or portable portable computer or terminal etc., the specific embodiment of the invention is not limited implementing for calculate node.The equipment includes:
Processor (processor) 510, communication interface (Communications Interface) 520, memory
(memory) 530, bus 540.
Processor 510, communication interface 520, memory 530 completes mutual communication by bus 540.
Communication interface 520, for being communicated with network element, such as port assembly 20, forwarding component 10 etc..
Processor 55, for configuration processor 532.
Specifically, program 532 can include program code, and described program code includes computer-managed instruction.
Processor 510 is probably a central processor CPU, either specific integrated circuit ASIC (Appl ication Specific Integrated Circuit), or it is arranged to implement one or more integrated circuits of the embodiment of the present invention.
Memory 530, for depositing program 532.Memory 530 may include high-speed RAM memory, it is also possible to also including nonvolatile memory(Non-volati le memory), for example, at least one magnetic disk storage. Program 532 specifically can be used for when executed:
The virtual network device noted abnormalities, is isolated into the forwarding core of the abnormal virtual network device distribution, is released to the resource of the abnormal virtual network device distribution, and the processing list item related to the abnormal virtual network device.
Described program 532 can be also used for sending a notification message to the virtual controlling component of the abnormal virtual network device, notify that the virtual controlling component is initialized or restarted.
The specific related content that may refer in the corresponding embodiments of Fig. 2 is described in detail, here is omitted.
In the present embodiment, the device of the isolation virtual network device is after the virtual network device noted abnormalities, only isolate and be released to the resources such as the abnormal forwarding core of virtual network device distribution, and handle the list item related to the abnormal virtual network device, without resetting other forwarding cores in forwarding component, the influence to other virtual network devices when a virtual network device occurs abnormal is avoided, the reliability of system is improved.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method can be realized by another way.For example, device embodiment described above is only schematical, for example, the division of the unit, it is only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or do not perform.Another, it, by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, can be electrical, machinery or other forms that shown or discussed coupling or direct-coupling or communication connection each other, which can be,.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although the present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It can still modify to the technical scheme described in foregoing embodiments, or carry out equivalent substitution to which part technical characteristic;And these modifications or replacement, the essence of appropriate technical solution is departed from the scope of various embodiments of the present invention technical scheme.

Claims (15)

  1. Claim
    1st, a kind of method for isolating virtual network device, it is characterised in that methods described is shared under the scene of same forwarding component applied to multiple virtual network devices, and methods described includes:
    Virtual network device is monitored;
    When the virtual network device noted abnormalities, the forwarding core of the abnormal virtual network device distribution is isolated into, the forwarding core belongs to the forwarding component;
    It is released to the resource of the abnormal virtual network device distribution;
    The processing list item related to the abnormal virtual network device.
    2nd, according to the method described in claim 1, it is characterised in that the forwarding core of abnormal virtual network device distribution includes described in the isolated bit:
    The forwarding core of the abnormal virtual network device distribution is retrieved as, abnormal interrupt is sent to the forwarding core, the forwarding core is in suspended state.
    3rd, method according to claim 1 or 2, it is characterised in that before the forwarding core of abnormal virtual network device distribution described in the isolated bit, methods described also includes:
    Isolate all communication interfaces of the abnormal virtual network device, abandon the message received in the communication interface.
    4th, the method according to any one in claim 1-3, it is characterised in that the resource for being released to the abnormal virtual network device distribution includes:
    The global resource of the forwarding core application of the virtual network device distribution, the forwarding core are released to, and is the port of the abnormal virtual network device distribution.
    5th, the method according to any one in claim 1-4, it is characterised in that the processing list item related to the abnormal virtual network device includes:
    Delete the list item related to the abnormal virtual network device;Or
    Retain the list item related to the abnormal virtual network device, and the list item is set to unactivated state.
    6th, the method according to any one in claim 1-5, it is characterised in that also include:
    Sent a notification message to the virtual controlling component of the abnormal virtual network device, so that the virtual controlling component is initialized or restarted.
    7th, method according to claim 6, it is characterised in that also include:
    Receive the registration request that the virtual controlling component is sent when being initialized or being restarted, the virtual controlling component is associated with the forwarding component, again port is distributed for the virtual controlling component, completes restarting for the abnormal virtual network device. 8th, a kind of device for isolating virtual network device, it is characterised in that described device is shared under the scene of same forwarding component applied to multiple virtual network devices, and described device includes:
    Monitoring unit, for being monitored to virtual network device;
    Isolated location, for noted abnormalities in the monitoring unit virtual network device when, be isolated into the forwarding core of the abnormal virtual network device distribution, the forwarding core belongs to the forwarding component;
    Releasing unit, the resource for being released to the abnormal virtual network device distribution;
    Processing unit, for handling the list item related to the abnormal virtual network device.
    9th, device according to claim 8, it is characterised in that the isolated location sends abnormal interrupt specifically for being retrieved as the forwarding core that the abnormal virtual network device is distributed to the forwarding core, makes the forwarding core be in suspended state.
    10th, device according to claim 8 or claim 9, it is characterised in that the isolated location is additionally operable to isolate all communication interfaces of the abnormal virtual network device, the message received in all communication interfaces for abandoning the virtual network device.
    11st, the device according to claim 8-10 any one, it is characterized in that, the releasing unit is specifically for being released to the global resource for forwarding core application that the virtual network device is distributed, the forwarding core, and the port distributed for the abnormal virtual network device.
    12nd, the device according to claim 8-11 any one, it is characterised in that the processing unit specifically for:Delete the list item related to the abnormal virtual network device;Or
    Retain the list item related to the abnormal virtual network device, and the list item is set to unactivated state.13rd, the device according to claim 8-12 any one, it is characterized in that, also include transmitting element, sent a notification message for the virtual controlling component to the abnormal virtual network device, so that the virtual controlling component is initialized or restarted.
    14th, device according to claim 13, it is characterized in that, also include generation unit, for receiving the registration request that the virtual controlling component is sent when being initialized or being restarted, the virtual controlling component is associated with the forwarding component, again port is distributed for the virtual controlling component, completes restarting for the abnormal virtual network device.
    15th, a kind of system for isolating virtual network device, it is characterised in that the system is shared under the scene of same forwarding component applied to multiple virtual network devices, and the system includes forwarding component, port assembly and management assembly;The forwarding component includes multiple forwarding cores, and the port assembly includes multiple ports,
    The management assembly is used to generate virtual controlling component, and the virtual controlling component is associated with the forwarding component, Generate virtual network device, and the port distributed for virtual network device in the port assembly and the forwarding core in the forwarding component;
    The management assembly is additionally operable to, and virtual network device is monitored;When the virtual network device noted abnormalities, the forwarding core of the abnormal virtual network device distribution is isolated into;It is released to the resource of the abnormal virtual network device distribution;The processing list item related to the abnormal virtual network device.
    16th, system according to claim 15, it is characterised in that the management assembly includes the device of the isolation virtual network device as described in any one in claim 8-14.
    17th, a kind of device for isolating virtual network device, it is characterised in that described device is shared under the scene of same forwarding component applied to multiple virtual network devices, and described device includes:
    Processor, communication interface, memory and bus;
    The processor, communication interface and memory complete mutual communication by the bus;
    The memory, for storage program;
    The processor, the program for performing the memory storage;
    Described program is used to realize the method according to any one in claim 1-7 when executed.
CN201280002182.5A 2012-10-18 2012-10-18 A kind of methods, devices and systems for isolating virtual network device Active CN104025510B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/083144 WO2014059645A1 (en) 2012-10-18 2012-10-18 Method, apparatus, and system for isolating virtual network devices

Publications (2)

Publication Number Publication Date
CN104025510A true CN104025510A (en) 2014-09-03
CN104025510B CN104025510B (en) 2017-09-05

Family

ID=50487462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201280002182.5A Active CN104025510B (en) 2012-10-18 2012-10-18 A kind of methods, devices and systems for isolating virtual network device

Country Status (2)

Country Link
CN (1) CN104025510B (en)
WO (1) WO2014059645A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1914867A (en) * 2004-02-19 2007-02-14 思科技术公司 Interface bundles in virtual network devices
WO2008124609A1 (en) * 2007-04-06 2008-10-16 Cisco Technology, Inc. Logical partitioning of a physical device
CN101635652A (en) * 2009-09-07 2010-01-27 杭州华三通信技术有限公司 Method and equipment for recovering fault of multi-core system
CN102053873A (en) * 2011-01-13 2011-05-11 浙江大学 Method for ensuring fault isolation of virtual machines of cache-aware multi-core processor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1914867A (en) * 2004-02-19 2007-02-14 思科技术公司 Interface bundles in virtual network devices
WO2008124609A1 (en) * 2007-04-06 2008-10-16 Cisco Technology, Inc. Logical partitioning of a physical device
CN101635652A (en) * 2009-09-07 2010-01-27 杭州华三通信技术有限公司 Method and equipment for recovering fault of multi-core system
CN102053873A (en) * 2011-01-13 2011-05-11 浙江大学 Method for ensuring fault isolation of virtual machines of cache-aware multi-core processor

Also Published As

Publication number Publication date
WO2014059645A1 (en) 2014-04-24
CN104025510B (en) 2017-09-05

Similar Documents

Publication Publication Date Title
US20200204486A1 (en) Network interface card, computing device, and data packet processing method
US10623310B2 (en) Network interface card, computing device, and data packet processing method
CN110896371B (en) Virtual network equipment and related method
EP3176980B1 (en) Unified server communication method, baseboard management controller and server
JP5521620B2 (en) Relay device, virtual machine system, and relay method
CN105634998B (en) Method and system for unified monitoring of physical machine and virtual machine in multi-tenant environment
CN106301859B (en) Method, device and system for managing network card
US20180210752A1 (en) Accelerator virtualization method and apparatus, and centralized resource manager
US20170264496A1 (en) Method and device for information processing
CN102845035A (en) Method of identifying destination in virtual environment
CN105511954A (en) Method and device for message processing
CN107306215B (en) Data processing method, system and node
CN104104570A (en) Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
CN105284080A (en) Data center system and virtual network management method of data center
CN104065759A (en) Method for improving utilization efficiency of NAT address pool resource and device thereof
CN104580124A (en) Protocol stack selection method, device and equipment
CN110063045B (en) Message processing method and device in cloud computing system
CN111181850B (en) Data packet flooding suppression method, device and equipment and computer storage medium
CN110830574B (en) Method for realizing intranet load balance based on docker container
WO2013178099A1 (en) System, method, client and service centre for realizing remote desktop
CN109194589B (en) MDC (media data center) implementation method and device
WO2021103657A1 (en) Network operation method, apparatus, and device and storage medium
CN104243608A (en) Communication method, cloud management server and virtual switch
CN106161115A (en) A kind of device management method being applied to VXLAN and device
CN109561025A (en) A kind of information processing method and relevant device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant