Flexible algorithm in OSPFv2 for segment routing traffic engineering
You can thin-slice a network by defining flexible algorithms that compute paths using different parameters and link constraints based on your requirements. For example, you can define a flexible algorithm that computes a path to minimize IGP metric and define another flexible algorithm to compute a path based on traffic engineering metric to divide the network into separate planes. This feature allows networks without a controller to configure traffic engineering and utilize segment routing capability of a device.
To define a flexible algorithm, include the flex-algorithm statement at the [edit routing-options] hierarchy level.
To configure a device to participate in a flexible algorithm, include the flex-algorithm statement at the [edit protocols ospf source-packet-routing] hierarchy level.