summaryrefslogtreecommitdiff
diff options
authorJonathan Cave <jonathan.cave@canonical.com>2017-07-11 17:24:47 +0100
committerJonathan Cave <jonathan.cave@canonical.com>2017-07-11 17:24:47 +0100
commitec89ca1135e449b926806876732de5becc8acd31 (patch)
tree9487df09b67af3ed8fb33fb370e67e90095dcbb2
parente8eb04725191e3ca4beaefc87a02c57022632a68 (diff)
Add ethernet interface template filters
-rw-r--r--jobs/ethernet.txt.in8
1 files 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}