Open indraniBh opened 3 months ago
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()
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: