Certain aspects of the present disclosure are generally directed to version-aware service function chaining. One example method generally includes determining version information corresponding to one or more of a plurality of network functions to be performed for a packet for a service function chain (SFC) and encapsulating a service header in the packet for the SFC, the service header indicating the plurality of network functions to be performed for the packet and the version information corresponding to the one or more network functions. In certain aspects, the method also includes sending the packet to one or more service nodes for performing the plurality of network functions in accordance with the service header.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A method, comprising: determining version information corresponding to one or more of a plurality of network functions to be performed for a packet of a service function chain (SFC), based on a dependency between versions of the plurality of network functions; encapsulating a service header in the packet for the SFC, the service header indicating the plurality of network functions to be performed for the packet and the version information corresponding to the one or more of the plurality of network functions; and sending the packet to one or more service nodes for performing the plurality of network functions in accordance with the service header for the SFC and the version information, wherein the one or more service nodes are configured to: identify a next destination for the packet, relating to performing the one or more of the plurality of network functions, based on determining that the version information indicated in the service header for the SFC corresponds to version information relating to the next destination; and forward the packet to the next destination.
2. The method of claim 1 , wherein the service header comprises a network service header (NSH) or a segment routing version 6 (SRv6) header.
3. The method of claim 1 , further comprising: determining the dependency between the versions of the network functions based on previous interactions of the versions of the network functions using machine learning.
4. The method of claim 1 , further comprising: determining the dependency between the versions of the network functions based on metadata corresponding to the packet.
5. The method of claim 4 , wherein the metadata comprises a service level agreement of a client from which the packet is received.
6. The method of claim 1 , wherein determining the version information comprises selecting a version of a network function of the plurality of network functions for testing of code for the version of the network function.
7. The method of claim 1 , wherein the version information corresponding to the one or more network functions is determined based on a policy corresponding to the packet.
8. The method of claim 7 , wherein the policy comprises a low latency policy corresponding to the packet.
9. A non-transitory computer-readable medium having instructions, to be executed by a processor, for: determining version information corresponding to one or more of a plurality of network functions to be performed for a packet of a service function chain (SFC), based on a dependency between versions of the plurality of network functions; encapsulating a service header in the packet for the SFC, the service header indicating the plurality of network functions to be performed for the packet and the version information corresponding to the one or more of the plurality of network functions; and sending the packet to one or more service nodes for performing the plurality of network functions in accordance with the service header for the SFC and the version information, wherein the one or more service nodes are configured to: identify a next destination for the packet, relating to performing the one or more of the plurality of network functions, based on determining that the version information indicated in the service header for the SFC corresponds to version information relating to the next destination; and forward the packet to the next destination.
10. The computer-readable medium of claim 9 , further comprising: determining the dependency between the versions of the network functions based on previous interactions of the versions of the network functions using machine learning.
11. The computer-readable medium of claim 9 , further comprising: determining the dependency between the versions of the network functions based on metadata corresponding to the packet.
12. The computer-readable medium of claim 11 , wherein the metadata comprises a service level agreement of a client from which the packet is received.
13. The computer-readable medium of claim 9 , wherein determining the version information comprises selecting a version of a network function of the plurality of network functions for testing of code for the version of the network function.
14. The computer-readable medium of claim 9 , wherein the version information corresponding to the one or more network functions is determined based on a policy corresponding to the packet.
15. A method, comprising: receiving a packet for a service function chain (SFC), a service header of the packet indicating a plurality of network functions to be performed for the packet and version information corresponding to one or more of the plurality of network functions, wherein the version information is determined based on a dependency between versions of the plurality of network functions; identifying a next destination for the packet, relating to performing the one or more of the plurality of network functions, based on determining that the version information indicated in the service header for the SFC corresponds to version information relating to the next destination; and forwarding the packet to the identified next destination.
16. The method of claim 15 , further comprising: performing, at a service node, a first function of the plurality of network functions for the packet in accordance with the version information corresponding to the first function indicated by the service header.
17. The method of claim 16 , wherein the first function is performed based on a policy, the policy being determined based on the version information corresponding to a subsequence function to be performed for the packet.
18. The method of claim 16 , wherein forwarding the packet to the identified next destination comprises forwarding the packet to a service function forwarder (SFF).
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
October 27, 2018
April 13, 2021
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.