Pub/Sub system simulation with ns3