Skip to content

Conversation

@indraniBh
Copy link
Contributor

@indraniBh indraniBh commented May 22, 2024

Fixes #379

Redocly View
ReDoc Interactive Demo (redocly.github.io)

New Inclusions:
flows/packet/ethernet/fcs

Objective:
Support FCS in ethernet header to generate good as well as bad packet using raw traffic.

Code Snippet:

cfg := gosnappi.NewConfig()

// skipping other config snippets

flow := cfg.Flows().Add()
flow.SetName("f1").TxRx().Port().SetTxName("p1").SetRxName("p2")
pkt:= flow.Packet()
// setting valid fcs, by default fcs is set good. 
pkt.Add().Ethernet().Fcs().Generated().Good()
// setting invalid fcs
pkt.Add().Ethernet().Fcs().Generated().Bad()

Feature Support Info:

ixia-hw ixia-c UHD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Support for setting invalid FCS on packets

5 participants