主权项 |
1. A path computation method, comprising:
receiving, by a second network device, path requirement information and a recomputation condition that are sent by a first network device; computing, by the second network device, a path meeting a requirement according to the path requirement information; sending, by the second network device, first description information to the first network device, wherein the first description information is description information of the path meeting the requirement; determining, by the second network device, whether the recomputation condition is met; performing, by the second network device, path recomputation when the recomputation condition is met; and sending, by the second network device, second description information to the first network device, wherein the second description information is description information of a path obtained by means of recomputation. |