Design, development and validation of an NS2 module for dynamic LSP rerouting