Patent ID: 8743679

Claim:
A method comprising: at a network device in a server layer that routes paths in the server layer for connections in a client layer, storing data associating paths in the server layer with identifiers for connections in the client layer; receiving at the network device in the server layer from a network device in the client layer a request to set up a first path and a second path in the server layer that corresponds to a re-routing of a first connection and a second connection in the client layer; receiving at the network device in the server layer information describing diversity requirements associated with connections in the client layer, wherein the diversity requirements specify that the first connection is to be diverse from the second connection; and computing routes in the server layer for the first connection and second connection specified in the request based on the diversity requirements, wherein the routes maintain diversity between the first path and the second path to ensure that the re-routing of the first connection and the second connection complies with the diversity requirements.