Skip to content

Commit

Permalink
Update auto generated go snappi
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jun 26, 2024
1 parent 813faac commit 7b47f95
Show file tree
Hide file tree
Showing 8 changed files with 583 additions and 583 deletions.
852 changes: 426 additions & 426 deletions gosnappi/gosnappi.go

Large diffs are not rendered by default.

128 changes: 64 additions & 64 deletions gosnappi/otg/otg.pb.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Open Traffic Generator API 1.6.1
// Open Traffic Generator API 1.6.2
// Open Traffic Generator API defines a model-driven, vendor-neutral and standard
// interface for emulating layer 2-7 network devices and generating test traffic.
//
Expand Down Expand Up @@ -69772,15 +69772,15 @@ type PatternFlowIpv4Src struct {
// default = ['0.0.0.0']
Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
// Description missing in models
Auto *FlowIpv4Auto `protobuf:"bytes,4,opt,name=auto,proto3" json:"auto,omitempty"`
Increment *PatternFlowIpv4SrcCounter `protobuf:"bytes,5,opt,name=increment,proto3" json:"increment,omitempty"`
// Description missing in models
Increment *PatternFlowIpv4SrcCounter `protobuf:"bytes,6,opt,name=increment,proto3" json:"increment,omitempty"`
// Description missing in models
Decrement *PatternFlowIpv4SrcCounter `protobuf:"bytes,7,opt,name=decrement,proto3" json:"decrement,omitempty"`
Decrement *PatternFlowIpv4SrcCounter `protobuf:"bytes,6,opt,name=decrement,proto3" json:"decrement,omitempty"`
// One or more metric tags can be used to enable tracking portion of or all bits in
// a corresponding header field for metrics per each applicable value. These would appear
// as tagged metrics in corresponding flow metrics.
MetricTags []*PatternFlowIpv4SrcMetricTag `protobuf:"bytes,8,rep,name=metric_tags,json=metricTags,proto3" json:"metric_tags,omitempty"`
MetricTags []*PatternFlowIpv4SrcMetricTag `protobuf:"bytes,7,rep,name=metric_tags,json=metricTags,proto3" json:"metric_tags,omitempty"`
// Description missing in models
Auto *FlowIpv4Auto `protobuf:"bytes,8,opt,name=auto,proto3" json:"auto,omitempty"`
}

func (x *PatternFlowIpv4Src) Reset() {
Expand Down Expand Up @@ -69836,13 +69836,6 @@ func (x *PatternFlowIpv4Src) GetValues() []string {
return nil
}

func (x *PatternFlowIpv4Src) GetAuto() *FlowIpv4Auto {
if x != nil {
return x.Auto
}
return nil
}

func (x *PatternFlowIpv4Src) GetIncrement() *PatternFlowIpv4SrcCounter {
if x != nil {
return x.Increment
Expand All @@ -69864,6 +69857,13 @@ func (x *PatternFlowIpv4Src) GetMetricTags() []*PatternFlowIpv4SrcMetricTag {
return nil
}

func (x *PatternFlowIpv4Src) GetAuto() *FlowIpv4Auto {
if x != nil {
return x.Auto
}
return nil
}

// ipv4 counter pattern
type PatternFlowIpv4DstCounter struct {
state protoimpl.MessageState
Expand Down Expand Up @@ -70024,15 +70024,15 @@ type PatternFlowIpv4Dst struct {
// default = ['0.0.0.0']
Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
// Description missing in models
Auto *FlowIpv4Auto `protobuf:"bytes,4,opt,name=auto,proto3" json:"auto,omitempty"`
// Description missing in models
Increment *PatternFlowIpv4DstCounter `protobuf:"bytes,6,opt,name=increment,proto3" json:"increment,omitempty"`
Increment *PatternFlowIpv4DstCounter `protobuf:"bytes,5,opt,name=increment,proto3" json:"increment,omitempty"`
// Description missing in models
Decrement *PatternFlowIpv4DstCounter `protobuf:"bytes,7,opt,name=decrement,proto3" json:"decrement,omitempty"`
Decrement *PatternFlowIpv4DstCounter `protobuf:"bytes,6,opt,name=decrement,proto3" json:"decrement,omitempty"`
// One or more metric tags can be used to enable tracking portion of or all bits in
// a corresponding header field for metrics per each applicable value. These would appear
// as tagged metrics in corresponding flow metrics.
MetricTags []*PatternFlowIpv4DstMetricTag `protobuf:"bytes,8,rep,name=metric_tags,json=metricTags,proto3" json:"metric_tags,omitempty"`
MetricTags []*PatternFlowIpv4DstMetricTag `protobuf:"bytes,7,rep,name=metric_tags,json=metricTags,proto3" json:"metric_tags,omitempty"`
// Description missing in models
Auto *FlowIpv4Auto `protobuf:"bytes,8,opt,name=auto,proto3" json:"auto,omitempty"`
}

func (x *PatternFlowIpv4Dst) Reset() {
Expand Down Expand Up @@ -70088,13 +70088,6 @@ func (x *PatternFlowIpv4Dst) GetValues() []string {
return nil
}

func (x *PatternFlowIpv4Dst) GetAuto() *FlowIpv4Auto {
if x != nil {
return x.Auto
}
return nil
}

func (x *PatternFlowIpv4Dst) GetIncrement() *PatternFlowIpv4DstCounter {
if x != nil {
return x.Increment
Expand All @@ -70116,6 +70109,13 @@ func (x *PatternFlowIpv4Dst) GetMetricTags() []*PatternFlowIpv4DstMetricTag {
return nil
}

func (x *PatternFlowIpv4Dst) GetAuto() *FlowIpv4Auto {
if x != nil {
return x.Auto
}
return nil
}

// integer counter pattern
type PatternFlowIpv4OptionsCustomTypeCopiedFlagCounter struct {
state protoimpl.MessageState
Expand Down Expand Up @@ -134175,22 +134175,22 @@ var file_otg_proto_rawDesc = []byte{
0x06, 0x63, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c,
0x75, 0x65, 0x88, 0x01, 0x01, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18,
0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x25, 0x0a,
0x04, 0x61, 0x75, 0x74, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6f, 0x74,
0x67, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x70, 0x76, 0x34, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x04,
0x61, 0x75, 0x74, 0x6f, 0x12, 0x3c, 0x0a, 0x09, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e,
0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x74, 0x67, 0x2e, 0x50, 0x61,
0x74, 0x74, 0x65, 0x72, 0x6e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x70, 0x76, 0x34, 0x53, 0x72, 0x63,
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x09, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65,
0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x09, 0x64, 0x65, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18,
0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x74, 0x67, 0x2e, 0x50, 0x61, 0x74, 0x74,
0x65, 0x72, 0x6e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x70, 0x76, 0x34, 0x53, 0x72, 0x63, 0x43, 0x6f,
0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x09, 0x64, 0x65, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74,
0x12, 0x41, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18,
0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6f, 0x74, 0x67, 0x2e, 0x50, 0x61, 0x74, 0x74,
0x65, 0x72, 0x6e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x70, 0x76, 0x34, 0x53, 0x72, 0x63, 0x4d, 0x65,
0x74, 0x72, 0x69, 0x63, 0x54, 0x61, 0x67, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54,
0x61, 0x67, 0x73, 0x1a, 0x60, 0x0a, 0x06, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x22, 0x56, 0x0a,
0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x3c, 0x0a,
0x09, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x1e, 0x2e, 0x6f, 0x74, 0x67, 0x2e, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x46, 0x6c,
0x6f, 0x77, 0x49, 0x70, 0x76, 0x34, 0x53, 0x72, 0x63, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72,
0x52, 0x09, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x09, 0x64,
0x65, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e,
0x2e, 0x6f, 0x74, 0x67, 0x2e, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x46, 0x6c, 0x6f, 0x77,
0x49, 0x70, 0x76, 0x34, 0x53, 0x72, 0x63, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x09,
0x64, 0x65, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x0b, 0x6d, 0x65, 0x74,
0x72, 0x69, 0x63, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20,
0x2e, 0x6f, 0x74, 0x67, 0x2e, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x46, 0x6c, 0x6f, 0x77,
0x49, 0x70, 0x76, 0x34, 0x53, 0x72, 0x63, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x61, 0x67,
0x52, 0x0a, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x61, 0x67, 0x73, 0x12, 0x25, 0x0a, 0x04,
0x61, 0x75, 0x74, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6f, 0x74, 0x67,
0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x70, 0x76, 0x34, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x04, 0x61,
0x75, 0x74, 0x6f, 0x1a, 0x60, 0x0a, 0x06, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x22, 0x56, 0x0a,
0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x0a, 0x0b, 0x75, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x69,
0x66, 0x69, 0x65, 0x64, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x10,
0x02, 0x12, 0x0a, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x10, 0x03, 0x12, 0x08, 0x0a,
Expand Down Expand Up @@ -134224,21 +134224,21 @@ var file_otg_proto_rawDesc = []byte{
0x19, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01,
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x88, 0x01, 0x01, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x73, 0x12, 0x25, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x11, 0x2e, 0x6f, 0x74, 0x67, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x70, 0x76, 0x34, 0x41,
0x75, 0x74, 0x6f, 0x52, 0x04, 0x61, 0x75, 0x74, 0x6f, 0x12, 0x3c, 0x0a, 0x09, 0x69, 0x6e, 0x63,
0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f,
0x74, 0x67, 0x2e, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x70,
0x76, 0x34, 0x44, 0x73, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x09, 0x69, 0x6e,
0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x09, 0x64, 0x65, 0x63, 0x72, 0x65,
0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x74, 0x67,
0x2e, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x70, 0x76, 0x34,
0x44, 0x73, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x09, 0x64, 0x65, 0x63, 0x72,
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f,
0x74, 0x61, 0x67, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6f, 0x74, 0x67,
0x2e, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x70, 0x76, 0x34,
0x44, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x61, 0x67, 0x52, 0x0a, 0x6d, 0x65,
0x74, 0x72, 0x69, 0x63, 0x54, 0x61, 0x67, 0x73, 0x1a, 0x60, 0x0a, 0x06, 0x43, 0x68, 0x6f, 0x69,
0x65, 0x73, 0x12, 0x3c, 0x0a, 0x09, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18,
0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x74, 0x67, 0x2e, 0x50, 0x61, 0x74, 0x74,
0x65, 0x72, 0x6e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x70, 0x76, 0x34, 0x44, 0x73, 0x74, 0x43, 0x6f,
0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x09, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74,
0x12, 0x3c, 0x0a, 0x09, 0x64, 0x65, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x74, 0x67, 0x2e, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72,
0x6e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x70, 0x76, 0x34, 0x44, 0x73, 0x74, 0x43, 0x6f, 0x75, 0x6e,
0x74, 0x65, 0x72, 0x52, 0x09, 0x64, 0x65, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x41,
0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6f, 0x74, 0x67, 0x2e, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72,
0x6e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x70, 0x76, 0x34, 0x44, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72,
0x69, 0x63, 0x54, 0x61, 0x67, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x61, 0x67,
0x73, 0x12, 0x25, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x11, 0x2e, 0x6f, 0x74, 0x67, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x70, 0x76, 0x34, 0x41, 0x75,
0x74, 0x6f, 0x52, 0x04, 0x61, 0x75, 0x74, 0x6f, 0x1a, 0x60, 0x0a, 0x06, 0x43, 0x68, 0x6f, 0x69,
0x63, 0x65, 0x22, 0x56, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x0a, 0x0b, 0x75, 0x6e,
0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x76,
0x61, 0x6c, 0x75, 0x65, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
Expand Down Expand Up @@ -145120,15 +145120,15 @@ var file_otg_proto_depIdxs = []int32{
241, // 1141: otg.PatternFlowIpv4HeaderChecksum.choice:type_name -> otg.PatternFlowIpv4HeaderChecksum.Choice.Enum
242, // 1142: otg.PatternFlowIpv4HeaderChecksum.generated:type_name -> otg.PatternFlowIpv4HeaderChecksum.Generated.Enum
243, // 1143: otg.PatternFlowIpv4Src.choice:type_name -> otg.PatternFlowIpv4Src.Choice.Enum
668, // 1144: otg.PatternFlowIpv4Src.auto:type_name -> otg.FlowIpv4Auto
978, // 1145: otg.PatternFlowIpv4Src.increment:type_name -> otg.PatternFlowIpv4SrcCounter
978, // 1146: otg.PatternFlowIpv4Src.decrement:type_name -> otg.PatternFlowIpv4SrcCounter
979, // 1147: otg.PatternFlowIpv4Src.metric_tags:type_name -> otg.PatternFlowIpv4SrcMetricTag
978, // 1144: otg.PatternFlowIpv4Src.increment:type_name -> otg.PatternFlowIpv4SrcCounter
978, // 1145: otg.PatternFlowIpv4Src.decrement:type_name -> otg.PatternFlowIpv4SrcCounter
979, // 1146: otg.PatternFlowIpv4Src.metric_tags:type_name -> otg.PatternFlowIpv4SrcMetricTag
668, // 1147: otg.PatternFlowIpv4Src.auto:type_name -> otg.FlowIpv4Auto
244, // 1148: otg.PatternFlowIpv4Dst.choice:type_name -> otg.PatternFlowIpv4Dst.Choice.Enum
668, // 1149: otg.PatternFlowIpv4Dst.auto:type_name -> otg.FlowIpv4Auto
981, // 1150: otg.PatternFlowIpv4Dst.increment:type_name -> otg.PatternFlowIpv4DstCounter
981, // 1151: otg.PatternFlowIpv4Dst.decrement:type_name -> otg.PatternFlowIpv4DstCounter
982, // 1152: otg.PatternFlowIpv4Dst.metric_tags:type_name -> otg.PatternFlowIpv4DstMetricTag
981, // 1149: otg.PatternFlowIpv4Dst.increment:type_name -> otg.PatternFlowIpv4DstCounter
981, // 1150: otg.PatternFlowIpv4Dst.decrement:type_name -> otg.PatternFlowIpv4DstCounter
982, // 1151: otg.PatternFlowIpv4Dst.metric_tags:type_name -> otg.PatternFlowIpv4DstMetricTag
668, // 1152: otg.PatternFlowIpv4Dst.auto:type_name -> otg.FlowIpv4Auto
245, // 1153: otg.PatternFlowIpv4OptionsCustomTypeCopiedFlag.choice:type_name -> otg.PatternFlowIpv4OptionsCustomTypeCopiedFlag.Choice.Enum
984, // 1154: otg.PatternFlowIpv4OptionsCustomTypeCopiedFlag.increment:type_name -> otg.PatternFlowIpv4OptionsCustomTypeCopiedFlagCounter
984, // 1155: otg.PatternFlowIpv4OptionsCustomTypeCopiedFlag.decrement:type_name -> otg.PatternFlowIpv4OptionsCustomTypeCopiedFlagCounter
Expand Down
26 changes: 13 additions & 13 deletions gosnappi/otg/otg.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Open Traffic Generator API 1.6.1
/* Open Traffic Generator API 1.6.2
* Open Traffic Generator API defines a model-driven, vendor-neutral and standard
* interface for emulating layer 2-7 network devices and generating test traffic.
*
Expand Down Expand Up @@ -15027,18 +15027,18 @@ message PatternFlowIpv4Src {
repeated string values = 3;

// Description missing in models
FlowIpv4Auto auto = 4;
PatternFlowIpv4SrcCounter increment = 5;

// Description missing in models
PatternFlowIpv4SrcCounter increment = 6;

// Description missing in models
PatternFlowIpv4SrcCounter decrement = 7;
PatternFlowIpv4SrcCounter decrement = 6;

// One or more metric tags can be used to enable tracking portion of or all bits in
// a corresponding header field for metrics per each applicable value. These would appear
// as tagged metrics in corresponding flow metrics.
repeated PatternFlowIpv4SrcMetricTag metric_tags = 8;
repeated PatternFlowIpv4SrcMetricTag metric_tags = 7;

// Description missing in models
FlowIpv4Auto auto = 8;
}

// ipv4 counter pattern
Expand Down Expand Up @@ -15103,18 +15103,18 @@ message PatternFlowIpv4Dst {
repeated string values = 3;

// Description missing in models
FlowIpv4Auto auto = 4;
PatternFlowIpv4DstCounter increment = 5;

// Description missing in models
PatternFlowIpv4DstCounter increment = 6;

// Description missing in models
PatternFlowIpv4DstCounter decrement = 7;
PatternFlowIpv4DstCounter decrement = 6;

// One or more metric tags can be used to enable tracking portion of or all bits in
// a corresponding header field for metrics per each applicable value. These would appear
// as tagged metrics in corresponding flow metrics.
repeated PatternFlowIpv4DstMetricTag metric_tags = 8;
repeated PatternFlowIpv4DstMetricTag metric_tags = 7;

// Description missing in models
FlowIpv4Auto auto = 8;
}

// integer counter pattern
Expand Down
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
--prefer-binary
protobuf~=4.24.4 ; python_version > '3.6'
protobuf~=3.15.0 ; python_version <= '3.6'
requests
grpcio-tools~=1.59.0 ; python_version > '3.6'
grpcio~=1.35.0 ; python_version <= '3.6'
grpcio~=1.59.0 ; python_version > '3.6'
grpcio-tools~=1.59.0 ; python_version > '3.6'
grpcio-tools~=1.35.0 ; python_version <= '3.6'
grpcio~=1.35.0 ; python_version <= '3.6'
requests
protobuf~=3.15.0 ; python_version <= '3.6'
protobuf~=4.24.4 ; python_version > '3.6'
PyYAML
semantic_version
urllib3
semantic_version
2 changes: 1 addition & 1 deletion snappi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,10 +420,10 @@
from .snappi import PatternFlowIpv4ProtocolMetricTagIter
from .snappi import PatternFlowIpv4HeaderChecksum
from .snappi import PatternFlowIpv4Src
from .snappi import FlowIpv4Auto
from .snappi import PatternFlowIpv4SrcCounter
from .snappi import PatternFlowIpv4SrcMetricTag
from .snappi import PatternFlowIpv4SrcMetricTagIter
from .snappi import FlowIpv4Auto
from .snappi import PatternFlowIpv4Dst
from .snappi import PatternFlowIpv4DstCounter
from .snappi import PatternFlowIpv4DstMetricTag
Expand Down
22 changes: 11 additions & 11 deletions snappi/docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ info:
\ issue](https://github.com/open-traffic-generator/models/issues) in the models\
\ repository\n- [fork the models repository](https://github.com/open-traffic-generator/models)\
\ and submit a PR"
version: 1.6.1
version: 1.6.2
contact:
url: https://github.com/open-traffic-generator/models
license:
Expand Down Expand Up @@ -20476,21 +20476,21 @@ components:
x-field-uid: 3
default:
- 0.0.0.0
auto:
$ref: '#/components/schemas/Flow.Ipv4.Auto'
x-field-uid: 4
increment:
$ref: '#/components/schemas/Pattern.Flow.Ipv4.Src.Counter'
x-field-uid: 6
x-field-uid: 5
decrement:
$ref: '#/components/schemas/Pattern.Flow.Ipv4.Src.Counter'
x-field-uid: 7
x-field-uid: 6
metric_tags:
description: |-
One or more metric tags can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.
type: array
items:
$ref: '#/components/schemas/Pattern.Flow.Ipv4.Src.MetricTag'
x-field-uid: 7
auto:
$ref: '#/components/schemas/Flow.Ipv4.Auto'
x-field-uid: 8
Pattern.Flow.Ipv4.Dst.Counter:
description: |-
Expand Down Expand Up @@ -20581,21 +20581,21 @@ components:
x-field-uid: 3
default:
- 0.0.0.0
auto:
$ref: '#/components/schemas/Flow.Ipv4.Auto'
x-field-uid: 4
increment:
$ref: '#/components/schemas/Pattern.Flow.Ipv4.Dst.Counter'
x-field-uid: 6
x-field-uid: 5
decrement:
$ref: '#/components/schemas/Pattern.Flow.Ipv4.Dst.Counter'
x-field-uid: 7
x-field-uid: 6
metric_tags:
description: |-
One or more metric tags can be used to enable tracking portion of or all bits in a corresponding header field for metrics per each applicable value. These would appear as tagged metrics in corresponding flow metrics.
type: array
items:
$ref: '#/components/schemas/Pattern.Flow.Ipv4.Dst.MetricTag'
x-field-uid: 7
auto:
$ref: '#/components/schemas/Flow.Ipv4.Auto'
x-field-uid: 8
Pattern.Flow.Ipv4Options.Custom.Type.CopiedFlag.Counter:
description: |-
Expand Down
2 changes: 1 addition & 1 deletion snappi/otg_pb2.py

Large diffs are not rendered by default.

Loading

0 comments on commit 7b47f95

Please sign in to comment.