Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cnf network: sriov metrics exporter test cases #183

Merged
merged 2 commits into from
Sep 13, 2024
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
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/nmstate/kubernetes-nmstate/api v0.0.0-20240605150941-df565dd7bf35
github.com/onsi/ginkgo/v2 v2.19.0
github.com/onsi/gomega v1.33.1
github.com/openshift-kni/eco-goinfra v0.0.0-20240905174306-55e9ca150501 // latest
github.com/openshift-kni/eco-goinfra v0.0.0-20240910174952-7ae1f9d245ef // latest
github.com/openshift-kni/k8sreporter v1.0.5
github.com/openshift/api v3.9.1-0.20191111211345-a27ff30ebf09+incompatible
github.com/openshift/cluster-nfd-operator v0.0.0-20240604082319-19bf50784aa7
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1264,8 +1264,8 @@ github.com/onsi/gomega v1.33.1 h1:dsYjIxxSR755MDmKVsaFQTE22ChNBcuuTWgkUDSubOk=
github.com/onsi/gomega v1.33.1/go.mod h1:U4R44UsT+9eLIaYRB2a5qajjtQYn0hauxvRm16AVYg0=
github.com/openshift-kni/cluster-group-upgrades-operator v0.0.0-20240423171335-f07cdbf8af2c h1:wAPCXsnAXOUAJ5DYlVgGUcV9YBSiVlH4o9tbQ9py8ZY=
github.com/openshift-kni/cluster-group-upgrades-operator v0.0.0-20240423171335-f07cdbf8af2c/go.mod h1:hkzqKpmQvh7vgPx8Hw6IExJorKPM0dEeJdOXjIW3gNw=
github.com/openshift-kni/eco-goinfra v0.0.0-20240905174306-55e9ca150501 h1:Sd3vuxN2/6tMalvR3uVD152p41oKToy7eJl1mq4Xz5E=
github.com/openshift-kni/eco-goinfra v0.0.0-20240905174306-55e9ca150501/go.mod h1:HX/xlfTNEq0qdf/wTHVV6munJPrvojndY+Mi1zC7kM4=
github.com/openshift-kni/eco-goinfra v0.0.0-20240910174952-7ae1f9d245ef h1:ZFLkBtKwvPYUVza8Vb+UiX8fXRstFvW/q8MlBu+HjCM=
github.com/openshift-kni/eco-goinfra v0.0.0-20240910174952-7ae1f9d245ef/go.mod h1:HX/xlfTNEq0qdf/wTHVV6munJPrvojndY+Mi1zC7kM4=
github.com/openshift-kni/k8sreporter v1.0.5 h1:1GYBc/BTZyVoXilHef43v9A8BSzw700zAPZ6zsZvo6Y=
github.com/openshift-kni/k8sreporter v1.0.5/go.mod h1:fg8HI9yxiKAi6UzR6NTtrmQmA2WKzUqmkRUHwQ1+Bj8=
github.com/openshift-kni/lifecycle-agent v0.0.0-20240606123201-0c45cd13c2f1 h1:y+0Ecc+MSZA/GNS3VOpKq+XK9x8qoNA7TlyHvqbVbpw=
Expand Down
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
Loading