| CPC H04L 12/4633 (2013.01) [H04L 45/12 (2013.01); H04L 47/22 (2013.01); H04L 67/104 (2013.01)] | 20 Claims |

|
1. A method, comprising:
receiving, by a device, data associated with network traffic associated with a network;
partitioning, by the device and based on the data, the network traffic into an unassigned set of the network traffic and an assigned set of the network traffic associated with a tunnel;
generating, by the device, based on partitioning the network traffic into the unassigned set and the assigned set and based on rates associated with the network traffic, one or more traffic plans;
calculating an internal cost based on a cost rate of the tunnel;
calculating an external cost based on an external rate of a peer link;
determining a cost associated with the one or more traffic plans based on at least one of:
the internal cost, or
the external cost;
selecting a traffic plan, of the one or more traffic plans, further based on the determined cost; and
causing, by the device, the traffic plan to be implemented in the network.
|