Skip to content
Open
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
15 changes: 13 additions & 2 deletions packet_link_qualification/packet_link_qualification.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import "google/rpc/status.proto";
option go_package =
"github.com/openconfig/gnoi/packet_link_qualification;linkqual";

option (types.gnoi_version) = "1.1.0";
option (types.gnoi_version) = "1.2.0";

service LinkQualification {
// Create will dispatch a create operation for each interface and return.
Expand Down Expand Up @@ -150,6 +150,10 @@ message PacketGeneratorConfiguration {
// Size of packets to inject.
// if unspecified, the default value is 1500 bytes.
uint32 packet_size = 2;

// If true, the Layer 2 MTU of the underlying interface should be set to the
// packet size for the duration of the test.
bool set_mtu = 3;
}

// A packet injector implementation defines that the generator side of the link
Expand All @@ -166,6 +170,11 @@ message PacketInjectorConfiguration {
// if unspecified, the default value is 1500 bytes.
uint32 packet_size = 2;

// If true, the gnoi service must ensure the L2 MTU of the interface is set
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure how?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gnoi service == device.

Checking what is programmed on dataplane/port and programming port on ASIC if needed.

// to a value greater than or equal to packet_size for the duration of the
// test.
bool set_mtu = 3;

// Loopback mode for this qualification.
oneof loopback_mode {
// PMD based loopback encompasses either PHY based port
Expand All @@ -186,7 +195,9 @@ message PmdLoopbackConfiguration {
}

message AsicLoopbackConfiguration {
// This is where any l2/l3/l4 match criteria would be described.
// The gnoi service must ensure the L2 MTU of the interface is set to a
// value greater than or equal to packet_size for the duration of the test.
uint32 packet_size = 1;
}
// GetRequest returns the status for the provided ids.
message GetRequest {
Expand Down
Loading