github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/monitoring/traceflow.go (about)

     1  /* Copyright © 2017 VMware, Inc. All Rights Reserved.
     2     SPDX-License-Identifier: BSD-2-Clause
     3  
     4     Generated by: https://github.com/swagger-api/swagger-codegen.git */
     5  
     6  package monitoring
     7  
     8  import (
     9  	"github.com/vmware/go-vmware-nsxt/common"
    10  )
    11  
    12  type Traceflow struct {
    13  
    14  	// The server will populate this field when returing the resource. Ignored on PUT and POST.
    15  	Links []common.ResourceLink `json:"_links,omitempty"`
    16  
    17  	Schema string `json:"_schema,omitempty"`
    18  
    19  	Self *common.SelfResourceLink `json:"_self,omitempty"`
    20  
    21  	// Traceflow result analysis notes
    22  	Analysis []string `json:"analysis,omitempty"`
    23  
    24  	// observation counters
    25  	Counters *TraceflowObservationCounters `json:"counters,omitempty"`
    26  
    27  	// The id of the traceflow round
    28  	Id string `json:"id,omitempty"`
    29  
    30  	// counters of observations from logical components
    31  	LogicalCounters *TraceflowObservationCounters `json:"logical_counters,omitempty"`
    32  
    33  	// id of the source logical port used for injecting the traceflow packet
    34  	LportId string `json:"lport_id,omitempty"`
    35  
    36  	// Represents the traceflow operation state
    37  	OperationState string `json:"operation_state,omitempty"`
    38  
    39  	// A flag, when set true, indicates some observations were deleted from the result set.
    40  	ResultOverflowed bool `json:"result_overflowed,omitempty"`
    41  
    42  	// Maximum time (in ms) the management plane will be waiting for this traceflow round.
    43  	Timeout int64 `json:"timeout,omitempty"`
    44  }