A simulator for modeling and simulating of (virtualized) datacenters