Patent attributes
A method of reverse migrating traffic in a network includes receiving, via an application programming interface (API), a request to migrate traffic, the request identifying a target around which the traffic is to be migrated and a peer to which the traffic is to be migrated. The computer-implemented method further includes generating one or more masks comprising weights indicating a percentage of traffic to send to each port of at least two ports. The computer-implemented method further includes stacking the one or more masks on a base mask denoting a default configuration of a network component. The computer-implemented method further includes facilitating migration of the traffic using the one or more masks. The computer-implemented method further includes performing a reverse migration from the target to the peer by removing each of the one or more masks.