A method comprising: determining , by a controller device that manages a plurality of network devices of a network arranged at a plurality of sites in different geographical locations, a stateful intent for managing a software application at the plurality of network devices and represented by a graph model, wherein the stateful intent describes an intended state that is resolvable based on a current state of the network, wherein the intended state is a network state, a compute state, and/or a storage state; translating , by the controller device, the stateful intent into low-level configuration data for configuring the plurality of network devices; determining, by the controller device, and for each event of a plurality of events at a site of the plurality of sites, a best fit line that represents a respective amount of data transmitted to the site and for use by the software application, using one or more application logs for the site; determining , by the controller device, for each respective site of the plurality of sites, a priority index for configuring the plurality of network devices according to the low-level configuration data using the best fit lines that represent respective amounts of data transmitted to a respective site; determining , by the controller device, an ordered list of the plurality of sites based on the priority index for each respective site of the plurality of sites; and configuring , by the controller device, for each respective site of the plurality of sites, and in an order specified by the ordered list of the plurality of sites, one or more network devices of the plurality of network devices that are arranged at the respective site according to the low-level configuration data. determining , by a controller device that manages a plurality of network devices of a network arranged at a plurality of sites in different geographical locations, a stateful intent for managing a software application at the plurality of network devices and represented by a graph model, wherein the stateful intent describes an intended state that is resolvable based on a current state of the network, wherein the intended state is a network state, a compute state, and/or a storage state; translating , by the controller device, the stateful intent into low-level configuration data for configuring the plurality of network devices; determining, by the controller device, and for each event of a plurality of events at a site of the plurality of sites, a best fit line that represents a respective amount of data transmitted to the site and for use by the software application, using one or more application logs for the site; determining , by the controller device, for each respective site of the plurality of sites, a priority index for configuring the plurality of network devices according to the low-level configuration data using the best fit lines that represent respective amounts of data transmitted to a respective site; determining , by the controller device, an ordered list of the plurality of sites based on the priority index for each respective site of the plurality of sites; and configuring , by the controller device, for each respective site of the plurality of sites, and in an order specified by the ordered list of the plurality of sites, one or more network devices of the plurality of network devices that are arranged at the respective site according to the low-level configuration data. <EOS>