Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion framework/python/src/core/testrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ def __init__(self,

self._net_only = net_only
self._single_intf = single_intf
self._no_ui = no_ui
# Network only option only works if UI is also
# disbled so need to set no_ui if net_only is selected
self._no_ui = no_ui or net_only

# Catch any exit signals
self._register_exits()
Expand Down
4 changes: 3 additions & 1 deletion framework/python/src/net_orc/network_orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,9 @@ def _device_discovered(self, mac_addr):
#self._ovs.add_arp_inspection_filter(ip_address=device.ip_addr,
# mac_address=device.mac_addr)

self._start_device_monitor(device)
# Don't monitor devices when in network only mode
if 'net_only' not in self._session.get_runtime_params():
self._start_device_monitor(device)

def _get_conn_stats(self):
""" Extract information about the physical connection
Expand Down