Tracing Logical Network Packets Through Physical Network
US-2016149791-A1 · May 26, 2016 · US
US9948547B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-9948547-B2 |
| Application number | US-201715581366-A |
| Country | US |
| Kind code | B2 |
| Filing date | Apr 28, 2017 |
| Priority date | Mar 4, 2014 |
| Publication date | Apr 17, 2018 |
| Grant date | Apr 17, 2018 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Mechanisms are provided for tracing a route taken by a packet in a Software Defined Network (SDN). Each switch in the SDN is assigned a first color label, from a set of color labels, such that such that adjacent switches have different color labels. Rules are installed in each switch to forward a received data packet to the SDN controller in response to a second color label of the received data packet not matching the first color label assigned to the switch. A second color label, from the set of color labels, is assigned to a trace data packet. A route of the trace data packet is traced through the SDN based on the second color label and application of the one or more rules to the trace data packet at each of the switches in the SDN as the trace data packet is received by each of the switches in the SDN.
Opening claim text (preview).
What is claimed is: 1. A method, in a data processing system comprising a processor and a memory and implementing a software defined network (SDN) controller, for tracing a route taken by a packet in a SDN, the method comprising: assigning, by the SDN controller, each switch in the SDN a first color label, from a set of color labels, such that adjacent switches have different color labels; installing, by the SDN controller, one or more rules in each switch to forward a received data packet to the SDN controller in response to a second color label of the received data packet not matching the first color label assigned to the switch; assigning, by the SDN controller, a second color label, from the set of color labels, to a trace data packet; and tracing, by the SDN controller, a route of the trace data packet through the SDN based on the second color label and application of the one or more rules to the trace data packet at each of the switches in the SDN as the trace data packet is received by each of the switches in the SDN. 2. The method of claim 1 , wherein the color labels in the set of color labels are non-unique color labels, and wherein at least two non-adjacent switches in the SDN have a same assigned color label. 3. The method of claim 1 , wherein assigning the second color label to the trace data packet comprises selecting the second color label to be a same color label as the first color label of a first switch in the SDN to which the trace data packet is to be transmitted. 4. The method of claim 1 , wherein tracing the route of the trace data packet comprises: receiving, by the SDN controller, the trace data packet from a second switch in the SDN, to which the trace data packet was forwarded by a first switch in the SDN, in response to the one or more rules installed in the second switch indicating that the second color label of the trace data packet does not match a first color label assigned to the second switch; and recording, by the SDN controller, in a trace data structure, trace information extracted from the received trace data packet. 5. The method of claim 1 , wherein tracing the route of the trace data packet further comprises, repeatedly performing the following operations until the trace data packet arrives at a destination: at a next switch along the route, determining if the second color label of the trace data packet matches a first color label associated with that switch; and in response to the second color label of the trace data packet not matching the first color label associated with that switch: transmitting, by that switch, the trace data packet to the SDN controller; updating, by the SDN controller, the second color label of the trace data packet to be a color label matching the first color label assigned to that switch to generate an updated trace data packet with an updated first color label; and transmitting, by the SDN controller, the updated trace data packet back to that switch. 6. The method of claim 5 , wherein that switch applies the one or more rules to the updated trace data packet and, in response to there not being a match of the updated first color label with the one or more rules, forwards the updated trace data packet to a next switch in the SDN, and wherein the next switch in the SDN applies rules installed in the next switch to either forward the updated data packet to the SDN controller or forward the updated data packet to another next switch in the SDN along the route to the destination of the trace data packet. 7. The method of claim 4 , wherein the trace information extracted from the received trace data packet comprises identification information for the second switch and an ingress port through which the second switch received the trace data packet from the first switch. 8. The method of claim 1 , wherein installing one or more rules in each switch to forward a received data packet to the SDN controller in response to a second color label of the received data packet not matching the first color label assigned to the switch comprises, for each switch in the SDN, installing a rule for each color label in the set of color labels that does not match the first color label assigned to the switch, to forward a received data packet to the SDN controller, and wherein each of the one or more rules is assigned a highest priority value within a set of routing rules installed in the switch. 9. The method of claim 1 , wherein the second color label is stored in an unused header field of the trace data packet. 10. The method of claim 9 , wherein the unused header field is one of a VLAN Priority Code Point (PCP) header field or a IP ToS header field. 11. A computer program product comprising a computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a computing device implementing a software defined network (SDN) controller, causes the computing device to: assign, by the SDN controller, each switch in the SDN a first color label, from a set of color labels, such that adjacent switches have different color labels; install, by the SDN controller, one or more rules in each switch to forward a received data packet to the SDN controller in response to a second color label of the received data packet not matching the first color label assigned to the switch; assign, by the SDN controller, a second color label, from the set of color labels, to a trace data packet; and trace, by the SDN controller, a route of the trace data packet through the SDN based on the second color label and application of the one or more rules to the trace data packet at each of the switches in the SDN as the trace data packet is received by each of the switches in the SDN. 12. The computer program product of claim 11 , wherein the color labels in the set of color labels are non-unique color labels, and wherein at least two non-adjacent switches in the SDN have a same assigned color label. 13. The computer program product of claim 11 , wherein the computer readable program causes the computing device to assign the second color label to the trace data packet comprises selecting the second color label to be a same color label as the first color label of a first switch in the SDN to which the trace data packet is to be transmitted. 14. The computer program product of claim 11 , wherein the computer readable program causes the computing device to trace the route of the trace data packet at least by: receiving, by the SDN controller, the trace data packet from a second switch in the SDN, to which the trace data packet was forwarded by a first switch in the SDN, in response to the one or more rules installed in the second switch indicating that the second color label of the trace data packet does not match a first color label assigned to the second switch; and recording, by the SDN controller, in a trace data structure, trace information extracted from the received trace data packet. 15. The computer program product of claim 11 , wherein the computer readable program causes the computing device to trace the route of the trace data packet at least by repeatedly performing the following operations until the trace data packet arrives at a destination: at a next switch along the route, determining if the second color label of the trace data packet matches a first color label associated with that switch; and in response to the second color label of the trace data packet not matching the first color label associated with that switch: transmitting, by that switch, the trace data packet to the SDN controller; updating, by the
Related publications grouped by family.
Answers are generated from the same data shown on this page.