NS2 extensions for the simulation of RDM and G-RDM in DS-TE networks