diff --git a/api/test/network_emulation_manager.h b/api/test/network_emulation_manager.h index fcf33d947b..85dd39cfe8 100644 --- a/api/test/network_emulation_manager.h +++ b/api/test/network_emulation_manager.h @@ -197,6 +197,11 @@ class NetworkEmulationManager { // Returns a mode in which underlying time controller operates. virtual TimeMode time_mode() const = 0; + // Creates an emulated network node, which represents ideal network with + // unlimited capacity, no delay and no packet loss. + EmulatedNetworkNode* CreateUnconstrainedEmulatedNode() { + return CreateEmulatedNode(BuiltInNetworkBehaviorConfig()); + } // Creates an emulated network node, which represents single network in // the emulated network layer. Uses default implementation on network behavior // which can be configured with `config`. `random_seed` can be provided to