A simple Virtual Desktop Infrastructure (VDI) traffic generator example over Wi-Fi. More...
#include "ns3/applications-module.h"#include "ns3/core-module.h"#include "ns3/internet-module.h"#include "ns3/mobility-module.h"#include "ns3/network-module.h"#include "ns3/wifi-module.h"Go to the source code of this file.
Functions | |
| void | PacketReceived (std::string context, Ptr< const Packet > packet, const Address &address) |
| Callback invoked when the PacketSink receives a packet. | |
| void | VdiPacketSent (std::string context, Ptr< const Packet > packet) |
| Callback invoked when a VDI packet is transmitted. | |
A simple Virtual Desktop Infrastructure (VDI) traffic generator example over Wi-Fi.
This example demonstrates how to set up a basic ns-3 simulation with VDI traffic over a Wi-Fi network. VDI traffic models remote desktop applications where a server sends desktop display data to clients.
The simulation consists of:
The VDI traffic model follows IEEE 802.11-14/0571r12 TGAX evaluation methodology:
Traffic direction parameters from the specification:
To run downlink traffic (default): ./ns3 run tgax-virtual-desktop-example To run uplink traffic: ./ns3 run "tgax-virtual-desktop-example --direction=uplink" To run bidirectional: ./ns3 run "tgax-virtual-desktop-example --direction=bidirectional"
To disable verbose logging: ./ns3 run "tgax-virtual-desktop-example --verbose=false"
Definition in file tgax-virtual-desktop-example.cc.
Callback invoked when the PacketSink receives a packet.
| context | The context string |
| packet | The received packet |
| address | The sender's address |
Definition at line 273 of file tgax-virtual-desktop-example.cc.
References NS_LOG_INFO.
Callback invoked when a VDI packet is transmitted.
| context | The context string identifying the source |
| packet | The transmitted packet |
Definition at line 267 of file tgax-virtual-desktop-example.cc.
References NS_LOG_INFO.