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

update l2discovery-lib to sync up latest changes #540

Closed
wants to merge 1 commit into from
Closed
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 @@ -19,7 +19,7 @@ require (
github.com/redhat-cne/channel-pubsub v0.0.8
github.com/redhat-cne/graphsolver-lib v0.0.5
github.com/redhat-cne/l2discovery-exports v0.0.4
github.com/redhat-cne/l2discovery-lib v0.0.13
github.com/redhat-cne/l2discovery-lib v0.0.14
github.com/redhat-cne/privileged-daemonset v1.0.34
github.com/redhat-cne/ptp-listener-exports v0.0.7
github.com/redhat-cne/sdk-go v1.22.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,8 @@ github.com/redhat-cne/graphsolver-lib v0.0.5 h1:M/C07yZQFQCA9AStdwvlNrjWYcQuObVG
github.com/redhat-cne/graphsolver-lib v0.0.5/go.mod h1:hOlp1RlLrwb9ZqmX4lcknGobuKFQxIByx+ugTtAwfj4=
github.com/redhat-cne/l2discovery-exports v0.0.4 h1:oYZlk0lXEnLTO8nxnL1G54L+KdQ1WyA5zZFJln9/8uA=
github.com/redhat-cne/l2discovery-exports v0.0.4/go.mod h1:hYvCYXSfngU/j+auFobgvKcwiu5DurO2BnUBoSmg/NA=
github.com/redhat-cne/l2discovery-lib v0.0.13 h1:n/y2kXyEddvC4ptYb7eyz0KvN54aHumKvIOCLiZPPJs=
github.com/redhat-cne/l2discovery-lib v0.0.13/go.mod h1:P1QnQ8F/e9p7injHbWPbPikOCmGpcRksSxXiS1YQUpE=
github.com/redhat-cne/l2discovery-lib v0.0.14 h1:qiOWV25h+Ym/7XtutpoGw8Gmi3oAsyMpumvbnMloV0s=
github.com/redhat-cne/l2discovery-lib v0.0.14/go.mod h1:P1QnQ8F/e9p7injHbWPbPikOCmGpcRksSxXiS1YQUpE=
github.com/redhat-cne/privileged-daemonset v1.0.34 h1:wcffXvaz5PwvAZfq62WiMXi0N+gXFlEFXkK4CcdjshU=
github.com/redhat-cne/privileged-daemonset v1.0.34/go.mod h1:poRO1Giq9rH4JD8/KLxRJobOARGxmPr8xAIwhSrZGRQ=
github.com/redhat-cne/ptp-listener-exports v0.0.7 h1:OndW4kSKym5LK9bbEqJPE/LW/LGMDPw5IzXdmrGMRhI=
Expand Down
4 changes: 2 additions & 2 deletions test/pkg/testconfig/testconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const (
phc2sysSlave = "-a -r -n 24 -m -N 8 -R 16"
SCHED_OTHER = "SCHED_OTHER"
SCHED_FIFO = "SCHED_FIFO"
L2_DISCOVERY_IMAGE = "quay.io/redhat-cne/l2discovery:v12"
L2_DISCOVERY_IMAGE = "quay.io/redhat-cne/l2discovery:multi"
)

type ConfigStatus int64
Expand Down Expand Up @@ -341,7 +341,7 @@ func CreatePtpConfigurations() error {
l2lib.GlobalL2DiscoveryConfig.SetL2Client(client.Client, client.Client.Config)

// Collect L2 info
config, err := l2lib.GlobalL2DiscoveryConfig.GetL2DiscoveryConfig(true, false, L2_DISCOVERY_IMAGE)
config, err := l2lib.GlobalL2DiscoveryConfig.GetL2DiscoveryConfig(true, false, true, L2_DISCOVERY_IMAGE)
if err != nil {
return fmt.Errorf("Getting L2 discovery info failed with err=%s", err)
}
Expand Down
11 changes: 7 additions & 4 deletions vendor/github.com/redhat-cne/l2discovery-lib/l2lib.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ github.com/redhat-cne/graphsolver-lib
# github.com/redhat-cne/l2discovery-exports v0.0.4
## explicit; go 1.22
github.com/redhat-cne/l2discovery-exports
# github.com/redhat-cne/l2discovery-lib v0.0.13
# github.com/redhat-cne/l2discovery-lib v0.0.14
## explicit; go 1.22
github.com/redhat-cne/l2discovery-lib
github.com/redhat-cne/l2discovery-lib/pkg/l2client
Expand Down