Method and apparatus for instantiating a path with the minimum number of segments
First Claim
1. A method for computing a minimum segment labeling of a given path on a segment cover graph, the method comprising:
- receiving a connection request for a connection between a source node and a destination node;
generating a Shortest Path Directed Acyclic Graph (“
SPDAG”
) from the source node by running a shortest path algorithm;
determining an end node, between the source node and the destination node, at which the SPDAG deviates from the given path; and
determining whether the end node is the end of an Equal Cost Multipath (“
ECMP”
);
terminating the shortest path algorithm at a predecessor node to the end node, wherein a counter provides a number of predecessor nodes and determines whether a shortest path from the source node to the end node is unique, when the end node is the end of the ECMP.
2 Assignments
0 Petitions
Accused Products
Abstract
Various embodiments relate to a method and apparatus for computing a minimum segment labeling of a given path on a segment cover graph, the method including receiving a connection request for a connection between a source node and a destination node, generating a Shortest Path Directed Acyclic Graph (“SPDAG”) from the source node to the destination node by running a shortest path algorithm from the source node, determining an end node, between the source node and the destination node, at which the SPDAG deviates from the given path, determining whether the end node is the end of an Equal Cost Multipath (“ECMP”) and terminating the shortest path algorithm at a predecessor node to the end node if the end node is the end of an ECMP and making the predecessor node to the end node the source node.
20 Citations
14 Claims
-
1. A method for computing a minimum segment labeling of a given path on a segment cover graph, the method comprising:
-
receiving a connection request for a connection between a source node and a destination node; generating a Shortest Path Directed Acyclic Graph (“
SPDAG”
) from the source node by running a shortest path algorithm;determining an end node, between the source node and the destination node, at which the SPDAG deviates from the given path; and determining whether the end node is the end of an Equal Cost Multipath (“
ECMP”
);
terminating the shortest path algorithm at a predecessor node to the end node, wherein a counter provides a number of predecessor nodes and determines whether a shortest path from the source node to the end node is unique, when the end node is the end of the ECMP. - View Dependent Claims (2, 3, 4, 5, 6, 13)
-
-
7. A non-transitory machine-readable storage medium encoded with instructions executable to perform a method by a processor on a router for computing a minimum segment labeling of a given path on a segment cover graph, the machine-readable storage medium comprising:
-
instructions for receiving a connection request for a connection between a source node and a destination node; instructions for generating a Shortest Path Directed Acyclic Graph (“
SPDAG”
) from the source node by running a shortest path algorithm;instructions for determining an end node, between the source node and the destination node, at which the SPDAG deviates from the given path; instructions for determining whether the end node is the end of an Equal Cost Multipath (“
ECMP”
), andinstructions for terminating the shortest path algorithm at a predecessor node to the end node, wherein a counter provides a number of predecessor nodes and determines whether a shortest path from the source node to the end node is unique, when the end node is the end of the ECMP. - View Dependent Claims (8, 9, 10, 11, 12, 14)
-
Specification