From ec89ca1135e449b926806876732de5becc8acd31 Mon Sep 17 00:00:00 2001 From: Jonathan Cave Date: Tue, 11 Jul 2017 17:24:47 +0100 Subject: Add ethernet interface template filters --- jobs/ethernet.txt.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jobs/ethernet.txt.in b/jobs/ethernet.txt.in index 8c059ce..7e384ec 100644 --- a/jobs/ethernet.txt.in +++ b/jobs/ethernet.txt.in @@ -64,7 +64,7 @@ _description: unit: template template-resource: device -template-filter: device.category == 'NETWORK' +template-filter: device.category == 'NETWORK' and device.interface != 'UNKNOWN' plugin: shell category_id: com.canonical.plainbox::ethernet id: ethernet/multi_iperf3_nic_device{__index__}_{interface} @@ -83,7 +83,7 @@ _description: unit: template template-resource: device -template-filter: device.category == 'NETWORK' +template-filter: device.category == 'NETWORK' and device.interface != 'UNKNOWN' plugin: shell category_id: com.canonical.plainbox::ethernet id: ethernet/ethertool_check_device{__index__}_{interface} @@ -98,7 +98,7 @@ _description: unit: template template-resource: device -template-filter: device.category == 'NETWORK' +template-filter: device.category == 'NETWORK' and device.interface != 'UNKNOWN' plugin: user-interact-verify category_id: com.canonical.plainbox::ethernet id: ethernet/maximum_bandwidth_device{__index__}_{interface} @@ -122,7 +122,7 @@ _verification: unit: template template-resource: device -template-filter: device.category == 'NETWORK' +template-filter: device.category == 'NETWORK' and device.interface != 'UNKNOWN' plugin: shell category_id: com.canonical.plainbox::ethernet id: ethernet/stress_performance_device{__index__}_{interface} -- cgit v1.2.3