Network Management v1 API - Class Trace (2.12.0)

public sealed class Trace : IMessage<Trace>, IEquatable<Trace>, IDeepCloneable<Trace>, IBufferMessage, IMessage

Reference documentation and code samples for the Network Management v1 API class Trace.

Trace represents one simulated packet forwarding path.

  • Each trace contains multiple ordered steps.
  • Each step is in a particular state with associated configuration.
  • State is categorized as final or non-final states.
  • Each final state has a reason associated.
  • Each trace must end with a final state (the last step). |---------------------Trace----------------------| Step1(State) Step2(State) --- StepN(State(final))

Inheritance

object > Trace

Namespace

Google.Cloud.NetworkManagement.V1

Assembly

Google.Cloud.NetworkManagement.V1.dll

Constructors

Trace()

public Trace()

Trace(Trace)

public Trace(Trace other)
Parameter
Name Description
other Trace

Properties

EndpointInfo

public EndpointInfo EndpointInfo { get; set; }

Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model. If there are multiple traces starting from different source locations, then the endpoint_info may be different between traces.

Property Value
Type Description
EndpointInfo

ForwardTraceId

public int ForwardTraceId { get; set; }

ID of trace. For forward traces, this ID is unique for each trace. For return traces, it matches ID of associated forward trace. A single forward trace can be associated with none, one or more than one return trace.

Property Value
Type Description
int

Steps

public RepeatedField<Step> Steps { get; }

A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).

The steps are ordered by the processing sequence within the simulated network state machine. It is critical to preserve the order of the steps and avoid reordering or sorting them.

Property Value
Type Description
RepeatedFieldStep