1. A method, comprising: receiving network topology data specifying a configuration of a network; applying one or more rules to the network topology data to produce a plurality of route targets; grouping a set of route targets from the plurality of route targets to produce a group of route target sets; removing duplicate route target sets from the group of route target sets to produce a reduced size of route target sets; generating a data record including information related to the group of route target sets based on the reduced size of route target sets; storing the data record in a memory, wherein the memory includes a virtual routing and forwarding element to map route target data for each of a plurality of provider edge routers, and wherein each customer edge router of the network that has the same set of route targets on one provider edge router shares one virtual routing and forwarding element; and provisioning the network based on the data record.