Patent ID: 8948174
Filing Date: 2015-02-03
Classification: H04L

Abstract:
1. A method comprising: installing, to an integrated circuit of a network device forwarding plane, a packet processing template that defines a plurality of internal execution paths within the integrated circuit for processing a plurality of packet flows mapped to the packet processing template, each of the plurality of internal execution paths including a common service object and one or more distinct service objects respectively representing corresponding hardware of the integrated circuit and chained together as a series of next hop operations applied by the integrated circuit, wherein different values for a variable of the packet processing template determine, at least in part, the internal execution paths of the plurality of internal execution paths for processing different packet flows of the plurality of packet flows; installing, to the network device forwarding plane, a first subscriber record for a first packet flow of the plurality of packet flows, wherein the first subscriber record includes a first variable value for the variable that identifies a first internal execution path of the plurality of internal execution paths; in response to receiving a first packet associated with the first packet flow, determining, by the integrated circuit of the network device forwarding plane based at least in part on the first subscriber record, the first variable value of the first subscriber record for the first packet flow; and in response to determining the first variable value identifies the first internal execution path of the plurality of execution paths, processing, by the integrated circuit of the network device forwarding plane, the first packet using the first internal execution path of the plurality of internal execution paths.