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))
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-12 UTC."],[[["\u003cp\u003eThe latest version available for the Network Management v1 API class Trace is 2.13.0, with multiple other versions available ranging from 2.12.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrace\u003c/code\u003e class represents a simulated packet forwarding path within the Network Management v1 API and is comprised of multiple ordered steps.\u003c/p\u003e\n"],["\u003cp\u003eEach step in a \u003ccode\u003eTrace\u003c/code\u003e has a specific state, categorized as either final or non-final, with the trace always ending in a final state that has a corresponding reason.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrace\u003c/code\u003e class offers properties such as \u003ccode\u003eEndpointInfo\u003c/code\u003e which is based on user-defined source and destination endpoints, and \u003ccode\u003eSteps\u003c/code\u003e, which contains an ordered list of processing sequence.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrace\u003c/code\u003e class implements interfaces like IMessage, IEquatable, IDeepCloneable, and IBufferMessage, and inherits from Object.\u003c/p\u003e\n"]]],[],null,[]]