Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: IPFIX biflow rework #386

Merged
merged 15 commits into from
Feb 16, 2024
3 changes: 2 additions & 1 deletion test/e2e/framework/sessionconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ func newVendorSpecificU8IE(itype uint16, eid uint16, val uint8) *ie.IE {
}

func (cfg SessionConfig) ipfixTemplateIEs() []*ie.IE {
// IEs should be created for uplink FARs only
if cfg.IPFIXTemplate == "" {
return nil
}
Expand Down Expand Up @@ -184,7 +185,7 @@ func (cfg SessionConfig) reverseFAR(farID uint32, flag uint8) *ie.IE {
ie.NewFARID(farID),
ie.NewApplyAction(flag),
ie.NewForwardingParameters(fwParams...),
}, cfg.ipfixTemplateIEs()...)
})
return ie.NewCreateFAR(ies...)
}

Expand Down
Loading
Loading