A system and method for dynamically determining a route through one or more switch
devices at program execution time. A program operable to perform a programmatic
request to dynamically determine a route may be created. For example, the request
may specify a first endpoint (e.g., channel) of a first switch device and a second
endpoint (e.g., channel) of a second switch device. In response to the request,
the system may dynamically determine a route from the first endpoint to the second
endpoint during execution of the program. Information indicating the determined
route may be returned to the program.