A data center is a facility that houses computer systems and various networking, storage, and other related components. Data centers may, for example, be used by service providers to provide computing services to businesses and individuals as a remote computing service or provide “software as a service” (e.g., cloud computing). In some cases, such users may wish to retain use of some of their computing or storage assets, while taking advantage of the cloud computing capabilities of the data center. However, the incorporation of such assets into the data center's networks may raise a number of issues.
It is with respect to these considerations and others that the disclosure made herein is presented.
In some embodiments, users of a remote computing service may be provided the option of incorporating custom or third-party hardware such as high capacity processing machines or storage devices into their virtual networks in the cloud. In such cases, it is desirable to apply existing user policies to the third-party hardware without impacting the performance of the user's virtual machines in their virtual network. One way this can be accomplished is by programming network devices such as the top-of-rack (ToR) switches for routing traffic into the customer's virtual network. However, the options for programming network devices may be limited. For example, loading the software defined network policy stack on a network device may not be possible due to hardware restrictions and limitations imposed by the manufacturer of the network device.
One way to allow distributed computing (e.g., cloud) environments to provide virtualized networking services that integrate third-party hardware may be to implement a software defined networking (SDN) appliance virtual machine (VM) outside of a user's virtual network. The SDN appliance virtual machine may include one or more network containers (NCs). Each of the network containers may include SDN policies that are applicable to a user's virtual network. Therefore, a user's network container may process inbound and outbound packet traffic according to the SDN policies defined in the user's network container. However, if the SDN policies are enforced by virtual machines running in the network containers, an extra hop into the virtual machine is required that adds to the switching rate and therefore may impact performance.
In some embodiments disclosed herein, a multi-tenant appliance may be implemented which includes a network container for each tenant that incorporates third-party hardware. Each network container may include a hairpin layer to reflect packets before arriving at the tenant's virtual machine(s). In some embodiments, the multi-tenant appliance may apply tenant policies to packet traffic going to and from the third-party hardware. The multi-tenant appliance may, for example, be implemented as an off-load chassis that provides standard interfaces to which the third-party hardware can communicate. The multi-tenant appliance provides a host that the third-party hardware can interface to, alleviating the need for the third-party hardware to host their own interfaces to the virtual network. The multi-tenant appliance may also alleviate the need for VM hosts to run the policy functionality which can slow performance, providing a hardware-based policy service that can enable improved performance.
In one embodiment, the rules may be implemented as virtual filtering platform (VFP) rules that may be offloaded to a field-programmable gate array (FPGA) device which is configured to be a hardware acceleration device so that data traffic will be processed in hardware and minimize impact to software, allowing end-to-end traffic to maintain its line rate without additional latency. Furthermore, the hairpin layer may allow for software processing of packets to be avoided. Thus the data traffic does not reach the virtual machine but gets reflected and is directed to the outbound rules. Since these are VFP rules that can get offloaded to the FPGA, traffic will be processed in hardware and not impact the software so that the end-to-end traffic will be seen at the line rate without additional latency.
In one example, a packet from the user's hardware may be received at a top of rack (ToR) switch. The ToR may forward the packet to the user's network container and the packet may be received by the filtering platform configured with the SDN policies. The filtering platform applies the SDN policies to the packet and sends the packet to a destination identified in the packet.
In an embodiment, the filtering platform may offload the SDN policies for inbound and outbound traffic associated with the customer's hardware to a programmed device such as the FPGA. After the offload to the FPGA, inbound and outbound traffic associated with the user's hardware may bypass the filtering platform and the user's container. In an embodiment, the FPGA may directly process inbound and outbound traffic associated with the user's hardware.
In an embodiment, when a ToR does not have an effective policy for a network packet, the ToR may offload policy evaluation to the multi-tenant appliance and obtain applicable policies from the multi-tenant appliance, after which the ToR may determine the next hop for the network packet. This policy evaluation need only be done for the first packet. The independent device may update the ToR when a policy becomes invalid.
The described techniques can allow for incorporation of a user's custom hardware while maintaining efficient use of computing resources such as processor cycles, memory, network bandwidth, and power. This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended that this Summary be used to limit the scope of the claimed subject matter. Furthermore, the claimed subject matter is not limited to implementations that solve any or all disadvantages noted in any part of this disclosure.
The Detailed Description is described with reference to the accompanying figures. In the description detailed herein, references are made to the accompanying drawings that form a part hereof, and that show, by way of illustration, specific embodiments or examples. The drawings herein are not drawn to scale. Like numerals represent like elements throughout the several figures.
In some computing environments that provide virtualized computing and storage services, host networking may be configured to offload tasks to hardware devices. Such devices may be referred to as a hardware acceleration device. For example, a device may be configured to perform computing and communications tasks that are offloaded from the CPU. The device may include hardware logic for implementing functions, such as a field-programmable gate array (FPGA) device, a massively parallel processor array (MPPA) device, a graphics processing unit (GPU), an application-specific integrated circuit (ASIC), a multiprocessor System-on-Chip (MPSoC), etc., and capable of performing many of the same tasks that are typically accomplished by other devices such as the CPU. The term hardware acceleration device may also encompass other ways of leveraging a hardware acceleration and offloading techniques to perform a function, such as, for example, a) a case in which at least some tasks are implemented in hard ASIC logic or the like; b) a case in which at least some tasks are implemented in soft (configurable) FPGA logic or the like; c) a case in which at least some tasks run as software on FPGA software processor overlays or the like; d) a case in which at least some tasks run as software on hard ASIC processors or the like, etc., or any combination thereof. In some embodiments, the peripheral device may be a network communications device, such as a network interface card (NIC). Such a NIC may be referred to herein as a smartNIC or sNIC.
Various techniques are described herein for implementing an infrastructure virtual network comprising one or more devices that apply SDN policies for a user of virtualized computing services. The described embodiments include a specialized hardware appliance, which leverages the described FPGA (or similar device) and a specialized policy evaluation engine. This specialized hardware appliance may work with devices such as the ToR to provide line rate evaluation of policies and routing of a next hop where a network packet should be forwarded. The specialized hardware appliance may variously be referred to herein as a multi-tenant appliance, SDN appliance, or appliance.
In one example scenario, one or more ToRs may be configured to communicate directly with a network container for packet traffic to and from the user's third-party hardware. The multi-tenant appliance may be implemented that is linked to the user's network container and configured with the SDN policies contained in the network container. In one example, the appliance may include a virtual filtering platform (VFP). A first inbound or outbound data packet is received from/to the user's third-party hardware at the appliance and the SDN policies are applied to those packets using the appliance. The SDN policies of the appliance may be offloaded to the FPGA. Subsequent packet data associated with the user's third-party hardware may be processed using the FPGA, where the FPGA updates the packet data using the SDN policies provided from the appliance.
In one embodiment, the multi-tenant appliance may be deployed by the infrastructure service in the infrastructure virtual network. A virtual network user who desires to incorporate third-party hardware may delegate one subnet in their virtual network to this infrastructure service. The multi-tenant appliance may implement a network container in the user's delegated subnet. The ToR connected to the third-party hardware may be configured to forward all the traffic coming in or going out of the third-party hardware to the appliance except when the traffic is being sent from the appliance.
The multi-tenant appliance may be configured to apply the SDN policies that are configured for the third-party hardware. After applying the SDN policies, the appliance network container may implement a hairpin layer which is configured to redirect the traffic back out on the network. Since the hairpin layer is associated with the appliance, all transformations for the packet on the appliance can be offloaded to the FPGA hardware. Once the traffic is offloaded, the third-party hardware will see traffic at the switching rate without degradation in performance.
Packet flow for inbound traffic to the third-party hardware
Packet flow for outbound traffic from the third-party hardware
Data center 200 may include servers 226a, 226b, and 226c (which may be referred to herein singularly as “a server 226” or in the plural as “the servers 226”) that provide computing resources available as virtual machines 228a and 228b (which may be referred to herein singularly as “a virtual machine 228” or in the plural as “the virtual machines 228”). The virtual machines 228 may be configured to execute applications such as Web servers, application servers, media servers, database servers, and the like. Other resources that may be provided include data storage resources (not shown on
Referring to
Communications network 230 may provide access to computers 202. Computers 202 may be computers utilized by users 200. Computer 202a, 202b or 202c may be a server, a desktop or laptop personal computer, a tablet computer, a smartphone, a set-top box, or any other computing device capable of accessing data center 200. User computer 202a or 202b may connect directly to the Internet (e.g., via a cable modem). User computer 202c may be internal to the data center 200 and may connect directly to the resources in the data center 200 via internal networks. Although only three user computers 202a, 202b, and 202c are depicted, it should be appreciated that there may be multiple user computers.
Computers 202 may also be utilized to configure aspects of the computing resources provided by data center 200. For example, data center 200 may provide a Web interface through which aspects of its operation may be configured through the use of a Web browser application program executing on user computer 202. Alternatively, a stand-alone application program executing on user computer 202 may be used to access an application programming interface (API) exposed by data center 200 for performing the configuration operations.
Servers 226 may be configured to provide the computing resources described above. One or more of the servers 226 may be configured to execute a manager 220a or 220b (which may be referred herein singularly as “a manager 220” or in the plural as “the managers 220”) configured to execute the virtual machines. The managers 220 may be a virtual machine monitor (VMM), fabric controller, or another type of program configured to enable the execution of virtual machines 228 on servers 226, for example.
It should be appreciated that although the embodiments disclosed above are discussed in the context of virtual machines, other types of implementations can be utilized with the concepts and technologies disclosed herein.
In the example data center 200 shown in
It should be appreciated that the network topology illustrated in
It should also be appreciated that data center 200 described in
Turning now to
Operation 301 may be followed by operation 303. Operation 303 illustrates accessing policies that are applicable to a virtual network implemented by the one or more virtual machines.
Operation 303 may be followed by operation 305. Operation 305 illustrates applying the policies to the data packets before redirecting the data packets. Operation 305 may be followed by operation 307. Operation 307 illustrates offloading application of the policies for additional packets to an acceleration device. Operation 307 may be followed by operation 309. Operation 309 illustrates processing subsequent inbound and outbound data packets associated with the custom device at the acceleration device.
In an embodiment, the acceleration device is an FPGA. In an embodiment, the appliance is part of a network container configured to implement a data interface to the custom device.
In an embodiment, the appliance comprises a plurality of network containers configured to implement data interfaces to a plurality of custom devices. In an embodiment, the custom device is part of a virtual network. In some embodiments, a subnet of the virtual network is designated for the custom device.
Referring to
Operation 401 may be followed by operation 403. Operation 403 illustrates forwarding the packet to an appliance configured to apply, to the packet, policies that are applicable to the virtual network.
Operation 403 may be followed by operation 404. Operation 405 illustrates sending, by the custom device, the data packet to the destination address identified in the packet.
Operation 405 may be followed by operation 407. Operation 407 illustrates reflecting, by a hairpin layer, the packet back to the destination.
Operation 407 may be followed by operation 409. Operation 409 illustrates bypassing, by the platform, the policies for the returned packet.
Operation 409 may be followed by operation 411. Operation 411 illustrates offloading application of the policies to an acceleration device.
Referring to
Operation 501 may be followed by operation 503. Operation 503 illustrates accessing policies that are applicable to a virtual network associated with the custom device.
Operation 503 may be followed by operation 505. Operation 505 illustrates applying the policies to the packet.
Operation 505 may be followed by operation 507. Operation 507 illustrates redirecting, by a hairpin layer, the packet to a destination address contained in the packet.
Operation 507 may be followed by operation 509. Operation 509 illustrates for subsequent packets, bypassing application of the policies to the subsequent packets.
Operation 509 may be followed by operation 511. Operation 511 illustrates offloading application of the policies to an acceleration device.
In an embodiment, the acceleration device is an FPGA. In an embodiment, the device comprises a network container configured to implement a data interface to the custom device.
In an embodiment, the device comprises a plurality of network containers configured to implement data interfaces to a plurality of custom devices. In an embodiment, the custom device is part of a virtual network. In an embodiment, a subnet of the virtual network is designated for the custom device.
The various aspects of the disclosure are described herein with regard to certain examples and embodiments, which are intended to illustrate but not to limit the disclosure. It should be appreciated that the subject matter presented herein may be implemented as a computer process, a computer-controlled apparatus, a computing system, an article of manufacture, such as a computer-readable storage medium, or a component including hardware logic for implementing functions, such as a field-programmable gate array (FPGA) device, a massively parallel processor array (MPPA) device, a graphics processing unit (GPU), an application-specific integrated circuit (ASIC), a multiprocessor System-on-Chip (MPSoC), etc. A component may also encompass other ways of leveraging a device to perform a function, such as, for example, a) a case in which at least some tasks are implemented in hard ASIC logic or the like; b) a case in which at least some tasks are implemented in soft (configurable) FPGA logic or the like; c) a case in which at least some tasks run as software on FPGA software processor overlays or the like; d) a case in which at least some tasks run as software on hard ASIC processors or the like, etc., or any combination thereof. A component may represent a homogeneous collection of hardware acceleration devices, such as, for example, FPGA devices. On the other hand, a component may represent a heterogeneous collection of different types of hardware acceleration devices including different types of FPGA devices having different respective processing capabilities and architectures, a mixture of FPGA devices and other types hardware acceleration devices, etc.
In various embodiments, computing device 600 may be a uniprocessor system including one processor 610 or a multiprocessor system including several processors 610 (e.g., two, four, eight, or another suitable number). Processors 610 may be any suitable processors capable of executing instructions. For example, in various embodiments, processors 610 may be general-purpose or embedded processors implementing any of a variety of instruction set architectures (ISAs), such as the x86, PowerPC, SPARC, or MIPS ISAs, or any other suitable ISA. In multiprocessor systems, each of processors 610 may commonly, but not necessarily, implement the same ISA.
System memory 66 may be configured to store instructions and data accessible by processor(s) 610. In various embodiments, system memory 66 may be implemented using any suitable memory technology, such as static random access memory (SRAM), synchronous dynamic RAM (SDRAM), nonvolatile/Flash-type memory, or any other type of memory. In the illustrated embodiment, program instructions and data implementing one or more desired functions, such as those methods, techniques and data described above, are shown stored within system memory 620 as code 625 and data 626.
In one embodiment, I/O interface 630 may be configured to coordinate I/O traffic between the processor 610, system memory 66, and any peripheral devices in the device, including network interface 640 or other peripheral interfaces. In some embodiments, I/O interface 630 may perform any necessary protocol, timing, or other data transformations to convert data signals from one component (e.g., system memory 620) into a format suitable for use by another component (e.g., processor 610). In some embodiments, I/O interface 630 may include support for devices attached through various types of peripheral buses, such as a variant of the Peripheral Component Interconnect (PCI) bus standard or the Universal Serial Bus (USB) standard, for example. In some embodiments, the function of I/O interface 630 may be split into two or more separate components. Also, in some embodiments some or all of the functionality of I/O interface 630, such as an interface to system memory 620, may be incorporated directly into processor 610.
Network interface 640 may be configured to allow data to be exchanged between computing device 600 and other device or devices 660 attached to a network or network(s) 660, such as other computer systems or devices as illustrated in
In some embodiments, system memory 620 may be one embodiment of a computer-accessible medium configured to store program instructions and data as described above for
Various storage devices and their associated computer-readable media provide non-volatile storage for the computing devices described herein. Computer-readable media as discussed herein may refer to a mass storage device, such as a solid-state drive, a hard disk or CD-ROM drive. However, it should be appreciated by those skilled in the art that computer-readable media can be any available computer storage media that can be accessed by a computing device.
By way of example, and not limitation, computer storage media may include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer media includes, but is not limited to, RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, digital versatile disks (“DVD”), HD-DVD, BLU-RAY, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the computing devices discussed herein. For purposes of the claims, the phrase “computer storage medium,” “computer-readable storage medium” and variations thereof, does not include waves, signals, and/or other transitory and/or intangible communication media, per se.
Encoding the software modules presented herein also may transform the physical structure of the computer-readable media presented herein. The specific transformation of physical structure may depend on various factors, in different implementations of this description. Examples of such factors may include, but are not limited to, the technology used to implement the computer-readable media, whether the computer-readable media is characterized as primary or secondary storage, and the like. For example, if the computer-readable media is implemented as semiconductor-based memory, the software disclosed herein may be encoded on the computer-readable media by transforming the physical state of the semiconductor memory. For example, the software may transform the state of transistors, capacitors, or other discrete circuit elements constituting the semiconductor memory. The software also may transform the physical state of such components in order to store data thereupon.
As another example, the computer-readable media disclosed herein may be implemented using magnetic or optical technology. In such implementations, the software presented herein may transform the physical state of magnetic or optical media, when the software is encoded therein. These transformations may include altering the magnetic characteristics of particular locations within given magnetic media. These transformations also may include altering the physical features or characteristics of particular locations within given optical media, to change the optical characteristics of those locations. Other transformations of physical media are possible without departing from the scope and spirit of the present description, with the foregoing examples provided only to facilitate this discussion.
In light of the above, it should be appreciated that many types of physical transformations take place in the disclosed computing devices in order to store and execute the software components and/or functionality presented herein. It is also contemplated that the disclosed computing devices may not include all of the illustrated components shown in
Although the various configurations have been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended representations is not necessarily limited to the specific features or acts described. Rather, the specific features and acts are disclosed as example forms of implementing the claimed subject matter.
Conditional language used herein, such as, among others, “can,” “could,” “might,” “may,” “e.g.,” and the like, unless specifically stated otherwise, or otherwise understood within the context as used, is generally intended to convey that certain embodiments include, while other embodiments do not include, certain features, elements, and/or steps. Thus, such conditional language is not generally intended to imply that features, elements, and/or steps are in any way required for one or more embodiments or that one or more embodiments necessarily include logic for deciding, with or without author input or prompting, whether these features, elements, and/or steps are included or are to be performed in any particular embodiment. The terms “comprising,” “including,” “having,” and the like are synonymous and are used inclusively, in an open-ended fashion, and do not exclude additional elements, features, acts, operations, and so forth. Also, the term “or” is used in its inclusive sense (and not in its exclusive sense) so that when used, for example, to connect a list of elements, the term “or” means one, some, or all of the elements in the list.
While certain example embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions disclosed herein. Thus, nothing in the foregoing description is intended to imply that any particular feature, characteristic, step, module, or block is necessary or indispensable. Indeed, the novel methods and systems described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the methods and systems described herein may be made without departing from the spirit of the inventions disclosed herein. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of certain of the inventions disclosed herein.
It should be appreciated any reference to “first,” “second,” etc. items and/or abstract concepts within the description is not intended to and should not be construed to necessarily correspond to any reference of “first,” “second,” etc. elements of the claims. In particular, within this Summary and/or the following Detailed Description, items and/or abstract concepts such as, for example, individual computing devices and/or operational states of the computing cluster may be distinguished by numerical designations without such designations corresponding to the claims or even other paragraphs of the Summary and/or Detailed Description. For example, any designation of a “first operational state” and “second operational state” of the computing cluster within a paragraph of this disclosure is used solely to distinguish two different operational states of the computing cluster within that specific paragraph—not any other paragraph and particularly not the claims.
In closing, although the various techniques have been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended representations is not necessarily limited to the specific features or acts described. Rather, the specific features and acts are disclosed as example forms of implementing the claimed subject matter.
This application claims the benefit of and priority to U.S. Provisional Application No. 62/852,939, filed May 24, 2019, entitled “THIRD PARTY HARDWARE INTEGRATION IN VIRTUAL NETWORKS.” the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
62852939 | May 2019 | US |