EP2959636A1 - Statische übersetzung von netzwerkweiterleitungsebenenmodellen in eine zielimplementierung in der hardware-abstraktionsschicht - Google Patents

Statische übersetzung von netzwerkweiterleitungsebenenmodellen in eine zielimplementierung in der hardware-abstraktionsschicht

Info

Publication number
EP2959636A1
EP2959636A1 EP14714814.2A EP14714814A EP2959636A1 EP 2959636 A1 EP2959636 A1 EP 2959636A1 EP 14714814 A EP14714814 A EP 14714814A EP 2959636 A1 EP2959636 A1 EP 2959636A1
Authority
EP
European Patent Office
Prior art keywords
device model
network
target
target device
mapping
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.)
Withdrawn
Application number
EP14714814.2A
Other languages
English (en)
French (fr)
Inventor
Navindra Yadav
Daniel Todd Cohn
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.)
Google LLC
Original Assignee
Google LLC
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
Priority claimed from US13/775,994 external-priority patent/US20140241346A1/en
Priority claimed from US13/776,012 external-priority patent/US20140241347A1/en
Application filed by Google LLC filed Critical Google LLC
Publication of EP2959636A1 publication Critical patent/EP2959636A1/de
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/64Routing or path finding of packets in data switching networks using an overlay routing layer

Definitions

  • information may be sent along a path from a source device to a destination device.
  • the source device and the destination device may be, for example personal computers, servers such as email servers, web servers, or file servers, or other electronic devices capable of sending and/or receiving information via the network.
  • the information may pass through one or more forwarding devices, such as routers or other electronic devices having the ability to forward the information to another device.
  • the intermediate devices may receive the information and use functions, algorithms, data structures, and rules to determine where and how to forward the information so that the information moves towards its intended destination.
  • These functions, algorithms, data structures, and rules form the "forwarding plane" of the network.
  • the functions, algorithms, data structures, and rules of the forwarding plane may be implemented and/or enforced by one or more forwarding devices in the network.
  • a forwarding device may receive a packet on an inbound interface, look up the destination address of the packet, and apply a rule which causes the forwarding device to look up the destination address in a particular routing table.
  • the routing table may provide a list of "next destinations" which represent a device to which the packet should be sent.
  • the next destination for a particular packet might be, for example, the final destination device or another intermediate forwarding device.
  • the next destination may be identified by an address stored in the routing table.
  • the next destinations stored in the routing table may be indexed by a final destination of the packet - thus, by looking up the final destination of the packet (e.g., as identified by a header of the packet), the next destination can be retrieved from the routing table.
  • the forwarding device may then forward the packet on an outbound interface to the identified next destination.
  • Certain aspects of the forwarding plane can affect the efficiency of the network. These aspects include the specific rules, algorithms, data structures, and functions employed, the manner in which the forwarding plane is implemented, and the location at which the forwarding plane is implemented and/or enforced.
  • a routing controller in a communication network may be responsible for generating a device model for a target device using a universal language of network primitives.
  • the target device may have forwarding capabilities. Exemplary embodiments allow the target device to determine how to forward the incoming data packets based on the intended behavior of the network.
  • the target device may translate the desired behavior described using the universal language into implementation based on the capabilities of the target device. The translation may generate a mapping between the desired behaviors and the implementations thereof.
  • the universal language is a target-independent description that is used to define the intent of the network, i.e. the intended forwarding behavior.
  • the universal language may describe a requested capability (e.g., "find the longest prefix match of a subnet mask in a routing table") without specifying how to implement the requested capability (e.g., without specifying a particular algorithm for performing a longest prefix match).
  • the universal language may support multiple implementations of the specified functionality (e.g., a first algorithm for finding a longest prefix match, and a second algorithm for finding a longest prefix match).
  • the device model may be generated using a target-independent universal language of network primitives.
  • Network primitives are building blocks of the device model.
  • the network primitives can be grouped to form submodels to create modularity within the device model.
  • the network primitives and the submodels can be stored in libraries.
  • the controller may send the device model to a target device.
  • the target device may translate the device model to implementation
  • the device model may include one or more known identifiers associated with one or more portions of the model.
  • the mapping between the known identifiers and the capabilities of a target device is known.
  • the known mappings may be stored, for example, in a database of known mappings.
  • the target device upon receiving the device model with known identifiers from the controller, may retrieve and use the mapping to statically translate the device model to implementation. Absent a known mapping, the translator of the target device would have to dynamically translate intents described in the device model to implementation. Accordingly, the device model provides reusability of the previously determined mappings and does not require the translator to dynamically translate the device model each time the device model is received from the controller.
  • a non-transitory electronic device readable storage medium is provided.
  • the storage medium further holds instructions that, when executed, cause one or more processors to receive a device model described in a target-independent format.
  • the device model includes one or more network primitives.
  • the device model describes an intended forwarding behavior for a target device.
  • the storage medium also holds instructions that, when executed, cause one or more processors to translate the device model to the one or more capabilities of the target device, the target device having a forwarding capability.
  • the translating includes mapping the one or more network primitives to the one or more capabilities of the target device.
  • the storage medium further holds instructions that, when executed, cause one or more processors to configure the target device based on the translating and receive one or more input packets.
  • the storage medium also holds instructions that, when executed, cause one or more processors to forward one or more input packets to one or more elements of the network based on the configuring.
  • a non-transitory electronic device readable storage medium is provided.
  • the storage medium further holds instructions that, when executed, cause one or more processors to generate a device model in a target-independent format.
  • the device model includes one or more network primitives.
  • the device model describes an intended forwarding behavior for a target device.
  • the storage medium also further holds instructions that, when executed, cause one or more processors to send the device model to the target device in the network for implementation, the target device having a forwarding capability.
  • a system comprising a routing controller, a target device and a storage.
  • the routing controller generates a device model described in a target-independent format.
  • the device model includes one or more network primitives.
  • the target device receives the device model.
  • the device model describes an intended forwarding behavior for the target device.
  • the target device has a forwarding or switching capability.
  • the storage stores a plurality of network primitives.
  • the device model is generated using the one or more network primitives retrieved from the storage.
  • the target device is configured to map the intended forwarding behavior described in the device model to the implementation of the one or more capabilities of the target device.
  • a non-transitory electronic device readable storage medium holds instructions that, when executed, cause one or more processors to receive a device model described in a target-independent format.
  • the device model describes an intended forwarding behavior for a target device.
  • the device model includes one or more known identifiers associated with one or more portions of the device model.
  • the storage medium further holds instructions that, when executed, cause one or more processors to retrieve a mapping that maps the one or more known identifiers of the device model to implementation of one or more capabilities of a target device having a forwarding or switching capability.
  • the storage medium further holds instructions that, when executed, cause one or more processors to configure the target device by statically mapping the intended forwarding behavior described in the device model to the implementation of the one or more capabilities of the target device using the retrieved mapping.
  • a method entails receiving a device model described in a target-independent format.
  • the device model describes an intended forwarding behavior for a target device.
  • the method further entails retrieving a mapping that maps one or more elements of the device model to implementation of one or more capabilities of the target device having a forwarding or switching capability.
  • the method also involves configuring the target device by statically mapping the intended forwarding behavior described in the device model to the implementation of the one or more capabilities of the target device using the retrieved mapping.
  • the method further involves receiving one or more input packets and forwarding the one or more input packets to one or more elements of the network based on the configuring.
  • a system comprising a routing controller, a target device and a storage.
  • the routing controller generates a device model described in a target-independent format.
  • the target device receives the device model.
  • the device model describes an intended forwarding behavior for the target device.
  • the target device has a forwarding or switching capability.
  • the storage stores one or more mappings that map one or more portions of the device model to implementation of one or more capabilities of the target device.
  • the target device is configured to retrieve one or more mappings from the storage for statically mapping the intended forwarding behavior described in the device model to the implementation of the one or more capabilities of the target device using the retrieved mapping.
  • Figure 1 depicts an exemplary network 100 including a routing controller and a target device according to an exemplary embodiment.
  • Figure 2 depicts an exemplary manner how elements of the exemplary network 100 interact according to an exemplary embodiment.
  • Figure 3 depicts an exemplary device model generated by a controller according to an exemplary embodiment.
  • Figure 4 is a flowchart describing exemplary steps performed by a controller in accordance with an exemplary embodiment.
  • Figure 5 is a flowchart describing exemplary steps performed by a target device in accordance with an exemplary embodiment.
  • Figure 6 depicts an exemplary electronic device suitable for use with exemplary embodiments described herein.
  • Figure 7 depicts an exemplary network implementation of processing performed according to an exemplary embodiment. Detailed Description
  • exemplary embodiments allow abstracting of the forwarding plane of a software defined network.
  • the abstraction of setting forwarding table entries loses too much information about the intents of the application developer.
  • conventional techniques cannot leverage all the features of the forwarding device to deliver scalable and efficient end-to-end implementations.
  • the present application aims at mapping high-level forwarding intents to low-level features of the forwarding device.
  • a routing controller in the network may be responsible for generating a device model using a universal language of network primitives.
  • the device model may define the intent of the network, i.e. the intended forwarding behavior.
  • the device model may include one or more identifiers associated with one or more portions of the model.
  • the controller may send the device model to a target device.
  • the target device translates the desired behavior described in the device model into an implementation based on the capabilities of the target device.
  • the target device may include predetermined hardware or software logic for implementing the desired behavior defined in the device model. Accordingly, the target device may implement a requested capability defined in the device model without receiving instructions prescribing how to implement the requested capability. If the identifiers included in the device model are known to the target device, i.e. the target device previously received and translated the identifiers, the target device would also know the mapping between the identifiers and the implementation for the identifiers.
  • the target device upon receiving the device model from the controller, may retrieve and use the known mapping to statically translate the device model into an implementation.
  • the translator of the target device would have to translate the device model into an implementation dynamically. Accordingly, static translation of the device model provides reusability of the previously determined mappings and does not require the translator to dynamically translate the device model each time the device model is received from the routing controller.
  • Figure 1 depicts an exemplary network 100 including a routing controller 110 and a target device 120 according to an exemplary embodiment.
  • the controller 1 10 may include a processor, a server or other device implemented in hardware, software or a combination thereof.
  • the network 100 may be a communications network such as the Internet, an intranet, or a telephone network, among other possibilities.
  • the network 100 may include one or more optical, electronic, or other transmission mediums.
  • the controller 110 of the network 100 may be in communication with the target device 120.
  • the controller 110 may be connected to the target device 120 directly or indirectly.
  • the network 100 is for explanatory purposes only, and a network suitable for use with the exemplary embodiments described herein may have other elements or capabilities.
  • the controller may generate a plurality of device models according to various embodiments.
  • the target device 120 may have forwarding functionality such that the target device 120 is capable of receiving incoming information on an inbound interface, processing the information to determine a next destination of the information, and forwarding the information to the next destination on an outbound interface.
  • the controller 1 10 may generate a device model 112 using a universal language.
  • the device model 1 12 may define the intent of the network 100 (e.g., the intended forwarding behavior within the network 100) using the universal language.
  • the device model 1 12 may describe a desired behavior of a node of the network 100 under certain conditions, such as upon the receipt of an incoming packet.
  • the universal language is a target-independent language that can be interpreted by all recipient devices.
  • the universal language may be formed of building blocks called "network primitives".
  • the device model 1 12 may include one or more network primitives 1 14.
  • a network primitive 114 is a basic unit of functionality to be implemented by elements of the network 100.
  • a network primitive 1 14 may be, for example, a description of a particular functionality to be used in the network 100.
  • a network primitive 114 may describe what actions elements of the network 100 are meant to perform, but typically will not include requirements for how those actions are to be carried out. Thus, a networking primitive 114 may describe a desired outcome without providing implementation details for achieving the outcome.
  • the implementation details may be left to the particular device implementing the network primitive 114, or may be specified by an external device.
  • the device model 1 12 may be constructed as a collection of one or more network primitives 114. A same network primitive may appear multiple times in a given device model.
  • network primitives can pass information between themselves.
  • a network primitive may produce information for another network primitive to consume.
  • the information that is exchanged between the primitives may be assigned a name.
  • the named information may be referred as a handle. Naming the information allows the information to be referred to symbolically. Naming the information further improves the readability of the device model.
  • the information may also be typed, i.e. one or more attributes, such as the size of the information, may be associated with the information.
  • a network primitive 114 related to queuing may specify that a recipient device of the device model 1 12 is to implement flat queuing, hierarchical queuing, buffer resource sharing, dynamic buffer sizing, tail drop queue management, weighted tail drop queue management, or queue high and low watermarks.
  • Scheduling primitives may specify that scheduling should be in a round robin fashion, as a weighted round robin, low latency queuing or strict priority queuing, weighted fair queuing, or class-based weighted fair queuing.
  • Metering primitives may make use of one rate two color (1R2C) IP packet marking, 1R3C marking, or 2R3C marking. Numerous other networking primitives may also be utilized. The details of the implementations of these networking primitives may be unspecified and left up to the device that implements the primitives.
  • the network primitives may include core network primitives and control network primitives.
  • the core network primitives may describe an independent thread of data path functionality.
  • a core network primitive may describe packet forwarding.
  • the core primitives may be used to build a device model for network elements including but not limited to a switch, router, load balancer, flow device.
  • the core primitives may be used to represent fragmentation, reassembly, cryptographic processing, etc.
  • the control network primitives may describe administrative functionality such as the interaction between the independent threads, event handling, exception handling, etc.
  • Exemplary core network primitives may include the parse primitives, the table primitives, the logic primitive, the arithmetic primitive, the packet replicate primitive, the rewrite primitives, the meter primitive, the queue primitive, the scheduler primitive, the discard primitive, the counter primitive and the external primitive. Some of these exemplary core primitives are discussed below.
  • the parse primitives may define the constraints and the information extracted from a packet header field of an input packet. According to various embodiments, the parse primitives may not be required to describe deep packet inspection on unstructured packet content.
  • the parse primitives may include a parse header order sub-primitive that may be used to describe an acceptable parse graph.
  • a header may be defined as a contiguous set of bytes from the input packet from which one or more pieces of information (fields) can be extracted in without performing a. lookup operation for determining the next header.
  • the parse header order primitive may take one or more arguments.
  • the header order primitive may take current parse anchor as an argument.
  • the current parse anchor may determine where in the packet the parsing should start.
  • the header order primitive may also take well known header name/ID as an argument. This argument represents a name or ID assigned to the header.
  • the header handle ID argument may represent a handle assigned to the header for reference in the device model.
  • the next parse anchor argument represents an anchor refening to the location of the payioad of the header or sub hea der after the particular header has been parsed successfully.
  • the header order primitive may also take header parse status handle as an argument.
  • the argument defines the handle which refers to a Boolean and captures the parsing status.
  • the argument is set to TRUE in case the header was present and was valid. Otherwise, the argument is set to FALSE.
  • the header parse status may be an optional argument and can be skipped if the model writer has no interest in looking at the parse status.
  • the table primitives include a table definition primitive that may provide the typing and other miscellaneous information about a data, store, i.e. a. table.
  • the typing information and constraints associated with the data store allows the consumer of the device model, e.g. the target device, to verify that the forwarding plane instantiation meets the requirements.
  • the typing information and constraints associated with the data store may also allow the forwarding plane to perform one or more optimizations in implementing the data store.
  • the table definition primitive may take one or more arguments such as the table type indicating whether the table includes an array, a tree, a set or a list.
  • the arguments may also include an argument indicating whether table sharing is enabled, the table size, the table size tolerance, the table key definition list, the mask associated with each key list, the table result definition and the table handle (table ID/name).
  • the table primitives may also include the table operation sub-primitive that may describe the forwarding plane actions that are taken on the data store defined by the table definition primitive.
  • the table match sub-primitive describes a match or a search operation on the table.
  • the table insert sub-primitive describes the data store insert operation performed by the data plane.
  • the logic primitive may allow the device model to express simple boolean logic or conditional operations that are used in forwarding the input packets.
  • Logic operators may take handles as input and may produce output handles with the result of the logic operation.
  • the logic primitives may support operations like integer comparisons including greater than operation, less than operation, equal to operation, Boolean logic operations like and operation, or operation, not operation, etc.
  • the logic primitive may take one or more arguments including an ordered input handle that become the operands. The order and semantics of the operands are defined by the arithmetic operation.
  • the logic primitive may also take output handle as an argument. The output handle may store the results of the operation performed by the logic primitive.
  • Exemplary control network primitives may include the scope primitive, the event handler primitive, the semaphore primitive, the event primitive and the raise primitive.
  • the Scope primitive may allow the device model writer to indicate an order of operations to be performed in a set of primitives.
  • a scope primitive may be used in connection with the logic primitive to define an order of logic operations to be performed.
  • the event handler primitive may bind an event to a collection of cooperative primitives representing some defined functionality.
  • the collection of primitives with a defined functionality may be given a 'name'.
  • the event handler may bind a named event to a named collection of primitives.
  • a semaphore primitive may allow the model writer to describe mutual exclusion, critical sections, etc. within the device model.
  • the semaphore primitive may allow for more than one primitive collection to access a resource.
  • the semaphore primitive may also be used to allow for multiple individual primitive collections to access different instances of a shared resource safely if available.
  • a raise primitive may be used to raise an exception.
  • the raise primitive may be used to define how processing should proceed when a certain exception condition is encountered.
  • the raise primitive may have two modes: a first mode which asks that processing of the packet be stopped and exception be taken, and a second mode which allows the main processing to continue and the exception is also taken.
  • one or more network primitives 114 may be grouped together to form a submodel.
  • the submodel may represent a desired functionality within the device model 1 12.
  • Submodels promote modularity within a given device model. As discussed in greater detail below, a plurality of submodels may be stored in a submodel library. The controller 110 may retrieve the desired submodel from the submodel library and use the retrieved submodel in a device model. Similarly, if the controller 1 10 generates a new submodel by grouping one or more network primitives, the controller 110 may store the new submodel in the submodel library.
  • One of ordinary skill in the art will appreciate that the use of submodels in a device model is optional. A device model may be generated without using any submodels. However, the submodels promote modularity and allow for a user-friendly visualization of the device model.
  • the device model 1 12 generated by the controller 1 10 may specify all the
  • the controller 110 may generate a plurality of device models.
  • the controller 1 10 may generate a first device model 112 to be used under certain circumstances, such as periods of high or low network traffic or upon the receipt of certain types of packets.
  • the controller 110 may generate a second device model 112' formed of network primitives 1 14' where the second device model 1 12' may be used under other circumstances.
  • a network administrator may cause the network 100 to exhibit different network forwarding behaviors.
  • the controller 110 may send the generated device model 112 and/or 112' to the target device 120.
  • the device model 1 12 and/or 112' may represent a complete set of functionality required of the target device 120. Where applicable, the target device 120 may interpret the information contained in the device model 112 and/or 1 12' within constraints known to the target device 120. Upon receiving the device model 1 12 and/or 112', the target device 120 may translate the intended behavior described in the device model 112 and/or 1 12' into implementation.
  • the target device 120 may include a translator 126 provided at a hardware abstraction layer (HAL) 122 of the target device 120.
  • HAL hardware abstraction layer
  • the translator 126 may translate the target-independent device model 1 12 and/or 1 12' into implementation on the target device 120 based on the capabilities of, for example, the application specific integrated circuit (ASIC) 124 of the target device 120. Accordingly, high-level generic desired forwarding behaviors may be mapped to low-level ASIC features.
  • ASIC application specific integrated circuit
  • the device model 112 and/or 1 12' may include one or more identifiers associated with one or more portions of the device model 112 and/or 112'.
  • the target device 120 may be familiar with the identifiers of the device model 112 and/or 112'. For example, the target device 120 may have previously received the one or more identifiers and translated the identifiers into implementation. Thus, the target device 120 may know the mapping between the one or more known identifiers and their implementations on the target device. The known mappings may be stored, for example, in a database of known mappings. If the target device 120 knows the mapping, the translator 126 may retrieve the known mapping from the database and statically translate the device model 112 and/or 1 12' to implementation on the target device 120. That is, instead of dynamically translating one or more portions of the received device model 1 12 and/or 112' to implementation, the target device 120 may statically translate the device model 112 and/or 1 12' into implementation using a pre- mapping.
  • FIG. 2 depicts how elements of the exemplary network 100 may interact according to an exemplary embodiment.
  • the controller 202 provided in a network 200 may send at least one device model 204 to a target device 250.
  • the device model 204 may include one or more identifiers.
  • the target device 250 Upon receiving the device model with identifiers 202, the target device 250 checks a storage 208, such as a database, for pre-determined mappings between identifiers and their implementations. If the target device 250 finds pre-determined mappings for the identifiers in the received device model 204, the target device 250 may retrieve the mappings.
  • the translator 210 of the target device 250 may statically translate the identifiers into implementation using the pre-determined mappings retrieved from the storage 208.
  • FIG. 3 depicts an exemplary device model 300 generated by a controller according to an exemplary embodiment.
  • the device model 300 is provided as a unified modeling language (UML) activity diagram. It is understood that UML activity diagram is used for illustrative purposed and that the device model 300 may be provided using other graphical and/or textual modeling languages.
  • UML unified modeling language
  • the device model 300 illustrates a representation of the network behavior for implementing a media access control (MAC) bridge.
  • the device model 300 includes a plurality of network primitives 302-318.
  • the ASIC of the target device is given the specific behavior expected of the network for an efficient implementation by the target device.
  • the device model 300 may also be expressed using textual code, such as a pseudo code.
  • textual code such as a pseudo code.
  • a portion of an exemplary pseudo code representing the device model 300 is provided below.
  • the pseudo code is provided for exemplary purposes and should not be construed as limiting.
  • SearchKey ⁇ ⁇ /*Bridging Search Key */ (Vlan, 12), (MACAddress, 48) ⁇ ,
  • SearchKeyMap ⁇ (Vlan:VlanID),(MACAddress:MACDestAddress) ⁇ ,
  • SearchKeyMap ⁇ ( (PortID: PortID), (Vlan:VlanID),
  • SearchKeyMap ⁇ (PortID: PortID), (Vlan: VlanID),
  • SearchKeyMap ⁇ (PortID : PortID), (Vlan: VlanID),
  • ResultMap ⁇ (LearningResult.LastSeen: CurrentTimeStamp), (BridgingResult.oPort: PortID), (BridgingResult.drop: FALSE) ⁇ );
  • the pseudo code may have an entry for the network primitives of the device model 300.
  • the portion of the pseudo code provided above has an entry for table definition network primitive 306, the tableops match network primitive 304, the tableops modify network primitive 308 and the tableops insert network primitive 310.
  • the target device upon receiving the device model 300 in the graphical format or in the pseudo code format, translates the device model 300 into an implementation.
  • the translation of the exemplary device model 300 in the implementation of a MAC bridge will allow communications between one or more end stations coupled to the target device in the network.
  • the intended behavior represented in the device model 300 allows the interconnection of one or more end stations as if they were attached to a single local area network (LAN), even if the one or more end satiations are attached to separate LANs.
  • LAN local area network
  • the controller may send the device model to the target device for implementation.
  • the controller may send the device model in the graphical format and/or in a textual format such as a pseudo code. Both the graphical format and the pseudo code include one or more network primitives generated in a target- independent universal language. The steps performed by the controller and the target device are discussed below.
  • FIG 4 is a flowchart describing exemplary steps performed by a controller in accordance with an exemplary embodiment.
  • the controller may generate a device model in a target-independent format (step 402).
  • the device model may describe the intended forwarding behavior for the target device.
  • the intended forwarding behavior may be a high- level indication of the intent of the developer.
  • the controller may send the generated device model to the target device for implementation (step 404).
  • FIG. 5 is a flowchart describing exemplary steps performed by a target device in accordance with an exemplary embodiment.
  • the target device receives the device model generated by the controller (step 502).
  • the device model may be described in target- independent format.
  • the device model may include one or more identifiers associated with one or more portions of the device model.
  • the one or more identifiers may be known to the target device.
  • the target device may have previously received the one or more identifiers.
  • the target device may retrieve, for example from a storage, a previously- generated mapping between the one or more known identifiers and implementations thereof on the target device (step 504).
  • the target device may statically translate the device model into implementation using the mapping retrieved from the storage (step 506).
  • the target device may be configured based on the translating (step 508).
  • the target device may forward the received input packets to one or more elements of the network based on the configuring (step 512).
  • One or more of the above-described acts may be encoded as computer-executable instructions executable by processing logic.
  • the computer-executable instructions may be stored on one or more non-transitory computer readable media.
  • One or more of the above described acts may be performed in a suitably -programmed electronic device.
  • Figure 6 depicts an example of an electronic device 600 that may be suitable for use with one or more acts disclosed herein.
  • the electronic device 600 may take many forms, including but not limited to a computer, workstation, server, network computer, quantum computer, optical computer, Internet appliance, mobile device, a pager, a tablet computer, a smart sensor, application specific processing device, etc.
  • the electronic device 600 is illustrative and may take other forms.
  • an alternative implementation of the electronic device 600 may have fewer components, more components, or components that are in a configuration that differs from the configuration of Figure 6.
  • the components of Figure 6 and/or other figures described herein may be implemented using hardware based logic, software based logic and/or logic that is a combination of hardware and software based logic (e.g., hybrid logic); therefore, components illustrated in Figure 6 and/or other figures are not limited to a specific type of logic.
  • the processor 602 may include hardware based logic or a combination of hardware based logic and software to execute instructions on behalf of the electronic device 600.
  • the processor 602 may include logic that may interpret, execute, and/or otherwise process information contained in, for example, the memory 604.
  • the information may include computer-executable instructions and/or data that may implement one or more embodiments of the invention.
  • the processor 602 may comprise a variety of homogeneous or
  • the hardware may include, for example, some combination of one or more processors, microprocessors, field programmable gate arrays (FPGAs), application specific instruction set processors (ASIPs), application specific integrated circuits (ASICs), complex programmable logic devices (CPLDs), graphics processing units (GPUs), or other types of processing logic that may interpret, execute, manipulate, and/or otherwise process the information.
  • the processor may include a single core or multiple cores 603.
  • the processor 602 may include a system-on-chip (SoC) or system-in-package (SiP).
  • the electronic device 600 may include one or more tangible non-transitory computer- readable storage media for storing one or more computer-executable instructions or software that may implement one or more embodiments of the invention.
  • the non-transitory computer-readable storage media may be, for example, the memory 604 or the storage 618.
  • the memory 604 may comprise a ternary content addressable memory (TCAM) and/or a RAM that may include RAM devices that may store the information.
  • TCAM ternary content addressable memory
  • the RAM devices may be volatile or non-volatile and may include, for example, one or more DRAM devices, flash memory devices, SRAM devices, zero-capacitor RAM (ZRAM) devices, twin transistor RAM (TTRAM) devices, read-only memory (ROM) devices, ferroelectric RAM (FeRAM) devices, magneto-resistive RAM (MRAM) devices, phase change memory RAM (PRAM) devices, or other types of RAM devices.
  • DRAM dynamic random access memory
  • SRAM zero-capacitor RAM
  • ZRAM twin transistor RAM
  • ROM read-only memory
  • FeRAM ferroelectric RAM
  • MRAM magneto-resistive RAM
  • PRAM phase change memory RAM
  • One or more computing devices 600 may include a virtual machine (VM) 605 for executing the instructions loaded in the memory 604.
  • VM virtual machine
  • a virtual machine 605 may be provided to handle a process running on multiple processors so that the process may appear to be using only one computing resource rather than multiple computing resources.
  • Virtualization may be employed in the electronic device 600 so that infrastructure and resources in the electronic device may be shared dynamically. Multiple VMs 605 may be resident on a single computing device 600.
  • a hardware accelerator 606 may be implemented in an ASIC, FPGA, or some other device.
  • the hardware accelerator 606 may be used to reduce the general processing time of the electronic device 600.
  • the electronic device 600 may include a network interface 608 to interface to a Local Area Network (LAN), Wide Area Network (WAN) or the Internet through a variety of connections including, but not limited to, standard telephone lines, LAN or WAN links (e.g., Tl, T3, 56kb, X.25), broadband connections (e.g., integrated services digital network (ISDN), Frame Relay, asynchronous transfer mode (ATM), wireless connections (e.g., 802.1 1), highspeed interconnects (e.g., InfiniBand, gigabit Ethernet, Myrinet) or some combination of any or all of the above.
  • LAN Local Area Network
  • WAN Wide Area Network
  • the Internet may include a network interface 608 to interface to a Local Area Network (LAN), Wide Area Network (WAN) or the Internet through a variety of connections including, but not limited to, standard telephone lines, LAN or WAN links (e.g., Tl, T3, 56kb, X.25), broadband connections (e.g., integrated services digital network (
  • the network interface 608 may include a built-in network adapter, network interface card, personal computer memory card international association (PCMCIA) network card, card bus network adapter, wireless network adapter, universal serial bus (USB) network adapter, modem or any other device suitable for interfacing the electronic device 600 to any type of network capable of communication and performing the operations described herein.
  • PCMCIA personal computer memory card international association
  • USB universal serial bus
  • the electronic device 600 may include one or more input devices 610, such as a keyboard, a multi-point touch interface, a pointing device (e.g., a mouse), a gyroscope, an accelerometer, a haptic device, a tactile device, a neural device, a microphone, or a camera that may be used to receive input from, for example, a user.
  • input devices 610 such as a keyboard, a multi-point touch interface, a pointing device (e.g., a mouse), a gyroscope, an accelerometer, a haptic device, a tactile device, a neural device, a microphone, or a camera that may be used to receive input from, for example, a user.
  • input devices 610 such as a keyboard, a multi-point touch interface, a pointing device (e.g., a mouse), a gyroscope, an accelerometer, a haptic device, a tactile device, a neural device, a microphone
  • the input devices 610 may allow a user to provide input that is registered on a visual display device 614.
  • a graphical user interface (GUI) 616 may be shown on the display device 614.
  • a storage device 618 may also be associated with the computer 600.
  • the storage device 618 may be accessible to the processor 602 via an I/O bus.
  • the information may be executed, interpreted, manipulated, and/or otherwise processed by the processor 602.
  • the storage device 618 may include, for example, a storage device, such as a magnetic disk, optical disk (e.g., CD-ROM, DVD player), random-access memory (RAM) disk, tape unit, and/or flash drive.
  • the information may be stored on one or more non-transient tangible computer-readable media contained in the storage device.
  • This media may include, for example, magnetic discs, optical discs, magnetic tape, and/or memory devices (e.g., flash memory devices, static RAM (SRAM) devices, dynamic RAM (DRAM) devices, or other memory devices).
  • memory devices e.g., flash memory devices, static RAM (SRAM) devices, dynamic RAM (DRAM) devices, or other memory devices.
  • the information may include data and/or computer-executable instructions that may implement one or more embodiments of the invention
  • the storage device 618 may further store applications 624, and the electronic device 600 can be running an operating system (OS) 626.
  • OS 626 may include the Microsoft® Windows® operating systems, the Unix and Linux operating systems, the MacOS® for Macintosh computers, an embedded operating system, such as the Symbian OS, a real-time operating system, an open source operating system, a proprietary operating system, operating systems for mobile electronic devices, or other operating system capable of running on the electronic device and performing the operations described herein.
  • the operating system may be running in native mode or emulated mode.
  • the storage device 618 may further include rules 628 which describe how messages should be forwarded in a communications network.
  • the rules 628 may be used to forward messages or information received at the electronic device 628.
  • the electronic device 600 may serve as a forwarding device, switch, or router.
  • the storage device 618 may store an implementation database 630.
  • implementation database 630 may be a data structure, such as a table or matrix, which stores identifiers identifying predetermined functions that are implemented by the electronic device 630.
  • the implementation database may further store the implementation details of the predetermined functions.
  • the storage device 618 may further include logic for implementing a communications protocol 640.
  • the communications protocol 640 may be a protocol which provides an interface for accessing and modifying the functionality of the forwarding plane of the electronic device 600.
  • Exemplary communications protocols 640 include, but are not limited to, the OpenFlow protocol (see, e.g., McKeown, Nick et ah, "OpenFlow: Enabling
  • the electronic device 600 may serve as a remote controller, such as the controller 1 10 described above with respect to Figure 1.
  • the communications protocol 640 may allow the details of the forwarding plane implemented by the electronic device 600 to be defined and/or modified. Accordingly, the communications protocol 640 allows a communications network to be made programmable.
  • the communications protocol 640 may support the use of one or more device models 642 to implement the functionality of the forwarding plane.
  • a device model 642 may represent the complete set of network routing functionality to be implemented by the electronic device 640.
  • the device model 642 may define the functionality and performance of the forwarding plane.
  • the device model 642 may include one or more network primitives.
  • a network primitive is a basic unit of functionality to be implemented by the electronic device 600.
  • a network primitive may be, for example, a description of a particular functionality to be used in the communications network.
  • a network primitive may describe what actions the electronic device 600 is meant to perform, but typically will not include requirements for how those actions are to be carried out.
  • a network primitive may describe a desired outcome without providing implementation details for achieving the outcome. The implementation details may be left to the particular device implementing the network primitive, or may be specified by an external device.
  • a network primitive related to queuing may specify that the electronic device 600 (acting as a forwarding device) is to implement flat queuing, hierarchical queuing, buffer resource sharing, dynamic buffer sizing, tail drop queue management, weighted tail drop queue management, or queue high and low watermarks.
  • Scheduling primitives may specify that scheduling should be in a round robin fashion, as a weighted round robin, low latency queuing or strict priority queuing, weighted fair queuing, or class-based weighted fair queuing.
  • Metering primitives may make use of one rate two color (1R2C) IP packet marking, 1R3C marking, or 2R3C marking. Numerous other network primitives may also be utilized. The details of the implementations of these network primitives may be unspecified and left up to the device that implements the primitives.
  • a device model 642 may be constructed as a collection of one or more network primitives.
  • one device model 642 might specify that the electronic device 600 is to use flat queuing with round robin scheduling.
  • One or more device models 642 may specify all the network routing/forwarding functionality of the electronic device 600.
  • a first device model 642 may be used under certain circumstances, such as periods of high or low network traffic or upon the receipt of certain types of packets, and that a second device model 642 may be used under other circumstances.
  • a network administrator may cause the electronic device 600 to exhibit different network forwarding behaviors.
  • the communications protocol 640 may reference a device model 642 and implement the functionality defined by the device model 642 using the functionality defined by the implementation database 630. Alternatively, the communications protocol 640 may use default or generic implementations stored locally with the communications protocol 640 or provided from a remote location, such as a remote controller.
  • One or more embodiments of the invention may be implemented using computer- executable instructions and/or data that may be embodied on one or more non-transitory tangible computer-readable mediums.
  • the mediums may be, but are not limited to, a hard disk, a compact disc, a digital versatile disc, a flash memory card, a Programmable Read Only Memory (PROM), a Random Access Memory (RAM), a Read Only Memory (ROM), Magnetoresistive Random Access Memory (MRAM), a magnetic tape, or other computer- readable media.
  • Figure 7 depicts a network implementation that may implement one or more embodiments of the invention.
  • a system 700 may include a computing device 600, a network 712, a service provider 713, a target environment 714, and a cluster 715.
  • the embodiment of Figure 7 is exemplary, and other embodiments can include more devices, fewer devices, or devices in arrangements that differ from the arrangement of Figure 7.
  • the network 712 may transport data from a source to a destination.
  • Embodiments of the network 712 may use network devices, such as routers, switches, firewalls, and/or servers (not shown) and connections (e.g., links) to transport data.
  • Data may refer to any type of machine-readable information having substantially any format that may be adapted for use in one or more networks and/or with one or more devices (e.g., the computing device 600, the service provider 713, etc.).
  • Data may include digital information or analog
  • Data may further be packetized and/or non-packetized.
  • the network 712 may be a hardwired network using wired conductors and/or optical fibers and/or may be a wireless network using free-space optical, radio frequency (RF), and/or acoustic transmission paths.
  • the network 712 may be a substantially open public network, such as the Internet.
  • the network 712 may be a more restricted network, such as a corporate virtual network.
  • the network 712 may include Internet, intranet, Local Area Network (LAN), Wide Area Network (WAN), Metropolitan Area Network (MAN), wireless network (e.g., using IEEE 802.1 1), or other type of network
  • the network 712 may use middleware, such as Common Object Request Broker Architecture (CORBA) or Distributed Component Object Model
  • the service provider 713 may include a device that makes a service available to another device.
  • the service provider 713 may include an entity (e.g., an individual, a corporation, an educational institution, a government agency, etc.) that provides one or more services to a destination using a server and/or other devices.
  • Services may include instructions that are executed by a destination to perform an operation (e.g., an optimization operation).
  • a service may include instructions that are executed on behalf of a destination to perform an operation on the destination's behalf.
  • the server 714 may include a device that receives information over the network 712.
  • the server 714 may be a device that receives user input from the computer 600.
  • the cluster 715 may include a number of units of execution (UEs) 716 and may perform processing on behalf of the computer 500 and/or another device, such as the service provider 713 or server 714. For example, the cluster 715 may perform parallel processing on an operation received from the computer 600.
  • the cluster 715 may include UEs 716 that reside on a single device or chip or that reside on a number of devices or chips.
  • the units of execution (UEs) 716 may include processing devices that perform operations on behalf of a device, such as a requesting device.
  • a UE may be a
  • UE 716 may include code, such as code for an operating environment. For example, a UE may run a portion of an operating environment that pertains to parallel processing activities.
  • the service provider 713 may operate the cluster 715 and may provide interactive optimization capabilities to the computer 500 on a subscription basis (e.g., via a web service).
  • Units of Execution may provide remote/distributed processing capabilities for the applications 724.
  • a hardware unit of execution may include a device (e.g., a hardware resource) that may perform and/or participate in parallel programming activities.
  • a hardware unit of execution may perform and/or participate in parallel
  • a hardware unit of execution may perform and/or participate in substantially any type of parallel programming (e.g., task, data, stream processing, etc.) using one or more devices.
  • a hardware unit of execution may include a single processing device that includes multiple cores or a number of processors.
  • a hardware unit of execution may also be a programmable device, such as a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a digital signal processor (DSP), or other programmable device.
  • FPGA field programmable gate array
  • ASIC application specific integrated circuit
  • DSP digital signal processor
  • Devices used in a hardware unit of execution may be arranged in many different configurations (or topologies), such as a grid, ring, star, or other configuration.
  • a hardware unit of execution may support one or more threads (or processes) when performing processing operations.
  • a software unit of execution may include a software resource (e.g., a technical computing environment) that may perform and/or participate in one or more parallel programming activities.
  • a software unit of execution may perform and/or participate in one or more parallel programming activities in response to a receipt of a program and/or one or more portions of the program.
  • a software unit of execution may perform and/or participate in different types of parallel programming using one or more hardware units of execution.
  • a software unit of execution may support one or more threads and/or processes when performing processing operations.
  • parallel programming may be understood to include multiple types of parallel programming, e.g. task parallel programming, data parallel programming, and stream parallel programming.
  • Parallel programming may include various types of processing that may be distributed across multiple resources (e.g., software units of execution, hardware units of execution, processors, microprocessors, clusters, labs) and may be performed at the same time.
  • parallel programming may include task parallel programming where a number of tasks may be processed at the same time on a number of software units of execution.
  • task parallel programming a task may be processed independently of other tasks executing, for example, at the same time.
  • Parallel programming may include data parallel programming, where data (e.g., a data set) may be parsed into a number of portions that may be executed in parallel using, for example, software units of execution.
  • data parallel programming the software units of execution and/or the data portions may communicate with each other as processing progresses.
  • Parallel programming may include stream parallel programming (sometimes referred to as pipeline parallel programming).
  • Stream parallel programming may use a number of software units of execution arranged, for example, in series (e.g., a line) where a first software unit of execution may produce a first result that may be fed to a second software unit of execution that may produce a second result given the first result.
  • Stream parallel programming may also include a state where task allocation may be expressed in a directed acyclic graph (DAG) or a cyclic graph.
  • DAG directed acyclic graph
  • Other parallel programming techniques may involve some combination of task, data, and/or stream parallel programming techniques alone or with other types of processing techniques to form hybrid-parallel programming techniques.
  • one or more implementations consistent with principles of the invention may be implemented using one or more devices and/or configurations other than those illustrated in the Figures and described in the Specification without departing from the spirit of the invention.
  • One or more devices and/or components may be added and/or removed from the implementations of the figures depending on specific deployments and/or applications.
  • one or more disclosed implementations may not be limited to a specific combination of hardware.
  • logic may perform one or more functions.
  • This logic may include hardware, such as hardwired logic, an application-specific integrated circuit, a field programmable gate array, a microprocessor, software, or a combination of hardware and software.
  • the article “a” is intended to include one or more items. Where only one item is intended, the term “a single” or similar language is used. Further, the phrase “based on,” as used herein is intended to mean “based, at least in part, on” unless explicitly stated otherwise.
  • the term “user”, as used herein, is intended to be broadly interpreted to include, for example, an electronic device (e.g., a workstation) or a user of an electronic device, unless otherwise stated.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
EP14714814.2A 2013-02-25 2014-02-25 Statische übersetzung von netzwerkweiterleitungsebenenmodellen in eine zielimplementierung in der hardware-abstraktionsschicht Withdrawn EP2959636A1 (de)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US13/775,994 US20140241346A1 (en) 2013-02-25 2013-02-25 Translating network forwarding plane models into target implementation using network primitives
US13/776,012 US20140241347A1 (en) 2013-02-25 2013-02-25 Static translation of network forwarding plane models into target implementation in the hardware abstraction layer
PCT/US2014/018421 WO2014131044A1 (en) 2013-02-25 2014-02-25 Static translation of network forwarding plane models into target implementation in the hardware abstraction layer

Publications (1)

Publication Number Publication Date
EP2959636A1 true EP2959636A1 (de) 2015-12-30

Family

ID=50424696

Family Applications (1)

Application Number Title Priority Date Filing Date
EP14714814.2A Withdrawn EP2959636A1 (de) 2013-02-25 2014-02-25 Statische übersetzung von netzwerkweiterleitungsebenenmodellen in eine zielimplementierung in der hardware-abstraktionsschicht

Country Status (3)

Country Link
EP (1) EP2959636A1 (de)
CN (1) CN105027505A (de)
WO (1) WO2014131044A1 (de)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8711860B2 (en) * 2011-12-22 2014-04-29 Telefonaktiebolaget L M Ericsson (Publ) Controller for flexible and extensible flow processing in software-defined networks

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See references of WO2014131044A1 *

Also Published As

Publication number Publication date
CN105027505A (zh) 2015-11-04
WO2014131044A1 (en) 2014-08-28

Similar Documents

Publication Publication Date Title
US20140241346A1 (en) Translating network forwarding plane models into target implementation using network primitives
Michel et al. The programmable data plane: Abstractions, architectures, algorithms, and applications
US10986041B2 (en) Method and apparatus for virtual network functions and packet forwarding
Bifulco et al. A survey on the programmable data plane: Abstractions, architectures, and open problems
Firestone {VFP}: A virtual switch platform for host {SDN} in the public cloud
Drutskoy et al. Scalable network virtualization in software-defined networks
Panda et al. {NetBricks}: Taking the V out of {NFV}
CN110419200B (zh) 虚拟过滤平台中的分组处理器
US8094560B2 (en) Multi-stage multi-core processing of network packets
EP2959379B1 (de) Ausführung von spezifikationen bezogen auf einer weiterleitungsebene eines elektronischen geräts mit weiterleitungsfunktionalität
US9118591B2 (en) Distributed switch domain of heterogeneous components
US20140241347A1 (en) Static translation of network forwarding plane models into target implementation in the hardware abstraction layer
US8976708B1 (en) Parameterized device models for openflow
CN107003860B (zh) 一种软件定义网络控制器及其创建方法
US11502911B2 (en) Dynamic augmentation for functionally similar data models on network devices
US9426033B2 (en) Target mapping and implementation of abstract device model
US8929362B1 (en) Capability negotiation for abstract candidate device model
Abranches et al. Getting back what was lost in the era of high-speed software packet processing
US9716657B1 (en) TCP connection resiliency in multipath networks
CN108353017B (zh) 计算系统和用于操作多网关虚拟机上的多个网关的方法
Bozakov et al. OpenFlow: A perspective for building versatile networks
Iordache-Sica et al. Seamless hardware-accelerated kubernetes networking
EP2959636A1 (de) Statische übersetzung von netzwerkweiterleitungsebenenmodellen in eine zielimplementierung in der hardware-abstraktionsschicht
HK1221026B (en) Implementing specifications related to a network forwarding plane of an electronic device having forwarding functionality
US12321386B1 (en) Generating XML configuration sub-streams based on an XML configuration stream and a metadata tree associated with the XML configuration stream

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20150918

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

AX Request for extension of the european patent

Extension state: BA ME

DAX Request for extension of the european patent (deleted)
STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 20160419

P01 Opt-out of the competence of the unified patent court (upc) registered

Effective date: 20230522