Skip to content

Commit

Permalink
cnf network: sriov metrics exporter test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaggapa committed Sep 13, 2024
1 parent 174203d commit bddb870
Show file tree
Hide file tree
Showing 3 changed files with 486 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/cnf/core/network/internal/netparam/netvars.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ var (
MlxDeviceID = "1017"
// MlxBFDeviceID is the Mellanox Bluefield SRIOV Device ID.
MlxBFDeviceID = "a2d6"
// ClusterMonitoringNSLabel represents Cluster Monitoring label for a NS to enable Prometheus Scraping.
ClusterMonitoringNSLabel = map[string]string{"openshift.io/cluster-monitoring": "true"}
)
2 changes: 2 additions & 0 deletions tests/cnf/core/network/sriov/internal/tsparams/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ const (
LabelQinQTestCases = "qinq"
// LabelExposeMTUTestCases represents Expose MTU label that can be used for test cases selection.
LabelExposeMTUTestCases = "exposemtu"
// LabelSriovMetricsTestCases represents Sriov Metrics Exporter label that can be used for test cases selection.
LabelSriovMetricsTestCases = "sriovmetrics"
)
Loading

0 comments on commit bddb870

Please sign in to comment.