From 10a5beb2ddac5a49e9468408cc2d4b7e12625397 Mon Sep 17 00:00:00 2001 From: Jeff Lane Date: Wed, 9 Sep 2020 17:45:38 -0400 Subject: bin/network_device_info.py - added argument to list disconnected devices, and exit with a failure code if desired. Modified server ethernet info job to use this. lp: #1895048 --- units/ethernet/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units/ethernet') diff --git a/units/ethernet/jobs.pxu b/units/ethernet/jobs.pxu index 36c25f4..69e7760 100644 --- a/units/ethernet/jobs.pxu +++ b/units/ethernet/jobs.pxu @@ -32,7 +32,7 @@ id: ethernet/info_automated_server requires: device.category == 'NETWORK' user: root -command: network_device_info.py info NETWORK --no-nm +command: network_device_info.py info NETWORK --no-nm --fail-on-disconnected estimated_duration: 2.0 _summary: Provide information about detected ethernet devices -- cgit v1.2.3