Dynamic management and restoration of virtual paths in broadband networks based on distributed software agents