| CPC H04L 47/125 (2013.01) | 20 Claims |

|
1. A method implemented at least in part by a controller of a network, the method comprising:
assigning, to one or more first gateways in the network, a first affinity number, wherein first routes originating from the one or more first gateways are tagged with the first affinity number;
assigning to one or more second gateways in the network, a second affinity number, wherein second routes originating from the one or more second gateways are tagged with the second affinity number;
receiving, from an edge router in the network, an affinity preference order of the edge router, the affinity preference order including the first affinity number and indicating preferred routes of the edge router;
determining, based at least in part on the affinity preference order of the edge router, at least one route tagged with the first affinity number of the one or more first gateways to send to the edge router;
sending, based at least in part on the determining, an indication of the at least one route to, the edge router; and
refraining, based at least in part on the affinity preference order of the edge router, from sending indications of routes tagged with the second affinity number to the edge router.
|