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

[Thinkit] Test port breakout in sFlow mirror testfixure.Fix control switch port ids for mirror tests. #912

Merged
merged 1 commit into from
Jan 7, 2025
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
3 changes: 3 additions & 0 deletions tests/qos/qos_test_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ GetSchedulerPolicyWeightsByQueue(absl::string_view scheduler_policy_name,
absl::StatusOr<std::vector<std::string>>
GetStrictlyPrioritizedQueuesInDescendingOrderOfPriority(
absl::string_view scheduler_policy_name, gnmi::gNMI::StubInterface &gnmi);
// Get queues for an egress port.
absl::StatusOr<std::vector<std::string>> GetQueuesByEgressPort(
absl::string_view egress_port, gnmi::gNMI::StubInterface &gnmi);

} // namespace pins_test

Expand Down
10 changes: 10 additions & 0 deletions tests/sflow/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ cc_library(
srcs = ["sflow_test.cc"],
hdrs = ["sflow_test.h"],
deps = [
":sflow_breakout_test",
":sflow_util",
"//gutil:collections",
"//gutil:status_matchers",
Expand All @@ -31,12 +32,15 @@ cc_library(
"//lib/gnmi:gnmi_helper",
"//lib/utils:json_utils",
"//lib/validator:validator_lib",
"//p4_pdpi:ir",
"//p4_pdpi:ir_cc_proto",
"//p4_pdpi:p4_runtime_session",
"//p4_pdpi:p4_runtime_session_extras",
"//p4_pdpi:pd",
"//p4_pdpi/netaddr:ipv4_address",
"//p4_pdpi/netaddr:mac_address",
"//p4_pdpi/packetlib",
"//p4_pdpi/packetlib:packetlib_cc_proto",
"//sai_p4/instantiations/google:sai_pd_cc_proto",
"//tests:thinkit_sanity_tests",
"//tests/forwarding:group_programming_util",
Expand All @@ -51,14 +55,20 @@ cc_library(
"//thinkit:mirror_testbed",
"//thinkit:mirror_testbed_fixture",
"//thinkit:ssh_client",
"//thinkit:switch",
"//thinkit:test_environment",
"//thinkit/proto:generic_testbed_cc_proto",
"@com_github_gnmi//proto/gnmi:gnmi_cc_grpc_proto",
"@com_github_google_glog//:glog",
"@com_github_p4lang_p4runtime//:p4info_cc_proto",
"@com_github_p4lang_p4runtime//:p4runtime_cc_proto",
"@com_google_absl//absl/cleanup",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/container:flat_hash_set",
"@com_google_absl//absl/status",
"@com_google_absl//absl/status:statusor",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/strings:str_format",
"@com_google_absl//absl/synchronization",
"@com_google_absl//absl/time",
"@com_google_absl//absl/types:span",
Expand Down
Loading
Loading